want to add Size field before Quantity in after Godown in sales invoice

Discussion in 'Requests' started by Pawan4u, Mar 23, 2019.

    
  1. Pawan4u

    Pawan4u New Member


    ;;[#Part: VCHBATCH Allocation]
    ;; Add:Line:after:STKVCH Batch:pawanline

    [#Line:STKVCH Batch]
    ;;[Line: pawanline]
    Add: Field: pawantin ;;, pawangstin
    Invisible: Not (@@IsPurchase Or @@IsSales)

    [Field: pawantin]
    Fields : Simple Prompt ;;, Name Field
    Local : Field : Simple Prompt: Set as : "Party Tin no.:"
    ;Local : Field : name Field : Set as : $VATTINNumber:Ledger:$LedgerName
    ; Local : Field : Default : Skip : Yes
    ; Width : @@VCHNameWidth

    it is giving error : -

    Error in TDL
    Line : STKVCH Batch

    Both FIELDS AND LINES

    WHAT IS LINE NAME AFTER

    [#Part: VCHBATCH Allocation]

    .... HOW TO GET LINE NAME FROM TALLY DEVELOPER MODE ...

    AND ALSO CHECK ERROR LISTED ABOVE ...
     

    Attached Files:

    Last edited: Mar 23, 2019


  2. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Dear Pawan...glad that you are learning.....and doing it........

    As a learner...learn the following:
    Always visit the code that you are trying to alter. In this case view Line:STKVCH Batch in TDE and you will see that it is further having LINES and not Fields. So therefore you also need to go further and find the appropriate LINE and then add your FIELDS. (depending on where you want to add your field)
     


Share This Page