Context Object Parameters
Table 1. Business Object Standard Parameters
| Parameter Name |
Type |
Read or Write |
Comments |
EVENT |
String |
Read |
Any of the supported events. |
TYPE |
String |
Read |
Business object type |
Table 2. Additional Parameters for batchrevise
| Parameter Name |
Type |
Read or Write |
Comments |
BATCHREVISEMAP |
Map |
Read |
Map representing the whole
content of the batch revise operation. Keys represent the new objects (Relations and
Entities) and values are the source objects. |
AuditTags |
List |
Read |
Logging event of the transaction. |
Sample
Let ListTargets(List)
Let SourceObject(PLMEntity)
Let TargetObject(PLMEntity)
Set ListTargets = Parameters.Macros.GetObjectMap("BATCHREVISEMAP").GetKeys()
Set TargetObject = ListTargets.GetItem(1)
Set SourceObject = Parameters.Macros.GetObjectMap("BATCHREVISEMAP").GetValue(TargetObject)
Trace(1, "Execution batchrevise on ", TargetObject.PLM_ExternalID)
TargetObject.setAttributeString("description","revised")
Trace(1, "Execution batchrevise result is ", SourceObject.PLM_ExternalID)
Validation = true