IDEMPIERE-5579 - Missing Period Control When Reactivating Orders (#1679)

This commit is contained in:
Peter Takács 2023-02-16 14:30:53 +01:00 committed by GitHub
parent 883edf8436
commit 34163826f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -2762,6 +2762,9 @@ public class MOrder extends X_C_Order implements DocAction
if (m_processMsg != null)
return false;
// Test period
MPeriod.testPeriodOpen(getCtx(), getDateAcct(), getC_DocType_ID(), getAD_Org_ID());
MDocType dt = MDocType.get(getCtx(), getC_DocType_ID());
String DocSubTypeSO = dt.getDocSubTypeSO();