FIX: Line Item ordering may not work correctly when you use the UpdatePurchaseOrderProperties method to partly update an order in Commerce Server 2009

Article translations Article translations
Article ID: 2492805 - View products that this article applies to.
Expand all | Collapse all

On This Page

SYMPTOMS

When you use the UpdatePurchaseOrderProperties method in Microsoft Commerce Server 2009 to update only some line items in an order, Line Item ordering may be changed. Therefore, the components of Commerce Server that depend on Line Item ordering may not work correctly.

For example, shipments in Commerce Server will point to the line items in a shipment by using an index. The index is based on the sequence of the line items in an order form. When you update an order, the sequence of the line items may be changed so that the indexes on the shipments point to an incorrect line item.

CAUSE

The issue occurs because the LineItemOrdering column is updated when the line item is changed. However, the LineItemOrdering column should be set only when a line item is created and should not be updated when the line item is changed.

RESOLUTION

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing the problem described in this article. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft website:
http://support.microsoft.com/contactus/?ws=support
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

To apply this hotfix, you must have Commerce Server 2009 or Commerce Server 2009 Template Pack for SharePoint 2010 installed.

Restart requirement

You do not have to restart the computer after you apply this hotfix. However, you must restart Internet Information Services (IIS) after you apply this hotfix. To restart IIS, open a Command Prompt window, type the following command, and then press ENTER:
iisreset /restart
Note This option stops and then restarts all IIS services that are running.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File Information

The global version of this hotfix uses a Microsoft Windows Installer package to install the hotfix. The dates and the times for these files are listed in Coordinated Universal Time (UTC) in the following table. When you view the file information, the date 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.
For Commerce Server 2009
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cs2009hotfixhelper.exe6.0.4171.3613,08020-Jan-201114:53x86
Microsoft.catalogserver.dll6.0.4171.36756,52020-Jan-201114:53x86
Microsoft.commerceserver.runtime.dll6.0.4171.36850,74420-Jan-201114:53x86
Microsoft.commerceserver.catalog.dll6.0.4171.36961,33627-Jan-201107:27x86
For Commerce Server 2009 Template Pack for SharePoint 2010
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Cspatchhelper.exe6.0.4171.50617,16817-Jan-201113:12x86
Microsoft.catalogserver.dll6.0.4171.506756,52017-Jan-201113:12x86
Microsoft.commerceserver.runtime.dll6.0.4171.506850,74417-Jan-201113:12x86
Microsoft.commerceserver.catalog.dll6.0.4171.506961,33617-Jan-201112:49x86

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 about the UpdatePurchaseOrderProperties method, visit the following Microsoft Developer Network (MSDN) website:
UpdatePurchaseOrderProperties Method
For a description of the Line Items table, visit the following MSDN website: 
LineItems Table

Properties

Article ID: 2492805 - Last Review: February 23, 2011 - Revision: 1.0
APPLIES TO
  • Microsoft Commerce Server 2009 Enterprise
  • Microsoft Commerce Server 2009 Standard
Keywords: 
kbautohotfix kbqfe kbhotfixserver kbfix KB2492805

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com