In Sage X3, GFONCTION returns the name of the current function. Menchoix returns the internal number of that function.
“Menchoix” identifies the current function by its internal number. This variable is only used by the supervisor.
Whenever you exit menu management via the ONevent ITM_MENU instruction, the menchoix variable is loaded by the function selected.
Img 1: menchoix value in calculator
Img 2: GFONCTION value in calculator
Hope this helps.
Greytrix is a one stop solution provider for Sage ERP and Sage CRM needs. We provide complete end-to-end assistance for your technical consultations, product customizations, data migration, system integrations, third party add-on development and implementation expertise.
Greytrix has some unique solutions of Sage X3 integration with Sage CRM, Salesforce.com and Magento eCommerce along with Sage X3 migration from Sage 50 US, Sage Pro and QuickBooks. We also offer best-in-class Sage X3 customization and development services to Sage business partners, end users and Sage PSG worldwide.
For more information on Sage X3 Integration and Services, please contact us at email@example.com. We will be glad to assist you.