/* TDL to reset the discount basesd on the cash paid by customer it is useful where bargain system prevail. It alters the discount column based on the total amount and the cash paid by the customer. For example, IF the total amount is RS 100 and the customer pays only Rs 90 then the discount of the stock items is updated and the total amount becomes Rs 90. by : Praveen Rathod */
Dear Sir, Can you provide quantity wise discount (per Qtld. or per kg. multiplied by rupees ) in sales voucher Example - Qty. Rate. Discount Disc. amount Total Amount 365 100 1 (per qty.) 365 36135
Solved the final code is as attached its simple i have already implemented that, just add another column before discount column and use a system formula to calculate it as billedqty * rate
Dear sir, in this tdl discount not based in qty. its based on amount % i want ,if qty is 365 kg then discount should be 365 if discount rate we put 1 per kg.
Ebek said. [#Field: EI ValueSubTotal] Inactive:Not $$IsSales:##SVVoucherType [#Field:EIAccRate] Set as: if ($$IsSales:##SVVoucherType and #EIAccDesc="Cash Discount" and #EIValueSubTotal > 1 and #EIValueSubTotal < 5000 ) Then -5 Else $$Value Set Always:$$IsSales:##SVVoucherType ;Cash Discount up to (1 to 15)% don`t control.
You can customise tally as you want .... Its very flexible.... get help from any professional TDL coder he will do it for you.
Sir I have made one TDL for invoice Printing, Its workinfg file in normal mode but when i open it in view mode by given security No Create/Alter then its show in tally's default format. What should I do?