addCodeValue macro
Use this macro to add a code value to the UserArea. A code value has a
Name, a Value, a List Identification which the code is part of and an
Accounting Entity. The data type
code
is implied.
addCodeValue(string name, string value, string listId,
string accountingEntity)
This table shows the arguments:
Argument | Description |
---|---|
Name |
The element name the field needs to get in the BOD or BDE XML |
Value |
The value of the field; this is always a string |
ListId |
The list to which the code belongs |
AccountingEntity |
The accounting entity of the list |
Example:
addCodeValue("Country", tccom130.ccnt, "CountryCodes",
str$(get.compnr()))