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
stuart@attkey.com.au
SBarnes
Jiwa Sensei
Jiwa Sensei
 
Posts: 816
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 71

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
Jiwa Shihan
Jiwa Shihan
 
Posts: 1640
Joined: Tue Feb 12, 2008 11:12 am
Location: North Sydney
Topics Solved: 522


Return to Technical / Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron