コード例 #1
0
 /// <summary>
 /// Parent Constructor
 /// </summary>
 /// <param name="run">parent</param>
 /// <param name="C_CommissionLine_ID">line</param>
 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);
 }
コード例 #2
0
        /// <summary>
        /// Update Amt Header
        /// </summary>
        private void UpdateRunHeader()
        {
            MCommissionRun run = new MCommissionRun(GetCtx(), GetC_CommissionRun_ID(), Get_TrxName());

            run.UpdateFromAmt();
            run.Save();
        }