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:increment [2022/09/01 01:23] – removed - external edit (Unknown date) 127.0.0.1a_f:a:increment [2023/05/09 01:38] (current) sean
Line 1: Line 1:
 +{{tag>Index Action Action_List}}
 +====== Incremental action ======
  
 +The action increments or decrements the value of a business object’s attribute. 
 +
 +===== Syntax =====
 +
 +( ''INCREASE'' | ''REDUCE'' ) AttributeIdentifier () BY ArithmeticOperation ()
 +
 +===== Example =====
 +
 +<code aim>INCREASE Account.Balance BY 1000 </code>
 +<code aim>REDUCE Account.Balance BY Transaction.Amount </code>
 +
 +<callout type="primary" icon="true" title="note"> Incremental action allows usage of percents in arithmetic operations, for example 
 +<code aim>INCREASE Account.Balance BY 10% </code> or 
 +<code aim>REDUCE Account.Balance BY 5% </code>
 +</callout>