The intercompany purchase order and the original sales order are fully invoiced even though you post the invoice that deletes one item line for the intercompany sales order in Microsoft Dynamics AX 2009 Service Pack 1

Applies To
Dynamics AX 2009 Service Pack 1

This article applies to Microsoft Dynamics AX for all regions.

Symptoms

Consider the following scenario in Microsoft Dynamics AX 2009 Service Pack 1:

  • You have a sales order that contains several item lines.
  • You create a direct delivery for the sales order. Therefore, the system creates the corresponding intercompany purchase order and intercompany sales order.
  • You change the unit price of one item line for the intercompany sales order to zero (0).
  • You post a packing slip for the intercompany sales order.
  • You delete the item line that has zero net amount in the Posting invoice dialog box for the intercompany sales order.
  • You post the invoice for the remaining item lines for the intercompany sales order.

In this scenario, the intercompany purchase order and the original sales order are fully invoiced. However, the intercompany purchase order and original sales order should not be fully invoiced.

Cause

This problem occurs because the intercompany does not know that one of the item lines is deleted during posting the invoice. Therefore, it will post the full packing slip even though the sales side posts part of the packing slip. 

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 installed to apply this hotfix.

Restart requirement

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

File information

The global 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 06-Mar-2012 21:11 x86
Kb2685887glp.xpo Not applicable 51,302,688 06-Mar-2012 20:55 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 20:55 Not applicable
Kb2685887glp.xpo Not applicable 52,935,035 06-Mar-2012 21:02 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 21:02 Not applicable
Kb2685887glp.xpo Not applicable 4,298,073 06-Mar-2012 20:57 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 20:57 Not applicable
Kb2685887glp.xpo Not applicable 15,021,827 06-Mar-2012 21:05 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 21:05 Not applicable
Kb2685887.xpo Not applicable 65,384,792 06-Mar-2012 20:52 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 20:52 Not applicable
Kb2685887.xpo Not applicable 65,787,809 06-Mar-2012 20:59 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 20:59 Not applicable
Kb2685887.xpo Not applicable 54,934,699 06-Mar-2012 20:57 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 20:57 Not applicable
Kb2685887.xpo Not applicable 54,885,745 06-Mar-2012 20:50 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 20:50 Not applicable
Kb2685887.xpo Not applicable 63,394,014 06-Mar-2012 21:04 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 21:04 Not applicable
Kb2685887bup.xpo Not applicable 2,456,915 06-Mar-2012 18:19 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 18:19 Not applicable
Kb2685887bup.xpo Not applicable 2,507,641 06-Mar-2012 18:20 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 18:20 Not applicable
Kb2685887bup.xpo Not applicable 4,808,790 06-Mar-2012 18:22 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 18:22 Not applicable
Kb2685887bup.xpo Not applicable 2,867,892 06-Mar-2012 18:24 Not applicable
Metadata.xml Not applicable 72 06-Mar-2012 18:24 Not applicable
Axsetupsp.exe 5.0.1100.45 1,636,200 06-Mar-2012 21:14 x86
Cabextractor.dll Not applicable 18,800 06-Mar-2012 21:13 x86
Microsoft.dynamics.setup.reportingservices.dll 5.0.1100.9 150,440 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 538,488 06-Mar-2012 21:14 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 17,336 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 06-Mar-2012 21:10 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 06-Mar-2012 21:14 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 06-Mar-2012 21:10 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 538,488 06-Mar-2012 21:14 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 538,488 06-Mar-2012 21:14 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1500.1212 16,320 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 06-Mar-2012 21:13 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 06-Mar-2012 21:14 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 542,584 06-Mar-2012 21:13 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 17,848 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 06-Mar-2012 21:14 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,824 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 534,392 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 546,680 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 18,872 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 06-Mar-2012 21:13 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 558,968 06-Mar-2012 21:11 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 20,408 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 530,296 06-Mar-2012 21:14 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 16,312 15-Nov-2011 18:50 x86
Axsetupsp.resources.dll 5.0.1100.40 526,200 06-Mar-2012 21:14 x86
Microsoft.dynamics.setup.reportingservices.resources.dll 5.0.1000.45 15,800 15-Nov-2011 18:50 x86
Cabextractor.dll Not applicable 22,384 06-Mar-2012 21:11 x64

Objects that are affected

This hotfix affects the following object:

  • \Classes\formletter
  • \Classes\salesformletter
  • \Forms\saleseditlines

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.