Invoice customization

Discussion in 'Tally Developer' started by Rajan Ghanshyam, Jun 14, 2016.

    

  1. i have customize invoice but i am stuck at some point pls. help anybody.

    i want to print bank detail from ledger selection (Version above 4.7)

    2. i f possible multiple bank print in invoice.

    3. "Per" column unit not comming.
     



  2. I have created customized invoice but with below code. but i need to print in one line with full width.

    Like :::Bank Name : State Bank of India / Account No : 12232243434343 / IFSC Code : SBI01332

    -------------------Code-------------------------------------
    [Line:bnkttl]
    Field:name field
    Local:Field:name field: Set as:$$LocaleString:"Our Bank Details"
    Local:Field:name field: Style:normal bold italic
    Local:Field:name field: Align:Center
    [Line:bnknm]
    Fields : short Prompt, EXPINV BankName
    Local:Field:short prompt :Set as: $$LocaleString:"Bank name"
    Space Top: 2 mms
    [Line:bnkno]
    Fields : short Prompt, EXPINV BankAccountNo
    Local:Field:short prompt :Set as: $$LocaleString:"A/c No."
    Space Top: 2 mms
    [Line:bnkifsc]
    Fields : short Prompt, EXPINV BankBranchName
    Local:Field:short prompt :Set as: $$LocaleString:"IFS Code"
    Space Top: 2 mms
    [#Field: EXPINV BankBranchName]
    Delete:Width
    [#Field: EXPINV BankAccountNo]
    Width: 30
    [#Field: EXPINV BankIFSCode]
    Width:30
     


  3. Sanjeev S

    Sanjeev S Active Member


    Some time back I had written a small code to print multiple banks wherein Only Banks with IFSC Code will get printed.

    The code is as below;

    [Collection:BankCollection]
    Type : Ledger
    Child Of : BankAccounts
    Fetch : Name, BankBranchName, IFSCode, BankDetails
    filter : IsBankWithIFSC

    [system : formula]
    IsBankwithIFSC : not $$IsEmpty:$IFSCode

    [part : My Bank Details]
    border : Thick Cover
    line : MyBankDetails
    Repeat : MyBankDetails: Bankcollection


    [Line : My Bank Details]
    Field : MyBName, BName
    right field : MyAcNo, MyBAcNo, MyIFSC, BIFSCNo

    [Field:MyBName]
    Type : String
    Width : 25 mms
    Align : Left
    Style : Normal Bold
    Set as : "Bank & Branch: "
    style : My Calibri10

    [Field:BName]
    Type:String
    Width: 100 mms
    Align:Left
    Set as:$Name + ", " + $BankBranchName
    style: My Calibri10


    [Field:MyAcNo]
    Type:String
    Width:15 mms
    Align:Left
    Set as: "A/c No. : "
    style: My Calibri10

    [Field:MyBAcNo]
    Type : String
    Width : 30 mms
    Align : Left
    Set as : $bankdetails
    style : My Calibri10

    [Field:BIFSCNo]
    Type:String
    Width:25 mms
    Align:Left
    Set as:$IFSCode
    style: My Calibri10

    [Field:MyIFSC]
    Type:String
    Width:10 mms
    Align:Left
    Set as:" IFSC: "
    style: My Calibri10

    [style : My Calibri10]
    font : "Calibri"
    height : 10
    Bold : No
     


Share This Page