Partager via


UpdatePurchaseOrderProperties Method

Updates the properties for the purchase orders as specified in the Xml.

Namespace:  Microsoft.CommerceServer.Orders.WebService
Assembly:  Microsoft.CommerceServer.Orders.DataManagement (in Microsoft.CommerceServer.Orders.DataManagement.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Overridable Sub UpdatePurchaseOrderProperties ( _
    element As XmlElement, _
    applicationId As String _
)
'Usage
Dim instance As OrdersWebService
Dim element As XmlElement
Dim applicationId As String

instance.UpdatePurchaseOrderProperties(element, _
    applicationId)
[WebMethodAttribute]
public virtual void UpdatePurchaseOrderProperties(
    XmlElement element,
    string applicationId
)
[WebMethodAttribute]
public:
virtual void UpdatePurchaseOrderProperties(
    XmlElement^ element, 
    String^ applicationId
)
public function UpdatePurchaseOrderProperties(
    element : XmlElement, 
    applicationId : String
)

Parameters

  • applicationId
    Type: System..::.String
    Identifier for the caller application as defined in the StatusManager table in transactionconfig database.

Remarks

UpdatePurchaseOrderProperties does not perform any validation on the property values. Hence, even if the Status property is not from the AllowedStatus table, no exception is thrown.

In order to perform a UpdatePurchaseOrderProperties, the user must have the OrdersViewer permissions. See Orders System Roles [CS06] for more information about the specific roles in the Order System.

Some order system APIs support distributed transactions. If a cookie with a valid transaction is found the order system enlists as part of that transaction. If a valid transaction is not found the order system initiates a new transaction.

Permissions

See Also

Reference

OrdersWebService Class

OrdersWebService Members

Microsoft.CommerceServer.Orders.WebService Namespace