Hai, Item a = item a1(10 nos)+itema2(10 nos)+itema3(10 nos) when item a is in negative stock,auto generation of manufacturing journal and item a stock to be increased and it should nullified.i think it will be clear. any idea or tdl is expected
i thnk in default tally, if you press alt+c at billedqty field, then it will create mfg jrnl auto. u cn take an idea from it.
Write a function for that where call the all negative stock which had the bom then use that collection as your voucher base and use New object : Voucher . I had it ready but first try yourself to do that. it will more easy for you to understand it after you write it yourself. Ex i m giving down read the process and write your code according( do not copy paste the below code it will not work) [#Menu : Gateway Of Tally] add : Item : "Auto Mfg Jrnl" : Call : SSFunctonAutoJrnl [Function SSFunctonAutoJrnl] variable : SSFunctonAutoJrnl stkname : String variable : SSFunctonAutoJrnl totaltomfg: quantity Variable : SSFunctonAutoJrnlNumToCal : Number 010 : Walk Collection : ("Coll Of item which has bom") 011 : New Object : Voucher 012 : SET VALUE : [date], [SvPersistedview], [vouchernumber] 013 : Insert Collection object : inventory entries in 014 : Set target : inventory entries in 015 : SET VALUE : stockitem Name : $Name 016 : SET VALUE : [BilledQty], [Actual Qty] : [ClosingBalance] 016a: SET : SSFunctonAutoJrnl totaltomfg : [ClosingBalance] 017 : SET VALUE : [Other imp UDF and batch allocations] 018 : SET TARGET :.. 020 : Walk : MultiComponenet List 021 : SET : SSFunctonAutoJrnlNumToCal : ##SSFunctonAutoJrnl totaltomfg / $componentbasicqty 022 : Walk : MultiComponenetItemList 023 : insert collection object : InventoryEntriesOut 024 : SEt TARGET : InventoryEntriesOut 025 : SET VALUE : StockItemName : $stockitemname 026 : SET VALUE : Actual Qty, [Same BilledQty] : ($actualQty *## SSFunctonAutoJrnlNumToCal) 027 : SET VALUE : [Other imp UDF and batch allocations] 030 : SET TARGET : .. 032 : End Walk 033 : End Walk 034 : Create TARGET
I want to open the created AUTO PRODUCTION VOUCHER after saving Dely note. How to open it just after saving Dely Note? how to do this??
Dear Nirav, I tried the same, but this call my function and create production voucher. I want to open that production voucher after saving or before saving. How to do that?
Dear Shamsher Singh, Follow below mentioned steps 1. Modify BottomToolBarBtn2_Accept key 2. Delete existing action 3. Create two option for action a new action list 3.1 One for Delivery Note 3.2 One for other than Delivery Note 4 Write "Action : Form Accept" in other than Delivery Note 5 Write "Action List : Form Accept, Prev Edit Report" for Delivery Note. Prev Edit Report will show your last saved voucher which will be AUTO PRODUCTION VOUCHER
dear expert, please complete auto bom (bill of material) for me as i am new to this this will save my time thanks in advance