BF [ 2153087 ] If i change the date for a SO the MRP date is not changed
This commit is contained in:
parent
3f8b67b807
commit
2ef0681203
|
@ -46,6 +46,9 @@ import org.eevolution.model.MPPProductBOMLine;
|
|||
*
|
||||
* @author Jorg Janke
|
||||
* @version $Id: MOrder.java,v 1.5 2006/10/06 00:42:24 jjanke Exp $
|
||||
*
|
||||
* @author Teo Sarca, www.arhipac.ro
|
||||
* <li>BF [ 2153087 ] If i change the date for a SO the MRP date is not changed
|
||||
*/
|
||||
public class MOrder extends X_C_Order implements DocAction
|
||||
{
|
||||
|
@ -850,6 +853,12 @@ public class MOrder extends X_C_Order implements DocAction
|
|||
return false;
|
||||
}
|
||||
|
||||
// If Sales Order, set Date Promised (which is not visible) as Date Ordered - BF [ 2153087 ]
|
||||
if (isSOTrx())
|
||||
{
|
||||
setDatePromised(getDateOrdered());
|
||||
}
|
||||
|
||||
// New Record Doc Type - make sure DocType set to 0
|
||||
if (newRecord && getC_DocType_ID() == 0)
|
||||
setC_DocType_ID (0);
|
||||
|
|
Loading…
Reference in New Issue