Hi Every One, I have written tdl to have customized stock entry Screen - Not the tally default one. it is like user needs a simple screen where they just enter date, customer party name ( using as godown name ) whether it is inward or outward movement and item details once done and user saves the screen it will generate stock jv automatically. but when i try to save the screen it says No entries in Voucher. Please find following is the screen shot of entry and sample code of the same can u guide what is the problme why it is not saving i am using voucher form if i dont use object voucher and use company as object it works fine but then whenever i save the screen all prev data appears in the voucher
Logically thinking....these are my thoughts......... You have made a customized voucher, wherein you feed data and this in turn makes an Auto Stock Journal........ which seems illogical to me because you made one new voucher-type to create a already existing voucher-type entry. Instead it would be better to modify the Stock Journal as per your needs. So.... you remove the code that makes this "as a voucher" .... and use the form you have already made as a "simple form" for collecting data to pass an Auto Stock Journal.
If at all it works...but albeit with previous voucher data, then you just put additional code, which renders all fields as "null", when a user opens it.
hi amit sir really gr8 full to u for ur immediate response the basic purpose is management dont want tally basic stock jv style of entry and as they are shifting from an existing tailormade software to tally they want to keep basic entry screen as it was and on which users are use to. regarding ur suggestion on using object as company i will try and write a function on saving the screen to make all storage empty but why it is showing no entry in vch error is something wrong in the code or i am missing something.
I haven't checked out on that point........ will check and let you know in a few days. Am on Audit and travelling, so less time.