Showing posts with label current session. Show all posts
Showing posts with label current session. Show all posts

Script to initialize the context of profiles


Sometimes you want to run queries that reference profile options. To do this, you should first initialize the context of the current session to the user, responsibility and application being used. You can also set the context of the current inventory organization for queries that reference the organization context.