;;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