Material consumption posting incomplete

If the user tries to post material consumption document but has not selected all the Accounting Item Types present on that document, the following message as additional information will appear:
In this case, created journal entry lines should be deleted. Then the correct Accounting Item Types should be selected and the process od automatic posting repeated again.