Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"CustBillingManagedCodeExecutor object not initialized" error message when you create a free text invoice line in Microsoft Dynamics AX 2012


View products that this article applies to.

This article applies to Microsoft Dynamics AX for all regions.

↑ Back to the top


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.

↑ Back to the top


Cause

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

↑ Back to the top


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.

↑ Back to the top


Workaround

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

↑ Back to the top


Status

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

↑ Back to the top


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.

↑ Back to the top


Keywords: kberrmsg, kbsurveynew, kbnoloc, kbexpertiseinter, kbexpertisebeginner, kbmbspartner, kbmbsquickpub, kbmbsmigrate, kb, kbqfe, kbexpertiseadvanced

↑ Back to the top

Article Info
Article ID : 2580457
Revision : 1
Created on : 1/7/2017
Published on : 11/17/2011
Exists online : False
Views : 330