Hi Karla
The error records on transaction COGI are created when you post a goods movement for a production order and there is an error, for example, during the order confirmation.
When you select all the records and save, system tries to post all the records again, so if the error was corrected, the goods movement will be successfully posted.
The most common situation for the described scenario is when you post a goods movement for a component and there is not enough stock. If you receive this material on stock and then simply save the record on COGI, the error will be fixed and the goods movement will be posted, clearing the COGI record.
BR
Caetano