how can i print my midifed form on the condition of voucher type name containing "export"? if condition not satisfied then tally default form should be print.
[#Form: Sales Color] Option: My Sales color: ##SVVoucherType Contains "Export" [!Form:My Sales color] ;; Write the code here
;Create UDF field and set in tdl [#Part: VTYP Behaviour] Add: Line: After: VTYP EachNarr : VTYP MyInvoice [Line: VTYP MyInvoice] Fields : Medium Prompt, VTYP MyInvoice Local : Field : Medium Prompt : Info : $$LocaleString:"Enable Coustomize Invoice Format?" Invisible : NOT $$IsSales:$Parent [Field: VTYP MyInvoice] Use : Logical Field Storage : MyInv1 [System: UDF] MyInv1 : Logical : 10005 . ;=========== after enabling modifing the invoice =========== [#Form: Comprehensive Invoice] Option: MyInvoice : @@IsSales and $MyInv1:VoucherType:##SVVoucherType [#form: Simple Printed Invoice] option :My invoice: @@IsSales and $MyInv1:VoucherType:##SVVoucherType ;;Write continue code