Description of Error:
The following error can occur when saving an invoice on the Sales Invoicing screen.
Could not find history code.
Cause of Error:
At least one of the history codes used on the invoice or assigned to an inventory item no longer exists.
Recall each inventory item on the invoice in the Inventory Entry screen. If the history code field is not blank on any of the items, click the pull-down icon in the history code field to ensure it is a valid code. If it is not, either reassign it to a valid history code or leave the field blank and save the item.
After checking all the items, recall the invoice and save it again. That will update the history of any items that had this problem.