Compartir a través de


TAMDeduction.modifiedField Method

Performs specific actions when a field is modified.

Syntax

public void modifiedField(FieldId _fieldId)

Run On

Called

Parameters

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).

See Also

Reference

TAMDeduction Table