Page 1 of 1

Sales Order Lines Custom Field Value Change

PostPosted: Mon Jun 22, 2026 4:25 pm
by SBarnes
Is there a simple a way to detect when a sales order line custom field value has changed or do you have to look at the property changed event on each custom fields in each line?

Basically I am wanting to fire off an event after the order is saved in certain custom fields on any of the lines have changed.

Re: Sales Order Lines Custom Field Value Change

PostPosted: Mon Jun 22, 2026 4:37 pm
by Mike.Sheen
You can examine the ChangeFlag of the CustomFieldValue of interest.

Each sales order line has a CustomFieldValues collection - and the ChangeFlag of each of those will only be true if they have changed.