As we all know that Sage X3 can have more than one folder/application. So the question is how we will get to know current folder/application name while accessing Sage X3 ERP. Here X3 provide special “nomap” variable, which complete your requirement.
nomap is a variable that is only accessible in read mode and which determines name of current folder/application and reference applications. Index 0 corresponds to the current application; index 1, to the first reference application; 2 to the second, etc.
# Opening of a file of the second reference application
Local File =adxmac(2)+”@”+nomap(2)+”.”+[L]FICHIER [FIC2]
The assignment of the [S]adxmother variable changes the values of [S]nomap (except for [S]nomap(0)). adxmother(I) is equivalent to nomap(I+1).
adxmac returns the name of the server where an application is found.
Please refer below screen shot for the same.
Hope this blog helps!
Greytrix is 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 have some unique solutions of Sage X3’s integration with Sage CRM, Salesforce.com and Magento eCommerce. It also offers 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.
Other Related Blogs: