To display MFG and Expirty Date of Batch in Stock Summary

Discussion in 'Tally Developer' started by Nirav Merchant, Mar 6, 2013.

    
  1. Nirav Merchant

    Nirav Merchant Active Member


    ;;A sample code to Display Batch MFG and Expiry date in Stock Summary

    [Variable : DSPShowMfd]
    Type : Logical
    PErsistent : YEs

    [System : Variable]
    DSPShowMFD : Yes





    [#Part : SSCFG Common]
    Add : Lines : AtEnd : SSMfd


    [Line: SSMfd]

    Field: Medium Prompt, SSMfd
    Local: Field: Medium Prompt : Info : "Show MFg.Date / Exp .Dt ?"

    [Field: SSMfd]

    Use : Logical Field
    Modifies : DSPShowMfd





    [#Form : Stock Summary]

    Local : Line : DSP AccLine : Add : Field : JLmfgdt,JLexpdt


    [Field : JLmfgdt]
    ;; type : string
    Width : 25
    Lines : 0
    Set As:$mfdon
    Style : small
    Inactive : Not #DSPShowMfd

    [Field : JLexpdt]
    type : string
    Width : 25
    Lines : 0
    Set As : $$string:$expiryperiod
    Style : Small
    Inactive : Not #DSPShowMfd
     


  2. NMS

    NMS Member


    Dear sir,
    I want to add Title for this expiry and Mfg .
    please help me ..
     
    zakirhossain_diu likes this.




Share This Page