Пример #1
0
 /**
  * Parent Constructor
  *
  * @param run parent
  * @param C_CommissionLine_ID line
  */
 public MCommissionAmt(MCommissionRun run, int C_CommissionLine_ID) {
   this(run.getCtx(), 0, run.get_TrxName());
   setClientOrg(run);
   setC_CommissionRun_ID(run.getC_CommissionRun_ID());
   setC_CommissionLine_ID(C_CommissionLine_ID);
 } //	MCommissionAmt
Пример #2
0
 /** Update Amt Header */
 private void updateRunHeader() {
   MCommissionRun run = new MCommissionRun(getCtx(), getC_CommissionRun_ID(), get_TrxName());
   run.updateFromAmt();
   run.save();
 } //	updateRunHeader