Parent stockroom list is empty when trying create a stock rule.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 09:19 AM
When I try to create a new stock rule in my PDI the parent stockroom list does not display any stockrooms despite there being multiple stockrooms already created in the instance. Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 10:49 AM
So, it appears that you must have a quantity of the item in another stockroom to create the rule. Not sure why that would matter. What if your parent stockroom is out of stock when the job runs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 01:07 PM
Actually "Parent stockroom" is a field present on the alm_stockroom table and hence it displays the data in the "Parent stockroom" field in the stock rule table.
However, this field is not present at all in the alm_stockroom table in the PDI. But it is present in a client instance. This is the main issue of your problem. I would suggest you also to check this in one of your client instance and you will see the difference.
Parent stockroom per the best practices of ServiceNow will have enough records and will be never be out of stocks/assets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-21-2023 04:51 PM
That makes no sense as to why it would be excluded from the PDI. How are we supposed to test and learn? I can't seem to find the Stock Rule Runner job in the Scheduled Jobs list either.