Batch Value not fetching in Sale voucher

Discussion in 'Tally Developer' started by Hasan@123, May 12, 2020.

    
  1. Hasan@123

    Hasan@123 Member


    Dear developers,
    i want to add a batch column in sales voucher... but batch value is not fetching. please check code...

    [#Line: EI ColumnOne]

    Option : sms EI ColumnOne : @@IsSales

    [!Line : sms EI ColumnOne]

    Add : Right Fields : Before : VCH QtyTitle : sms col1
    Local : Field : sms col1 : Info : "Batch"


    [#Line : EI InvInfo]

    Option : sms EI InvInfo : @@IsSales

    [!Line : sms EI InvInfo]

    Add : Right Fields : After : VCH ActualQty : sms col1

    [Field : sms col1]

    Use : Number Field
    Type : Number : Forced
    Storage : smscol1
    Set Always : Yes
    Width : 10
    Align : Center
    Format : "NoZero"



    [System : UDF]

    sms col1 : Number : 701


    [#Line: EXPINV Column1]

    Option : sms EXPINV Column1 : @@IsSales

    [!Line : sms EXPINV Column1]

    Add : Left Fields : After : EXPINV DescTitle : sms col1

    Local : Field : sms col1 : Info : "Column1"

    Local : Field : sms col1 : Delete: Storage

    Local : Field : sms col1 : Type : String


    [#Line: EXPINV InvDetails]

    Option : sms EXPINV InvDetails : @@IsSales

    [!Line : sms EXPINV InvDetails]

    Add : Left Fields : After : EXPINV Desc : sms col1Print

    [Field : sms col1Print]

    Use : Number Field
    Type : Number : Forced
    Set as : $smscol1
    Set Always : Yes
    Width : 10
    Align : Center
    Format : "NoZero"
    Border:left,right
     

    Attached Files:



  2. Vijay Shetye

    Vijay Shetye Member



    is this the complete code or are you missing some code
     


Share This Page