Procurement Source Request -> One central Stockroom for all locations
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 01:06 AM
Hi all,
we have a customer that is going to start with procurement and asset sourcing.
Therefore they have only one central stockroom and no stockroom per location. So they don't want to create a transfer order for every asset-request. What we need is a possibility to make this central stockroom maybe like a virtual one....to have the stock available on the source request UI Page as "local stock" where ever the requester is located.
Then if there is stock in this central stockroom the agent would be able click the "consume" button.
My first idea was to edit the filter of the local stock html item to make the button available. But I can't find this widget. And I was not able to find a reference in the UI page.
Has anyone a solution for this or an idea how we can handle it?
Thanks and kind regards,
Dominique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-13-2022 02:02 AM
Ok, I think I found a solution. In der Script Include "ProcSourceRequestManager" I edited two lines:
157: put the same code in this line like the above. This make the widget part "Local Stock" available.
item['total_instock'] = this._getTotalInstockForModel(item.cat_item.model, excludeStockroom);
item['local_instock'] = this._getTotalInstockForModel(item.cat_item.model, excludeStockroom);
// item['local_instock'] = this._getLocalInstockForModel(item, excludeStockroom);
410: just comment out this line to have the stockroom, stock and quantity available.
if ('local_order' === String(orderType)) {
// gr.addQuery('stockroom.location', 'IN', userLocation);
} else {
Of course you need to know, that with this customizations the "Transferable Stock" will always be 0.
I tested it and it seams to work out for our requirements.
Kind regards,
Dominique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2023 04:56 AM
Can this be applied if the stockroom is at the root or parent location?
so you can have multiple locations on users (i.e. floors) but it will show stock is available if the stockroom is the building as this is the parent value?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-16-2024 10:47 AM
This is possible with the OOTB code in Vancouver now. Add the top level locations in your location heirarchy as Service locations to the central stockroom and it will magically become a local stockroom to all locations.