Configuration / parameters
Parameters are delivered through the method call, packed in a nice <String> Hashtable for easy access.
Please note that values are sent as-is, so make sure to escape values before DB operations using
DbConnection.escapeSql(String s);
Configurations can be stored using the getConfiguration methods of the command object. These values can be editedthrough the designer, depending on the Codeunit type
- System configurations: Designer > Modules > Static content
- Solution configurations: Designer > [Solution] > Advanced > Configurations
Value names will be prefixed with Class simple name - example + "."
com.tsnocode.MyExampleCodeunit.myParameter