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; }
private void LoadGRVDetails() { GRV.LoadByPrimaryKey(ReceiptID); _GRVDetail = GRV.GetGRVDetailsforCosting(); _SubTotal = GetSubTotalWithoutDamaged(); }