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:assignment [2022/09/01 01:23] – removed - external edit (Unknown date) 127.0.0.1a_f:a:assignment [2023/07/14 02:26] (current) – [Syntax] sean
Line 1: Line 1:
 +{{tag>Index Action Action_List}}
 +====== Assignment action  ======
 +
 +This action assigns a new value to an attribute. 
 +
 +===== Syntax =====
 +<code bnf>AttributeIdentifier () = ArithmeticOperation () [IGNORE RULES] </code>
 +The ''IGNORE RULES'' flag will prevent business rules running.
 +===== Example =====
 +
 +<code aim>Account.State = 'Open' </code>
 +<code aim>Account.Balance = 1000 + Transaction.Amount </code>
 +
 +<code aim>Loan.Item = Item </code>
 +
 +
 +It is possible to assign references or clear references (set ''UNDEFINED'' value), for example:
 +
 +<code aim>Member.Loans = UNDEFINED </code>
 +