transformation WITHDRAW {
When withdrawing a certain amount of money from an account,
the
following BEFORE
ROW and AFTER STATEMENTS actions or controls must
take place
according to the (MOMENT & LEVEL):
when it is [BEFORE ROW] then, the engine must: {
<check the
user’s permission over transformation>,
<check the
transformation’s permissions for changing the ...>,
<validate
the column’s values> and
<deduct the
quantity withdrawn from the account’s balance>
};
finally, when it is [AFTER
STATEMENT] then, the engine must {
<save audit
information at record level>
}.
}