addValue macro
Use this macro to add a simple value to the UserArea. A simple value has a Name, a Value and a Data Type.
addValue(string name, string value, string datatype)
          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  | 
            
| 
               Data Type  | 
             
               See the table that shows the supported data types.  | 
            
This table shows the supported data types:
| 
               Data Type  | 
             
               Remark  | 
            
|---|---|
| 
               String  | 
             
               Single byte or multibyte string  | 
            
| 
               Integer  | 
             
               Integer number (long)  | 
            
| 
               Numeric  | 
             
               Numeric number (float or double)  | 
            
| 
               Date  | 
             
               Date in the format "yyyy-mm-ddThh:mm:ssZ" (GMT) "yyyy-mm-ddThh:mm:ss+hh:mm" (local time later than GMT) Example: "yyyy-mm-ddThh:mm:ss-hh:mm" (local time earlier than GMT) For more information on those date formats, see function utc.to.iso() in the Infor ES Programmers Manual.  | 
            
| 
               Check box  | 
             
               “true” or “false”  | 
            
Example:        addValue("StringElement", "stringValue", "String")
        addValue("IntegerElement", "1", "Integer")
        addValue("NumericElement", "123.45", "Numeric")
        addValue("DateElement", utc.to.iso(utc.num(), UTC_ISO_Z), "Date")
        addValue("CheckboxElement", "true", "Checkbox")