Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
a_f:a:replace [2022/09/01 01:23] – removed - external edit (Unknown date) 127.0.0.1a_f:a:replace [2023/05/09 01:44] (current) sean
Line 1: Line 1:
 +{{tag>Index Action Action_List Business_Object Process References Lists}}
 +====== REPLACE ======
 +
 +This action replaces an instance of a business object from a reference list of another object with some other instances. 
 +
 +===== Syntax =====
 +
 +''REPLACE'' AttributeIdentifier() ''IN'' AttributeIdentifier() ''WITH'' AttributeIdentifier()
 +
 +where the first Attribute Identifier indicates the object to replace, the second one – the list to remove from and the third one the object to be inserted. This action can be especially useful when combined with the ''This'' and ''That'' prefixes (see also “[[docs:2000_concepts:0800_data_processing:0100_rule_evaluation:0800_context_rule_execution:0200_instance_prefixes|Instance Prefixes]]” section). 
 +
 +===== Example ===== 
 +
 +<code aim>REPLACE ThisTransaction IN Account.Transactions WITH ThatTransaction </code>