NF-e file is rejected when you run the NF-e Import process for a returned order that has the "Access key" value involved in Microsoft Dynamics AX 2009 SP1 with the Brazil localization layer installed

適用先
Dynamics AX 2009 Service Pack 1

This article applies to Microsoft Dynamics AX for the Brazilian (br) region.

Symptoms

Assume that you have a returned order for a purchase invoice that has the Access key field specified in Microsoft Dynamics AX 2009 Service Pack 1 (SP1) with the Brazil localization layer installed. When you run the NF-e Import process for the returned order, and then send the NF-e file to the government, the file is rejected. Additionally, you receive the following error message:

Note

225 - Rejection: Failure in the XML Schema of the NF-e batch.

Cause

This problem occurs because the <refNFe> tag that contains the Access key value is missing in the XML file.

Resolution

Hotfix information

A supported hotfix is available from Microsoft. There is a "Hotfix download available" section at the top of this Knowledge Base article. If you are encountering an issue downloading, installing this hotfix, or have other technical support questions, contact your partner or, if enrolled in a support plan directly with Microsoft, you can contact technical support for Microsoft Dynamics and create a new support request. To do this, visit the following Microsoft website:

https:⁠//mbs.microsoft.com/support/newstart.aspx You can also contact technical support for Microsoft Dynamics by phone using these links for country specific phone numbers. To do this, visit one of the following Microsoft websites:

Partners

https:⁠//mbs.microsoft.com/partnersource/support/ Customers

https:⁠//mbs.microsoft.com/customersource/support/information/SupportInformation/global_support_contacts_eng.htm In special cases, charges that are ordinarily incurred for support calls may be canceled if a Technical Support Professional for Microsoft Dynamics and related products determines that a specific update will resolve your problem. The usual support costs will apply to any additional support questions and issues that do not qualify for the specific update in question.

Installation information

If you have customizations for one or more of the methods or the tables that are affected by this hotfix, you must follow these steps:

  1. Review the changes that are documented in the .xpo file.
  2. Apply these changes in a test environment before you apply the hotfix in a production environment.

                
 For more information about how to install this hotfix, click the following article number to view the article in the Microsoft Knowledge Base:

893082 How to install a Microsoft Dynamics AX hotfix

Prerequisites

You must have Microsoft Dynamics AX 2009 Service Pack 1 with the Brazil localization layer installed to apply this hotfix.

Restart requirement

You must restart the Application Object Server (AOS) service after you apply the hotfix.

File information

The Brazilian version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.

File name File version File size Date Time Platform
Axupdate.exe Not applicable 61,288 27-Mar-2012 14:31 x86
Kb2694012glp.xpo Not applicable 51,426,422 27-Mar-2012 14:20 Not applicable
Metadata.xml Not applicable 72 27-Mar-2012 14:20 Not applicable
Kb2694012.xpo Not applicable 65,602,209 27-Mar-2012 14:23 Not applicable
Metadata.xml Not applicable 72 27-Mar-2012 14:23 Not applicable
Axsetupsp.exe 5.0.1100.45 1,636,200 27-Mar-2012 14:28 x86
Cabextractor.dll Not applicable 18,800 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.dll 5.0.1100.9 150,440 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 538,488 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 17,336 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 27-Mar-2012 14:28 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 27-Mar-2012 14:28 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 27-Mar-2012 14:28 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 538,488 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 538,488 27-Mar-2012 14:31 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1500.1212 16,320 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 27-Mar-2012 14:31 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 27-Mar-2012 14:28 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 27-Mar-2012 14:31 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 542,584 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 17,848 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 27-Mar-2012 14:28 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 27-Mar-2012 14:28 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 27-Mar-2012 14:31 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 546,680 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 18,872 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 558,968 27-Mar-2012 14:28 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 20,408 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 27-Mar-2012 14:30 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 19:50 x86
Axsetupsp.resources.dll 5.0.1100.40 526,200 27-Mar-2012 14:28 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 15,800 15-Nov-2011 19:50 x86
Cabextractor.dll Not applicable 22,384 27-Mar-2012 14:31 x64

Validation of the application hotfix installation

To validate the installation of the application hotfix, open the SysHotfixManifest class in the Application Object Tree (AOT). Then, verify that there is a method whose name includes the Knowledge Base (KB) article number of the installed hotfix. Additionally, you can cross-check the affected objects by comparing the KBXXXXXX.txt file against the objects in the AOT. By doing this, you can make sure that the objects are changed correctly in the SYP layer or in the GLP layer.

Note The XXXXXX placeholder represents the KB article number of the installed hotfix.

Status

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

More Information

For more information, click the following article number to view the article in the Microsoft Knowledge Base:

974255 Impact Analysis feature for Dynamics AX 2009

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.