Skip to main content
Avalara Help Center

Cannot Create a Record in Header (AVA Header)

Overview

AX 2012 error :  Cannot create a record in Header (AVA_Header). The record already exists

 

When attempting to invoice a sales order in AX 2012 R3, we receive the error message "Cannot create a record in Header (AVA_Header). The record already exists." Also receive message "Error executing code: AVA_TaxEngine object not initialized. Stack trace (C)\Classes\AVA_TaxEngine\GetTax - line 441 (C)\Forms\SalesTable\Designs\DesignList\LineTaxTransSource\Methods\Clicked - line 5". We have reset the AVA_Header number range to 100 and Sales Orders still cannot be invoiced due to this error.

Environment

Microsoft Dynamics AX

Resolution

Apply Hotfix AX 6.2.1000.4051.01.08.