Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

Show Page Sections

download

Reverting Cancelled Customer Purchase Orders

This API reverts the cancellation of a customer purchase order.

API Details

API

Signature

undoCancelCustomerPO

webService static Apttus_Config2.CPQStruct.UndoCancelCustomerPOResponseDOundoCancelCustomerPO(Apttus_Config2.CPQStruct.UndoCancelCustomerPORequestDO)

Parameters

Name

Type

Description

request

Apttus_Config2.CPQStruct.UndoCancelCustomerPORequestDO

The request data object.

Request Data Object - Apttus_Config2.UndoCancelCustomerPORequestDO

Field

Type

Required?

Description

CustomerPOId

ID

Yes

Unique identifier of the latest version of cancelled customer purchase order.

API Response

Response Data Object - CPQStruct.UndoCancelOrderResponseDO

Field

Type

Description

PreviousCustomerPurchaseOrderSO

Standard Data Object

The fields of the previous customer purchase order object.

Code Sample

The following sample allows you to roll back cancellation of a customer purchase order.

//undocancel customerPurchaseOrder
CPQStruct.UndoCancelCustomerPORequestDO request = new CPQStruct.UndoCancelCustomerPORequestDO();
request.CustomerPOId = CustomerPOId;

CPQStruct.UndoCancelCustomerPOResponseDO result = CustomerPOWebService.undoCancelCustomerPO(request);
system.debug(result.PreviousCustomerPurchaseOrderSO);