Nice! That work order attribute defaults from the SITEIGNORESRMAVAIL MAXVAR value, so instead of changing the object attribute defaults, I would get the MAXVAR value updated to the desired value and let it default onto work orders as per normal processing. The option of interest is in Organizations > Work Order Options > Site Options > "Ignore storeroom availability for work order status". You will have to update that value on all of the existing work orders, but otherwise, the site option change should handle it.
Original Message:
Sent: 12-23-2020 11:45
From: Bill Steudler
Subject: Work Order Storeroom & Direct Issue Material Feature and Function
Hi Mark,
Thank your for your recommendation. I could not find ignoresrmavail on the wpmaterial mbo. However, I did find it on the workorder mbo. In our environment, the default was "1". Changing the default to "0" and testing-- Resulted in the cron task updating the work order record. I also made this change in woactivity, wochange & worelease mbos where the attribute exists.
Your recommendations were valuable. I could not find any other documentation that regarding this and highly unlikely I would of found this on my own.
------------------------------
Bill Steudler
The Pennsylvania State University
------------------------------
Original Message:
Sent: 12-22-2020 16:34
From: Mark Eaton
Subject: Work Order Storeroom & Direct Issue Material Feature and Function
Hey Bill,
My mistake on the cron task name, you got it right. There does not appear to be any parameters for the cron task instance. I looked at the cron task code and, in the end, it calls the same method that the online screen does (WO mbo method = setAvailibilityStatus), but it implements a filter on the work orders being considered for update. Essentially, it only considers work orders with a wpmaterial record that has ignoresrmavail = 0. You might check to see if that flag is set to 0 or 1 on your planned material records.
------------------------------
Mark Eaton
Projetech
Original Message:
Sent: 12-22-2020 09:15
From: Bill Steudler
Subject: Work Order Storeroom & Direct Issue Material Feature and Function
Mark,
Thank you for the reply.
First a bit more information on recent discoveries, I checked the IBM preview sites for 7.6.0 and 7.6.1 and found the version 7.6.1 to function as expected and updates the store room status as materials are available. Whereas, 7.6.0 did not. I found in organization setting that 7.6.1 radio button selection for Inventory Defaults was "Allow Negative Available Balance" under the Negative Balance Options. When this change was made in our environment, we experienced the behavior that we expect and want.
Yes the cron task is active. However, it is not updating the record. Our cron task is WOMaterialStatusUpdateCronTask (Instance Name: WOMaterialStatusUpdate) and not WOMaterialStat cron task. The good news - the manual update action button in work order tracking application works. In our cron task, I noticed the parameter section is empty. Does content need to be populated to make this work?
------------------------------
Bill Steudler
The Pennsylvania State University
Original Message:
Sent: 12-21-2020 09:06
From: Mark Eaton
Subject: Work Order Storeroom & Direct Issue Material Feature and Function
Bill,
Do you have the WOMaterialStat cron task activated?
------------------------------
Mark Eaton
Projetech