[#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
Skip to main content
Comments
Post a Comment