[#Menu:Gateway of Tally] Add:Button: Switch TDL [Button:Switch TDL] TITLE:"Switch Sales Order" Key : Alt + S Action: Call: SalesOrderSwitch [Function: SalesOrderSwitch] 01 : Set : $$IsSalesOrdersOn : not $$IsSalesOrdersOn This is the code I am using to switch sales order processing activation from gateway of tally itslef. But it is raising the error: Variable 'IsSalesOrdersOn' could not be found! Please Help
Because it is NOT a variable...... if it were a variable double ## is to be used and not double $$. The Line you have used is for Variable and hence tally is returning a error message that Variable is not found.
What exactly are you trying to do ? Toggle On/Off the SALES ORDER ?? or Switch a TDL ...... cuz your Button is named like that.
Do it like this 1. Find the Storage/Method From Which you can enable Sales Order 2.Check If Is true or not(If Condition) 3. Based On the Condition Change the Value Note: There is one smaller method for this But I am not if it is a good one...
Any help will be appreciated. It is part of Tally F11 Functions. I think it has been removed in tally prime. it can be found in cmpoperationsfield.tdl in default TDL under Field: CMP SalesOrder. Thank you.
I tried to edit the code myself. Here is the new code. Still it is not doing What is intented: [#Menu:Gateway of Tally] Add : Button : Switch SalesOrderProcessing [Button:Switch SalesOrderProcessing] TITLE:"Switch Sales Order" Key : Alt + S Action: Set : SalesOrderSwitch : NOT $$IsSalesOrdersOn