Fix Pricing  Topic is solved

Discussions relating to Jiwa 7 plugin development, and the Jiwa 7 API.

Fix Pricing

Postby Riyaz » Thu Sep 27, 2018 2:44 pm

Hi There

If the Fix Pricing checkbox is checked in quote, when we make a sales order out of it, it still pops up with "prices to be updated with current pricing details" , can we suppress this popup?
Riyaz
Kohai
Kohai
 
Posts: 254
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Re: Fix Pricing

Postby Scott.Pearce » Thu Sep 27, 2018 3:24 pm

The sales order form throws an event "UpdatingWithCurrentPricing" - set it's CancelEventArgs.Cancel = true and the message will not be shown.
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230

Re: Fix Pricing

Postby Riyaz » Thu Sep 27, 2018 4:56 pm

Thanks Scott, we don’t want to suppress it all the time, only when the Fix pricing is checked on the sales quote. Can we check the sales quote had the fix pricing set when we create the sales order from it?

Also other question is, what does the fix pricing checkbo do?
Riyaz
Kohai
Kohai
 
Posts: 254
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Re: Fix Pricing  Topic is solved

Postby Scott.Pearce » Thu Sep 27, 2018 5:26 pm

1. You get passed a "QuoteHistoryID" parameter to the "UpdatingWithCurrentPricing" event. Use this value to read in the quote to see if fix pricing is checked on the quote or not.

2. As far as I can tell, if a line is FixPrice = true (this is inherited from the document fix price value at the time of adding), then a change of debtor does not affect the price (i.e. the new debtor may use a different price scheme and would normally get a different price for a given line).
Scott Pearce
Senior Analyst/Programmer
Jiwa Financials
User avatar
Scott.Pearce
Senpai
Senpai
 
Posts: 765
Joined: Tue Feb 12, 2008 11:27 am
Location: New South Wales, Australia
Topics Solved: 230


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 5 guests