Hi Experts, I have project where by My customer wants following thing They have 5 to 6 Sister Company. to control Item Creation Mistakes. they want something like once item created in one time it should create in all the other companies. Does Anybody has any idea regarding this. Pls Share Thanks
write a function which will push the data to the sister company...i do have it but it doesn't work if the item masters name will get changed Regards, aaradhya
Here with I am attaching code for Main Branch Payment as Receipt in other branch. You can take a reference of it. Code: [#Menu: Gateway of Tally] Item : Payment to Receipt : CALL : InterCompany PymttoRcpt [Function: InterCompany PymttoRcpt] Variable : OldCompany : String 01: SET : OldCompany : ##SVCurrentCompany;; store current company 02: CALL : Change and Save Voucher 03: SET : SVCurrent Company: ##OldCompany ;; restore the company ;; Function Definition [Function: Change and Save Voucher] Variable : Index : Number 01: WALK COLLECTION: Pymt Vouchers 02: SET : SVCurrent Company : "Test Target" 03: SET TARGET 04: SET VALUE : VoucherTypeName : "Receipt" 05: SET VALUE : VoucherNumber : $VoucherNumber 06: SET : Index : 0 07: WALK COLLECTION : LedgerEntries 08: INCREMENT : Index 09: SET TARGET : LedgerEntries[##Index] 10: SET VALUE : Amount : if $$IsDr:$Amount then $$AsCrAmt:$Amount else $$AsDrAmt:$Amount 11: SET VALUE : IsDeemedPositive : NOT $IsDeemedPositive 12: SET TARGET : .. 13: END WALK 14: SAVE TARGET 15: SET : SVCurrent Company : ##OldCompany 16: END WALK ;; Collection Definition [Collection: Pymt Vouchers] Type : Vouchers : Voucher Type Child Of: "Payment" You will need to make a function in which you have to write Walk Colleciton for currently opened compnies. Inside that Walk Collection you will need to call InterCompany PymttoRcpt function. This way it will automatically insert one entry into multiple company. Please note that "InterCompany PymttoRcpt" function is as reference to this code only. You will need to make functions as per your requirements. Hope this will help you.
Moulik Bhai , Hi.. Its Manish From INDORE.. Can We talk (About SMS Module...) Awating for youre replay My Cell No. 9826026109 Manish