Ability to detect changes to pricing rules and pass it on

Discussions relating to plugin development, and the Jiwa API.

Ability to detect changes to pricing rules and pass it on

Postby SBarnes » Wed Feb 19, 2020 3:53 pm

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.
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1617
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

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

Postby Mike.Sheen » Wed Feb 19, 2020 8:00 pm

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.
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2440
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 755


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 2 guests

cron