示例#1
0
 private void LoadGRVDetails()
 {
     GRV.LoadByPrimaryKey(ReceiptID);
     _GRVDetail = GRV.GetGRVDetailsforCosting();
     if (!GRV.IsColumnNull("Insurance"))
     {
         _Insurance = GRV.Insurance;
     }
     //Other Expenses
     if (!GRV.IsColumnNull("Provision"))
     {
         _OtherExpense = GRV.Provision;
     }
     _SubTotal   = GetSubTotal();
     _GrandTotal = _SubTotal + _Insurance + _OtherExpense;
 }
示例#2
0
 private void LoadGRVDetails()
 {
     GRV.LoadByPrimaryKey(ReceiptID);
     _GRVDetail = GRV.GetGRVDetailsforCosting();
     _SubTotal  = GetSubTotalWithoutDamaged();
 }