This article applies to Microsoft Dynamics AX for all regions.

Symptoms

Assume that you create a free text invoice line in Microsoft Dynamics AX 2012. When you select a billing code that contains a rate script, you receive the following stack trace error message:

Error executing code: CustBillingManagedCodeExecutor object not initialized.

Additionally, the invoice line amount is not calculated.

Cause

This problem occurs because the rate script that is contained in the billing code is not recompiled afterward.

Resolution

This problem is fixed in Cumulative Update 2 for Microsoft Dynamics AX 2012.
For more information about Cumulative Update 2 for Microsoft Dynamics AX 2012, click the following article number to view the article in the Microsoft Knowledge Base:

2606916 Cumulative Update 2 for Microsoft Dynamics AX 2012

Note The hotfix replaces the stack trace error message by using a friendly error message that tells the user to contact a system administrator. The system administrator is instructed to recompile the rate script for the billing code.

Workaround

To work around this problem, compile the rate script for the billing code.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Any additional feedback? (Optional)

Thank you for your feedback!

×