Page 1 of 1

what is the SalesOrderHistoryChanged event in Jiwa 7

PostPosted: Thu Mar 24, 2022 2:07 pm
by indikad
In Jiwa 6 there is a event called SalesOrderHistoryChanged on the sales order window. This even seems to fire for almost any change action on the screen.

What is the equivalent event in Jiwa 7 ( 7.2.1) pls.

Re: what is the SalesOrderHistoryChanged event in Jiwa 7  Topic is solved

PostPosted: Thu Mar 24, 2022 10:06 pm
by pricerc
You can hook up the "PropertyChanged" event on the SalesOrder object. It will inform you of any changes to values in the sales order. Also on SalesOrderHistory and SalesOrderLine objects.

But they be 'noisy' events.

There is probably a more specific event that would be more useful if you tell the forum what you're wanting to achieve.

Re: what is the SalesOrderHistoryChanged event in Jiwa 7

PostPosted: Fri Mar 25, 2022 8:05 am
by SBarnes
Ryan is correct is suggesting you hook up to property change but if you are looking to see what properties on the history has changed there is also the changedpropertyList property which is a string list of all the properties that have changed.

There is also an event on the sales order for when a new snapshot is created and one for when the selected snapshot changes i.e. D02 is selected when D01 was shown.

Re: what is the SalesOrderHistoryChanged event in Jiwa 7

PostPosted: Wed Mar 30, 2022 4:01 pm
by indikad
pricerc wrote:You can hook up the "PropertyChanged" event on the SalesOrder object. It will inform you of any changes to values in the sales order. Also on SalesOrderHistory and SalesOrderLine objects.

But they be 'noisy' events.

There is probably a more specific event that would be more useful if you tell the forum what you're wanting to achieve.



Thanks Ryan. the "PropertyChanged" is what I have to use.
- and yes you are right that it is a noisy event - placing some filters already.