IDEMPIERE-775 Documents without C_DocType_ID cannot be distributed directly

This commit is contained in:
Carlos Ruiz 2014-01-08 14:19:27 -05:00
parent e31bf2c561
commit 6ce125d160
1 changed files with 1 additions and 0 deletions

View File

@ -266,6 +266,7 @@ public abstract class Doc
log.severe(msg);
throw new IllegalArgumentException(msg);
}
p_po.load(p_po.get_TrxName()); // reload the PO to get any virtual column that was not obtained using the rs (IDEMPIERE-775)
// DocStatus
int index = p_po.get_ColumnIndex("DocStatus");