please correct this code i want add supplier invoice no in ladger dispaly

Discussion in 'Tally Developer' started by SUSHIL SHARMA, Dec 20, 2021.

    
  1. SUSHIL SHARMA

    SUSHIL SHARMA Member


    [#Line : DSPVCHTitles]

    Add : RightField : ATBeginning : AGSLVSupplierInvoiceNoT

    [Field : AGSLVSupplierInvoiceNoT]

    Use : NameField
    Width : 15% screen
    Set as : " Supplier Invoice No"
    Background : yellow

    [#Line : DSPVCHDetail]

    Add : RightField : ATBeginning : AGSLVSupplierInvoiceNo

    [Field : AGSLVSupplierInvoiceNo]

    Use : NameField
    Width : 15% screen
    Set as : $Supplier Invoice No
    Background : yellow

    [#Collection : Voucher of Ledger]

    Add : Fetch : Supplier Invoice No
     


  2. Jayashri

    Jayashri Member


    ;;try this;;

    [#Line: DSP VchAccTitles]
    Add : RightField : ATBeginning : AGSLVSupplierInvoiceNoT

    [Field : AGSLVSupplierInvoiceNoT]

    Use : NameField
    Width : 15% screen
    Set as : " Supplier Invoice No"
    Background : yellow

    [#Line: DSP VchDetail]

    Add : RightField : ATBeginning : AGSLVSupplierInvoiceNo

    [Field : AGSLVSupplierInvoiceNo]

    Use : Name Field
    Width : 15% screen
    Set as : $Reference
    Background : yellow


    [#Collection: Ledger Vouchers Coll]
    Add : Fetch : Reference
     


  3. jgkumar1976

    jgkumar1976 Member



  4. SUSHIL SHARMA

    SUSHIL SHARMA Member



  5. SUSHIL SHARMA

    SUSHIL SHARMA Member


    THANKU SIR BHUT BHUT THANKU
     


  6. Chandan Somani

    Chandan Somani New Member


    Thank you
     


  7. Chandan Somani

    Chandan Somani New Member






    Thank you
     


  8. Santosh

    Santosh Member


    upload_2022-10-19_17-7-46.png

    ;;Try this code

    ;; To display title in Ledger Voucher
    [#Line: DSP VchAccTitles]

    Add: Right Field: After: DSP VchNumberTitle : DSP VchRefTitle123, DSP VchRefDate123

    [Field: DSP VchRefTitle123]
    Use: name field
    Set as: "Supplier Inv No."
    Style: Normal
    Width: 15
    Align: Center


    [Field: DSP VchRefDate123]
    Use: name field
    Set as: "Supplier Inv Dt."
    Style: Normal
    Width: 10
    Align: Center

    ;; to display Supplier Invoice number field value

    [#Line: DSP VchDetail]

    Add: Right Field: After: DSP VchNumber : DSP VchRefNumber, DSP VchRefDate


    [Field: DSP VchRefNumber]
    Use: name field
    Set As:$Reference
    Width : 15
    Align : Center
    color : blue
    Style : Normal bold
    Border : Thin Left right

    [Field: DSP VchRefDate]
    Use: Uni Date Field
    Set As:$$String:$ReferenceDate:ShortDate
    Width : 10
    Align : Right
    color : blue
    Style : Normal bold
    Border : Thin Left right




    [#Collection: Ledger Vouchers Coll]
    Add : Fetch : Reference

    [#Collection: NRM Vouchers of Company]
    Fetch : Reference, ReferenceDate

    [#Collection : Vouchers of Ledger]
    Fetch : Reference, ReferenceDate
     




  9. ****
    In Purchase Register / Sales Register, it showing in reference invoice number and date, but title heading is not displaying, and it jumble Voucher Type and Voucher Number, So plz check and correct the code with showing Title in Purchase and Sales Register also.
     


  10. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    above code is made for Ledger Display and not registers......... so for that you will have to make the necessary corrections as per the Registers format..........
     
    Kamal Kishore Jhawar likes this.



  11. Ok Sir

    Thank you for reply.

    Edit: Adding this one line will show heading in all Registers (Purchase / Sales , Etc)

    [#Line:DBTitle1]
    Add:Right Field:AtBeginning:AGSLVSupplierInvoiceNoT
     
    Last edited: Nov 12, 2022


Share This Page