Trial code for Reprint Control [#Key: PrintButton] Option : PrintButtonModifyForExciseSales : $VoucherTypeName = "Excise Sales" [!Key: PrintButtonModifyForExciseSales] Key : Alt+P Title : $$LocaleString:"Print" Type : PrintButton Inactive : if $PrintControlBollvar = Yes then Yes else No ;;;;; if variable Is yes then set print is Inactive Action List : Print ReportVCH,ReprintControl;Print Report [Key : Print ReportVCH] Key : Alt+P Title : $$LocaleString:"Print" Type : PrintButton Action : Print Report [Key : ReprintControl] Key : Alt + P Action : Call : SetFieldValue [Function : SetFieldValue] 10 : Set Value : PrintControlBollvar : Yes 20 : Save Target [#Line: VCH Ref] Option : VCH Reprint Control : $VoucherTypeName = "Excise Sales" [!Line : VCH Reprint Control] Add : Field : After : VCH RefCombo : PrintControlBollvar [Field : PrintControlBollvar] Use : Logical Field Storage : PrintControlBollvar Read Only : Yes ;;;;;;;if in config Print after saving Voucher is yes [#Form: Voucher] Option : RePtintControlVoucher : $VoucherTypeName = "Excise Sales" [!Form : RePtintControlVoucher] On : Form Accept : @@PrintAfterSave : Call : SetFieldValue [System : UDF] PrintControlBollvar: Logical : 9001
Very nice job, it should give a mas box and admin user should have control on re active and deactive of Reprint
Dear Sir, I want that when I print a ledger of debtor or creditor tally indicate that- "This ledger already been printed up to .............. date would you like to continue or Not" like as Bank Passbook, prints only from new entries. This tcp help me to prevent duplicate printing of any parties account and also save my time.