Help with a piece of code while making Sales Entry, want to display closing balance of a Particular Bill. Tried as under; [#Line : EI Consignee] Add : Option : SplSalesBill @IsSales [!Line : SplSalesBill] Fields: TField, TAmount [Field: TField] Use : Name Field Set as : "SplSalesBill" Skip : Yes [FIELD : TAmount] Use : Amount Field Set As : $(Ledger,@@BillCondition).BillAllocations.ClosingBalance BillCondition : $LedgerName = $PartyLedgerName AND BillName = "SplSalesBill"