Use Local stockroom for Hardware request fulfillment
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2021 02:19 AM
Hi there,
I am trying to figure out how "Source requests from local stockrooms" needs to be configured.
Is is a new feature available from Quebec.
I have set the property glide.asset.procurement.sourcing.local_stock_transfer to true, which gives me the 3rd option when sourcing a request.
I have to use the sub-worklfow in order to create the proper task(s) to deliver the asset. So far so good.
However I cannot figure out how I can get stock in this local stockroom. It is not a "regular" on-site stockroom. (In fact also my On-site stockroom is only accessible via Transfer)
It should look like this:
With in the documentation I can not find any information that can help me solve this challenge.
Can anyone advise?
Thanks in advance.
- 2,559 Views
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2021 04:30 AM
Yes and the solution is quit simple (once you know it ).
When you want to source from local stock it is important that the Requested for user location is identical to the location of the On-site stockroom.
If that is the case you can source a request from your local stock.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2021 02:41 AM
Hi,
Just working on Asset management in the Quebec release. Sourcing from a Local Stockroom is not working on my side.
Location of Requested for = Location of the Stockroom
Stockroom type = On Site
Requested Items are in stock in the Stockroom
Any suggestions?
Many thanks in advance,
Ed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2021 02:39 AM
property glide.asset.procurement.sourcing.local_stock_transfer has been set to true
and
requested for location = stockroom location
should do the trick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-11-2021 11:39 AM
Hello Community,
I am following the same procedure that you have mentioned.
Requested by Location == Stockroom location
Stockroom location == alm_stockroom (in case of reference)
glide.asset.procurement.sourcing.local_stock_transfer = True
Still I am not seeing the In Stock being updated. Any leads.
Regards
NIlanjan

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-12-2021 09:22 PM
see script include called ProcSourceRequestManager for the conditions. For me I had to make sure the asset was not only in the stockroom that matched the location of the requested for person, but the asset state was in stock and substate is available.
_getLocalInstockForModel: function(item, excludeStockroom) {
if (!item.showCard.local
|| !item.requested_user.location) {
return 0;
}
var count = 0;
var gr = new GlideAggregate('alm_asset');
global.AssetUtils.addHAMPAssetQuery(gr, global.AssetUtils.ASSET_FUNCTION_FEATURE.SOURCING);
gr.addQuery('model', item.cat_item.model);
gr.addQuery('install_status', global.AssetUtils.INSTOCK_STATUS);
gr.addQuery('substatus', global.AssetUtils.AVAILABLE_SUBSTATUS);
if(!gs.nil(excludeStockroom))
gr.addQuery('stockroom', 'NOT IN', excludeStockroom);
gr.addQuery('stockroom.location', item.requested_user.location);
gr.addAggregate('SUM', 'quantity');
gr.groupBy('model');
gr.setOrder(false);
gr.query();
if (gr.next()) {
count = parseInt(gr.getAggregate('SUM', 'quantity'));
}
return count;
},