Second Bank Account details in Simple Invoice Format

Discussion in 'Requests' started by dibyendu majumder, Jun 26, 2018.

    

  1. Respected Sirs,
    I have one txt. file for printing 2nd bank account details in columnar invoice format but now i now want to fits the details in sample invoice format, which does not this txt file support , Kindly help me to solve problem
     

    Attached Files:



  2. Sanjeev S

    Sanjeev S Active Member


    Dear Dibyendu ji,

    Normally I follow a simple method as below

    just add this part in your code....
    [Part : Multiple Bank Details]
    Border : Thin Box
    Line : My Bankers
    Repeat : My Bankers : Bankcollection
    Break After : $$Line > 2 ;(2 denote no of banks you need if needed one can use variable also)
    Scroll : Vertical

    ;; Collection of Bank accounts with IFSC Code not empty
    [Collection : BankCollection]
    Type : Ledger
    Fetch : Name,BranchName,Ifscode,bankdetails
    filter : IsBankWithIFSC
    Filter : MyBanks

    [system : formula]
    IsBankwithIFSC : not $$IsEmpty:$IFSCode
    MyBanks : $Parent:Ledger:$Name beginning with "Bank"

    [Line:My Bankers]
    Border : Thin Bottom
    Field : My BankName
    Right Field : MyAcNo,MyIFSC

    Local : Field : Default : Style : Normal Bold

    [Field:MyBankName]
    Type : String
    Width : 50% Page
    Align : Left
    Set as : "Bank & Br. : " + $Name + " - " + $BranchName


    [Field:MyAcNo]
    Type : String
    Width : 25% Page
    Align : Left
    Set as : "A/c No.: " + $BankDetails


    [Field:MyIFSC]
    Type : String
    Width : 25% Page
    Align : Left
    Set as : "IFSC: " + $IFSCode
     



  3. Actually this is not worked in simple invoice format
     


Share This Page