X3 has a feature of opening up multiple sessions but its often needed to know the current session running , but do you know how will we find the session. Then let me help you on this, there exists one inbuilt variable ‘ADXTYP’ which is used to know the session type.
New Stuff: How to add an additional invoicing element on line items
Syntax
ADXTYP
Examples
# Test is used to load a variable if web services client”
If ADXTYP = 12
TOTO = “Web Services”
Endif
Description and comments
ADXTYP returns the client type of the X3 session in integer and the values for those integers are
1. Client / server
2. Client/server for a secondary session
3. Batch
9. Client/server
10. Web client for a secondary session
12. Web services client (communication synchronous with third-party applications; for eg. e-commerce site)
Also Read:
1. Setup Disconnection time of secondary session in X3
2. Manage user Connection time in Sage X3
3. How to check users connected in Sage X3
4. Unable to Access Help File in Sage X3
5. Work order Grouping-For Different Products