![]() |
| Items list error |
Upon further review, the issue is due to bad data in the Unit of Measure Schedule (UOMSCHDL) column in the Item Master table (IV00101). In summary, if you have an item record with a blank Unit of Measure Schedule or a Unit of Measure Schedule that does not exist in the Unit of Schedule Master table (IV40201), it will cause the Items list to fail with the error above.
The following query should help in identifying the offending record(s):
' Created by Mariano Gomez, MVP ' This code is licensed under the Creative Commons ' Attribution-NonCommercial-ShareAlike 2.5 Generic license. SELECT * FROM IV00101 WHERE UOMSCHDL NOT IN (SELECT UOMSCHDL FROM IV40201);
Once you have identified the record(s) causing the failure, you can use the Item Maintenance window to correct the problem:
![]() |
| Item Maintenance window |
Until next post!
MG.-
Mariano Gomez, MVP
IntellPartners, LLC
http://www.IntellPartners.com/


2 comments:
Hi Mariano, we are getting a similar error when clicking on the Item List "Cannot insert the NULL into column 'ATYALLOC'". ATYALLOC doesn't have a master pick list like BASEUOFM so instead, I checked if the IV00102 record was missing.
SELECT * FROM IV00101 WHERE ITEMNMBR NOT IN (SELECT ITEMNMBR FROM IV00102);
No luck with that, any suggestions would be appreciated!
Thanks
Maria
Update! I resolved the issue right after sending you the question on getting this insert error for the column ATYALLOC.
Procedure IV_ItemList is executed to populate that listing so I pulled out the query. There is a left outer join of IV00101.MSTRCDTY = IV00102.RCRDTYPE.
For one item the MSTRCDTY value was 0 so it did not match any record in IV00102. I updated it to 1 and ensured the sites were assigned properly through the front end.
No idea how the data went bad but the listing is back on and running.
Maria
Post a Comment