addMasterDataReferenceValue macro
Use this macro to add a master data reference value to the UserArea. A master data reference value value has a Name, a Value, a Noun and an Accounting Entity. The data type masterDataReference is implied.
addMasterDataReferenceValue(string name, string value, string noun,
             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  | 
            
| 
               Noun  | 
             
               The noun of the master data entity  | 
            
| 
               AccountingEntity  | 
             
               The accounting entity of the noun  | 
            
Example:
        addMasterDataReferenceValue("Item", tcibd001.item, "ItemMaster",
                     str$(get.compnr()))