You can run MWS980. This program fixes many Item / Warehouse allocation issues by syncing the information in several tables.
Checks:
The allocated quantities in transaction files and stock balance files are synchronized with each other for a specific combination of item and warehouse.
The records in the Material Plan are synchronized against order lines quantities and dates. All types of order categories are included in the check.
If an error is detected, the item/warehouse combination is recorded in a message file.
This routine is used to repair mismatches for allocation, inventory, and planning data in the database.
See Infor Documentation at
https://docs.infor.com/m3udi/16.x/en-us/m3beud/default.html?helpcontent=vya1567529631173.html