How to Get Current Balance ON POS Invoice Please Help me on this Code

Discussion in 'Free Source Codes' started by Muddasar Shaikh, Nov 19, 2013.

    

  1. 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
     



  2. 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.
     


  3. mpal2311

    mpal2311 Active Member


    You have not posted the rectified codes.
     



  4. [*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
     


Share This Page