Changing the Order Status of a Configuration

The Configurator XML interface lets you change the order status of a previously saved configuration.

The order change request is processed separately from other elements in the request. In addition, it supersedes any other elements included in the same request. Therefore, if the orderChange attribute is included in the request and its value is true, then the only operation performed during that post to the servlet will be the order change. Any other elements/attributes in the request are ignored. This chapter describes how to change the order status of a configuration using COPXML.

Click to jump to top of pageClick to jump to parent topicElements and Attributes

The COP XML request must include these attributes to change the order status of a configuration.

CONFIGURATION configId solutionId orderChange newState

The COP XML response may include these elements and attributes to return information about an order change request.

OrderChange configId solutionId newState stateChanged

Attributes are:

configId

Specifies the id of the configuration for which you want to change the status.

solutionId

Indicates the solution for the configuration.

orderChange

Indicates that this is a order change operation.

newState

Indicates the new state value for the order status. Valid values are Save, Submit, Cancel, and Delete.

Example order change request:

<CONFIGURATION configId="1004316094" solutionId="BMWTest" orderChange="true" newState="Submit"/>

Click to jump to top of pageClick to jump to parent topicOrder Change and Response

The OrderChange element and its attributes configId, solutionId, newState, and stateChanged are returned in the response from an orderChange request.

The attribute stateChanged indicates the results of the order change operation. The attribute newState indicates the new order status value.