"Cannot edit a record in Vendor transactions (VendTrans)" error message when you match a purchase invoice with a purchase order in Microsoft Dynamics AX 2009 Service Pack 1

Symptoms

Assume that you create a purchase invoice by creating an invoice register journal for a vendor in Microsoft Dynamics AX 2009 Service Pack 1 (SP1). You approve the invoice manually in the Vendor transactions dialog box. In this situation, when you match the invoice with a purchase order, you receive the following error message:

Cannot edit a record in Vendor transactions (VendTrans). The record has never been selected.Operation canceled.

Additionally, you cannot post the invoice from the Purchase order dialog box.

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:

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:

Review the changes that are documented in the .xpo file.

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:

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 the 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

11-Mar-2011

08:30

x86

Kb2521282glp.xpo

Not applicable

45,924,899

11-Mar-2011

07:43

Not applicable

Metadata.xml

Not applicable

72

11-Mar-2011

07:43

Not applicable

Kb2521282glp.xpo

Not applicable

46,074,368

11-Mar-2011

07:51

Not applicable

Metadata.xml

Not applicable

72

11-Mar-2011

07:51

Not applicable

Kb2521282glp.xpo

Not applicable

4,018,089

11-Mar-2011

07:45

Not applicable

Metadata.xml

Not applicable

72

11-Mar-2011

07:45

Not applicable

Kb2521282glp.xpo

Not applicable

14,651,175

11-Mar-2011

07:54

Not applicable

Metadata.xml

Not applicable

72

11-Mar-2011

07:54

Not applicable

Kb2521282.xpo

Not applicable

50,479,976

11-Mar-2011

07:40

Not applicable

Metadata.xml

Not applicable

72

11-Mar-2011

07:40

Not applicable

Kb2521282.xpo

Not applicable

52,462,365

11-Mar-2011

07:48

Not applicable

Metadata.xml

Not applicable

72

11-Mar-2011

07:48

Not applicable

Kb2521282.xpo

Not applicable

41,412,511

11-Mar-2011

07:44

Not applicable

Metadata.xml

Not applicable

72

11-Mar-2011

07:44

Not applicable

Kb2521282.xpo

Not applicable

41,044,079

11-Mar-2011

07:38

Not applicable

Metadata.xml

Not applicable

72

11-Mar-2011

07:38

Not applicable

Kb2521282.xpo

Not applicable

49,650,874

11-Mar-2011

07:53

Not applicable

Metadata.xml

Not applicable

72

11-Mar-2011

07:53

Not applicable

Axsetupsp.exe

5.0.1100.40

1,656,680

11-Mar-2011

08:27

x86

Cabextractor.dll

Not applicable

18,800

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.dll

5.0.1100.9

150,440

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

538,488

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

17,336

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

534,392

11-Mar-2011

08:36

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

530,296

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

534,392

11-Mar-2011

08:26

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,824

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

534,392

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,824

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

530,296

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

530,296

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

538,488

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,824

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

538,488

11-Mar-2011

08:26

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1500.1212

16,320

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

534,392

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,824

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

530,296

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

530,296

11-Mar-2011

08:26

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

542,584

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

17,848

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

530,296

11-Mar-2011

08:26

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

534,392

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

530,296

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

530,296

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

534,392

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,824

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

534,392

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

546,680

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

18,872

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

530,296

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

558,968

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

20,408

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

530,296

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

16,312

21-Feb-2011

05:15

x86

Axsetupsp.resources.dll

5.0.1100.40

526,200

11-Mar-2011

08:27

x86

Microsoft.dynamics.setup.reportingservices.resources.dll

5.0.1000.45

15,800

21-Feb-2011

05:15

x86

Cabextractor.dll

Not applicable

22,384

11-Mar-2011

08:30

x64

Objects that are affected

This hotfix affects the following object:

\Classes\PurchFormLetter_ApproveJournal\approveVendTrans

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:

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.