TAMDeduction.modifiedField Method
Performs specific actions when a field is modified.
Syntax
public void modifiedField(FieldId _fieldId)
Run On
Called
Parameters
- _fieldId
Type: FieldId Extended Data Type
The field ID of the field that has been modified.
Remarks
If the amount is modified and the deduction status is created, then when amount changes update remaining amount to be the same value.
If the type is modified and the deduction status is created, then update offset account to be account defined with type. Note that type can be changed after deduction posts but offset account will not change. Transactions are not backed out of old offset and added to new offset.
If the merchandising event id is modifed and there is not a promotion ID specified, then set promotion to be merchandising event's promoiton. If there is no rebate specified and rebate exists for merchandising event, then set the rebate.
If the rebate is modified and the rebate has a merchandising event, then initialize the promotion and merchandising event from rebate (if not already specified).