SalesLine.modifiedField Method [AX 2012]

Perform any necessary initialization or validation when the given field is modified.

public void modifiedField(FieldId _fieldId)

Run On



Type: FieldId Extended Data Type
The field which was modified.

If delivery mode changed, default in expedite flag.

If potent unit modified If user picked new potent unit, then initialize potency from that.

If price by potency modified reload prices and recalculate line amount If potency modified recalculate line amount If special pricing id blanked out then reload price and recalculate line If the table is a data source on a form, refresh that data source.