As MORI processes each record it will generate a Note Index (MOHdr.NOTEINDX). It records all errors for an MO in a note in the Record Notes table (SY03900).
If there are any errors, you will need to correct them, and set STATUS in MOHdr back to zero for the affected records.
The MORI errors can be viewed in the Error Log window, and the Status reset from there so the MO can be reprocessed. See the Error Log chapter for more information.
You may want to create a report or query to review any unprocessed records and records with errors. A simple SQL query to view the error records is:
select a.MANUFACTUREORDER_I, b.TXTFIELD
from W7158MOHdr a (nolock)
join SY03900 b (nolock) on
a.NOTEINDX = b.NOTEINDX
where a.STATUS = 1