Code: [#Line : EI InvInfo] Option: EI2: @@ISorder [System:Formula] IsOrder: $$IsSalesOrder:##SVVoucherType OR $$IsSales:##SVVoucherType [!Line : EI2 ] Left Fields : EI DeemedPos, VCH StockItem,Code Right Fields : VCH RateIncl, VCH Rate, VCH RateUnit, VCH PrevItem, VCH Value [Field:Code] Inactive:Not @@IsOrder Use : Name Field Width : 25 mm;@@VCHDiscountWidth Align : Center Style : Normal Bold Border: Thin Box Set as:stqcost:StockItem:$StockItemName
[#Line : EI InvInfo] Option: EI2: @@ISorder [System:Formula] IsOrder: $$IsSalesOrder:##SVVoucherType OR $$IsSales:##SVVoucherType [!Line : EI2 ] Left Fields : EI DeemedPos, VCH StockItem,Code Right Fields : VCH RateIncl, VCH Rate, VCH RateUnit, VCH PrevItem, VCH Value [Field:Code] Inactive:Not @@IsOrder Use : rate Field Width : 25 mm;@@VCHDiscountWidth Align : Center Style : Normal Bold Border: Thin Box Set as : $$BaseValue@locInValue/@locInQty) locInValue : ($InwardValue:StockItem:##StockItemName + $OpeningValue:StockItem:##StockItemName) locInQty : ($InwardQuantity:StockItem:##StockItemName + $OpeningBalance:StockItem:##StockItemName) ;Set as:stqcost:StockItem:$StockItemName;
Just copying code will not work, you must understand the context in which and how a value is referred to or called for. In above case -- instead of ##StockItemName -- replace it with direct reference to the FIELD name of the Stock Item in the Voucher.
In the voucher entry screen -- what is the FIELDNAME of the Stockitem ??? use that $InwardValue:StockItem:##StockItemName -- here instead of ##StockItemName use the FIELDNAME -- as #Fieldname
Use Developer to find the FIELD NAME ---- open tally in Developer mode and hover your cursor over StockItemName and you will get the FieldName.
Done sir, working fine ! Thank You So Much. sir please start tdl learning session (of course Paid) , so i can more learn from you much as possible.
You do not need to PAY for any courses ........... Best teacher is you, yourself -- through self learning. All you need to have is patience and perseverance. Tally Developer and it accompanying sample codes are enough to teach any serious and sincere learner. Am glad you took the approach to learn rather than depend on quick fix and ready answers as most other members do. Keep learning and persevere.
Thank You For Your Support. I am learning from sample code but its not good enough some time. but you guided every time well Thank you So Much.
Hello Sir, how are you... help me not working pls guide me [Field:ItmAvgCost] Use : rate Field Width : 25 mm;@@VCHDiscountWidth Align : Center Style : Normal Bold Border: Thin Box Set as : $$BaseValue@locInValue/@locInQty) locInValue : ($InwardValue:StockItem:##VchStockItem + $OpeningValue:StockItem:##VchStockItem) locInQty : ($InwardQuantity:StockItem:##VchStockItem + $OpeningBalance:StockItem:##VchStockItem)