setPrefix Function
Dynamics AX 4.0
Sets the prefix for the current execution scope.
int setPrefix(str _prefix)
The complete prefix for the execution can be fetched by using the getPrefix function. When leaving the scope, the prefix is automatically reset to the previous level. The prefix mechanism makes it more straightforward to write precise error messages about the transactions performed by an application.
Community Additions
ADD
Show: