By defining it in FORM level.......... [Form : SoandSo] Button : My Button [Button : MyButton] Your shortcut keys and Action plans here..........
For Add a Button on Already Available Form,Edit That Form With Use Of Hash. Like This [#Form : Sales]
There is no FORM : SALES.......... you need to use Form : Voucher........ from thereon it branches off to different types. So in that form, you can add your button....by giving condition.......IsSales (VouchertypeName)
try like this: Code: [#Form:Accounting Voucher] Add:Button:Mybutton [Button:Mybutton] Inactive:NOT @@issales Key:ctrl + H Action:Call:Dosomething [Function:Dosomething] 01:Msg Box:Haha:Button is working!
what is @@istaxinvoice its working fine myside when i click the button its going to print config screen and then selecting printer and then enter what actually you are trying to do
I want this to do-- Alt+P,Alt+S,Enter,Tab,Tab,Tab,Tab,A,Enter,Enter But what's happening is-- Alt+P,Enter And Tax Invoice is a field created under sales i.e. when you enter sales button, you get two options to sale: 1. Sales 2. Tax Invoice
to set default printer Code: [#Form:Sales Color] Set Always:SVPrinterName:"Microsoft Print to PDF" replace printer name with yours you can add condition to check the voucher type or custom condition then set the printer name we cant set papersize its a printer property so you can fix the size in the printer properties
I want to do this with the properties of printer from Alt+S,Selecting Printer, then properties occur where I can select the paper size for tally.
Hello Sir but in the above code button is there fat hte time of voucher entry but at the time of alteration button is not there what to do if i want button all time i.e at the time of Accounting voucher entry / creation and or alteration Thanks in advance