[#Part : VTYP Behaviour];;VTYP BehaviourMain] Add : Line : At End :Use Default Godown,Default Godown Name [Line :Use Default Godown] Space Bottom : 0.2 Field : Medium Prompt,Use Default Godown Local : Field : Medium Prompt : Set As : If ($$IsSales:$Parent Or $$IsPurchase:$Parent) Then "Use Default Godown" else "" Local : Field : Medium Prompt :Invisible : NOT $$IsMultiGodownOn [Field : Use Default Godown] Use : Logical Field Storage : UseDefaultGodown Inactive : NOT ($$IsSales:$Parent Or $$IsPurchase:$Parent) Invisible : NOT $$IsMultiGodownOn [Line efault Godown Name] Field : Medium Prompt,Default Godown Name Local : Field : Medium Prompt : Set As : "Default Godown Name" Local : Field : Medium Prompt : Inactive : If $UseDefaultGodown= "Yes" then No else Yes [Field : Default Godown Name] Use : Godown Name Field Table : List of Godowns sHOW Table : Always Style : Small Bold Width : @@VCHGodownNameWidth Inactive : If $UseDefaultGodown= "Yes" then No else Yes Keys : Create Godown, Alter Godown Variable : SV Godown Storage : DefaultGodownName [System : UDF] UseDefaultGodown : Logical: 2000 DefaultGodownName : String: 2000 [System : Formula] UseDefaultGodown : $UseDefaultGodown:VoucherType:##SVVoucherType = "Yes" ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [#Field:VCHBatchGodown] Option: VCS_VCH Batch Godown: @@UseDefaultGodown [!Field: VCS_VCH Batch Godown] Add:Table : List of Godowns, End of List:$$Line = 1 Add:Table : End of List:$$Line > 1 Set as : $DefaultGodownName:VoucherType:##SVVoucherType Set always : Yes Skip:If $$Line = 1 Then Yes else No
Sir, i have check my entries.but they also alert msg of negative stock .please check the code sir and help me