IDEMPIERE-5579 - Missing Period Control When Reactivating Orders (#1679)
This commit is contained in:
parent
883edf8436
commit
34163826f0
|
@ -2762,6 +2762,9 @@ public class MOrder extends X_C_Order implements DocAction
|
||||||
if (m_processMsg != null)
|
if (m_processMsg != null)
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
// Test period
|
||||||
|
MPeriod.testPeriodOpen(getCtx(), getDateAcct(), getC_DocType_ID(), getAD_Org_ID());
|
||||||
|
|
||||||
MDocType dt = MDocType.get(getCtx(), getC_DocType_ID());
|
MDocType dt = MDocType.get(getCtx(), getC_DocType_ID());
|
||||||
String DocSubTypeSO = dt.getDocSubTypeSO();
|
String DocSubTypeSO = dt.getDocSubTypeSO();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue