I am Trying to get the Ledger Current Balance in POS Invoice But I am Not Able to get the Value [*Part: VCH POS PartyName] Add : Line : After : VCH POS Godown : VCH POS PartyContact, CurrentBalance [Part: CurrentBalance] Line:CurrentBalance [Line:CurrentBalance] Field: CurrentBalance [Field:CurrentBalance] Visible : NOT ##CurBalanceFlag OR $IsVCHRejInOut OR $UseForPOSInvoice:VoucherType:$VoucherTypeName OR $$IsEmpty:#AmountField Field : Simple Prompt, Amount Field Local : Field : Simple Prompt : Info : $$LocaleString:"Current Balance :" Local : Field : Amount Field : Set as : If ##UseCurrentBalance Then $$ToValue:$Date:$VchClosingBalance Else $VchClosingBalance Local : Field : Amount Field : Format : "Symbol,DrCr" Please help
I had made some Changes in the Above Code and It worked and I am Able to get it on alteration mode but still I am not able to set it on Creation Mode Please Help.
[*Part: VCH POS PartyName] Add : Line : After : VCH POS Godown : VCH POS PartyContact, CurrentBalance [Part: CurrentBalance] Line:CurrentBalance [Line:CurrentBalance] Field: CurrentBalance [Field:CurrentBalance] Visible : NOT ##CurBalanceFlag OR $IsVCHRejInOut OR $UseForPOSInvoice:VoucherType:$VoucherTypeName OR $$IsEmpty:#AmountField Field : Simple Prompt, Amount Field Local : Field : Simple Prompt : Info : $$LocaleString:"Current Balance :" Local : Field : Amount Field : Set as : If ##UseCurrentBalance Then $$ToValue:$Date:$VchClosingBalance Else $VchClosingBalance Local : Field : Amount Field : Format : "Symbol,DrCr" [#Field : Amount Field] Set as : If ##UseCurrentBalance Then $$ToValue:$Date:$VchClosingBalance Else $VchClosingBalance Skip: No