How to change voucher mode using tdl Ex. Stock Journal Voucher By Default Use for Inter Godown Transfer Without Any Class Plz Help
Sir when I open the stock journal voucher then instead of transfer of material mode it should be opened in transfer for inter godown transfer only.
Try This [#Form: Stock Journal Voucher] Add : Option : Stock Journal VoucherOpt : @@IsSJVEnabled;; Replace System Formula as Per Activation [!Form:Stock Journal VoucherOpt] Switch : STKJrnlVoucher : GTRN StkJrnl :Yes
This is the Garment module based on customer requirements which is made by the developer. If you are the developer and want to create it then proceed it by yourself..
[#Line:VCHBATCH ColumnOne] Add:Field: At Beginning:STKNamedTitle [Field:StkNamedTitle] Color : Blue Background : Yellow Width : 19 Setas : $$LocaleString:"SIZE" Style : Normal Bold Align : Centre Border : Thin Right Skip : Yes Fixed : Yes [#Line: STKVCH Batch2] Add:Field: At Beginning:STKNamedDetails [Field:StkNamedDetails] Storage : Sizes Use : Batch Name Field Use : NewNumberTemplate Style : Small Bold Set always : Yes [System:UDF] Sizes:String:2256 This is your code that you want Now change it by yourself....If problem arises then email me on tdlexpertsmrtsolutions@gmail.com
You need code to make new column in batch that I have sent you Now for table make collections for that....
Collection made but not working [Collection:List Of Size] Title : $$LocaleString:"List of Size" SubTitle : $$LocaleString:"Name", $$LocaleString:"Balance" Column Align : Left, Right Parm Var : pvStockItemName : String : $StockItemName Source Collection : Batches VchSrc Fetch : Sizes, Parent, ExpiryPeriod, ActualQty, ClosingBalance, GodownName, ClosingAsondate, MfdOn Format : $Sizes Format : $ClosingAsondate, : "Base" Column Align : Left, Right Filter : BelongsToSVGodown Client Only : Yes Keep Source : ....
Code: [Collection: MySizeList] Parm Var : pvStockItemName : String : $StockItemName Parm Var : pvRepObjDt : Date : $$ReportObject:$Date Type : Batch Childof : ##pvStockItemName Fetch : Name, Parent, ExpiryPeriod, ClosingBalance, GodownName, MfdOn, ClosingAsOnDate Format : $Sizes
enjoy [System:UDF] strPcs : Number : 101 strMtr : Number : 102 [#Line: VCHBATCH ColumnOne] Add: Right Fields: Before:VCH QtyTitle:newPcT,newMtrT [Field : newPcT] Use : Name Field Set as: "Pcs" Width: 3 Skip: Yes [Field : newMtrT] Use : Name Field Set as: "Mtr" Width: 4 Skip: Yes [#Line: STKVCH Batch2] Add: Right Fields: Before: VCHBATCH ActualQty : newPc1,newMtr1 [Field : newPc1] Use : Number Field Width: 3 Storage: strPcs [Field : newMtr1] Use : Number Field Width: 4 Storage: strMtr On: Accept: Yes: Field Accept On: Accept: Yes: Call: newSetQty:$strMtr:$strPcs [Function :newSetQty] Parameter: pB: String Parameter: pA: String Local Formula: formulameter: ##pB+" "+$BaseUnits:StockItem:$StockItemName+"="+##pA+" "+$AdditionalUnits:StockItem:$StockItemName 1: Set Value: BilledQty : $$AsQty: @ formulameter
Use Date and Time as your Batch Number, It is Unique always. Note it, For Existing Batch's there is no option to update. Any way you write a function to Update batch number in Entries and Opening Balance Batches. Try it or Pay to Developers, They will do it for you.