Skip to content

fix(check-order-item): Only delte MMOrderItemId if cancelled or with error

Do not delete MMOrderItemID from ticket when this DF has not been found. OTRS can have sincronicity problems that turn into this situation:

Check Order Item WebService is launched with OTRS tickets, when some of them have not yet recieved their MMOrderItemId DF. After this, some of them recieve their MMOrderItemId, but afterwards the result from the launched check job returns with the error and deletes it, leaving only a trace in the history.

Merge request reports