Reduce back order quantity  Topic is solved

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

Reduce back order quantity

Postby Riyaz » Fri Apr 05, 2019 8:35 am

Hi There

Am looking into the way of reducing backorder quantity of sales order line items, thought reducing the quantity should do the job, but it won’t, can you please advise
Riyaz
Kohai
Kohai
 
Posts: 254
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Re: Reduce back order quantity  Topic is solved

Postby Mike.Sheen » Fri Apr 05, 2019 10:02 am

Riyaz wrote:Hi There
Am looking into the way of reducing backorder quantity of sales order line items, thought reducing the quantity should do the job, but it won’t, can you please advise


Hi Riyaz,

Which property are you reducing? Reducing the QuantityOrdered should work - but only on snapshot (history) 1 of the sales order - the property setter for QuantityOrdered will just return without changing anything otherwise.

If you are on snapshot 2 or later, then you cancel backorders by either increasing the QuantityDemand property or decreasing the QuantityBackOrdered property.

There are some other properties which also affect if changing these properties does anything - but I won't complicate things with those unless the above doesn't work for you.

Mike
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: 2583
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 807


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 4 guests

cron