Page 1 of 1

Ability to detect changes to pricing rules and pass it on

PostPosted: Wed Feb 19, 2020 3:53 pm
by SBarnes
Would it be possible with Pricing scheme object and possibly other object to detect changes in the areas that effect Jiwa pricing and log this through a plugin to send to an outside system?

What I am thinking of would be the equivalent of webhooks for pricing rules.

Re: Ability to detect changes to pricing rules and pass it o

PostPosted: Wed Feb 19, 2020 8:00 pm
by Mike.Sheen
SBarnes wrote:Would it be possible with Pricing scheme object and possibly other object to detect changes in the areas that effect Jiwa pricing and log this through a plugin to send to an outside system?

What I am thinking of would be the equivalent of webhooks for pricing rules.


Possible, yes - but you would need to listen to events from several different business logic objects to get coverage of everything affecting pricing. Those objects are:
  • Price Scheme Maintenance - for when a scheme is modified (contributing price "elements" added or removed)
  • Inventory Maintenance - when various prices change or are added / removed, or when its' pricing group changes
  • Debtor Maintenance - when a debtor is associated with a different Price Scheme, or its' classification or pricing group changes

That's all I can think of right now.