Sales Orer default Bin Locations only  Topic is solved

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

Sales Orer default Bin Locations only

Postby SBarnes » Wed Mar 27, 2019 6:12 pm

Can you force Jiwa to only use stock that has its bin location the same as the default bin location for a given/active warehouse?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191

Re: Sales Orer default Bin Locations only  Topic is solved

Postby Mike.Sheen » Wed Mar 27, 2019 6:21 pm

Yes - a system setting - GrabSOHFromDefaultBin - under the Inventory tab of System Configuration will do that.
You can override that setting in code as you need as well if you only want to do this selectively and not change the system setting, as we keep a memory cache of relevant settings for our business logic that uses them - so for sales orders it'd be:
Code: Select all
SalesOrder.SystemSettings.GrabSOHFromDefaultBin = true;
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

Re: Sales Orer default Bin Locations only

Postby SBarnes » Wed Mar 27, 2019 6:25 pm

Thanks but what happens if there is no stock in the default bin will it put it to back order?
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1696
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 191

Re: Sales Orer default Bin Locations only

Postby Mike.Sheen » Wed Mar 27, 2019 6:35 pm

SBarnes wrote:Thanks but what happens if there is no stock in the default bin will it put it to back order?

Yes, it will go on backorder. If a user is using the Sales Order form, however, and there is stock in bins other than the default bin and there is not enough in the default bin, then the user is presented with a serial/stock selection dialog to specify if they want to take stock from alternative bins. This only applies when interacting using the form - an event is raised by the business logic and if a form is attached it'll prompt the user with that dialog.
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 0 guests