Service Directory > v31.2 > Resource_Management > Cancel_Purchase_Order
 

Operation: Cancel_Purchase_Order

This service will cancel a Purchase Order


@ - A parameter name with this symbol denotes an XML attribute within the document instead of an XML element.


Contents

 

Web Service

 

Request

 

Response

 

Element(s)

 

Request Element: Cancel_Purchase_Order_Request

Cancel Purchase Order Request
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Purchase_Order_Reference  Purchase_OrderObject  [0..1]  Reference to an existing Purchase Order 
Validation Description
The Purchase Order Provided may not be canceled because it has Supplier Invoices that have not been canceled.   
The Purchase Order Provided may not be canceled because it has Receipts that have not been canceled.   
The Purchase Order Provided is already canceled and may not be canceled again.  The Purchase Order Provided is already canceled and may not be canceled again. 
The Purchase Order Provided may not be canceled because it is closed.   
The Purchase Order provided may not be canceled because it is Pending Close.  The Purchase Order provided may not be canceled because it is Pending Close. 
Current Purchase Order has a Change Order in progress, Please cancel Change Order first.  Current Purchase Order has a Change Order in progress, Please cancel Change Order first. 
The Purchase Order may not be canceled because it has open Advanced Ship Notice.   
 
top
 

Response Element: Cancel_Purchase_Order_Response

Cancel Purchase Order Response
 
Parameter name Type/Value Cardinality Description Validations
@version string [0..1] Web Service version  
Purchase_Order_Reference  Purchase_OrderObject  [0..1]  Canceled Purchase Order Reference   
top
 

Purchase_OrderObject

part of: Cancel_Purchase_Order_Request, Cancel_Purchase_Order_Response
 
Parameter name Type/Value Cardinality Description Validations
@Descriptor  string  [1..1]  Display information used to describe an instance of an object. This 'optional' information is for outbound descriptive purposes only and is not processed on inbound Workday Web Services requests.   
ID  Purchase_OrderObjectID  [0..*]  Contains a unique identifier for an instance of an object.   
top
 

Purchase_OrderObjectID

part of: Purchase_OrderObject
Contains a unique identifier for an instance of an object.
 
Parameter name Type/Value Cardinality Description Validations
#text  string       
@type  WID, Document_Number, Purchase_Order_Reference_ID  [1..1]  The unique identifier type. Each "ID" for an instance of an object contains a type and a value. A single instance of an object can have multiple "ID" but only a single "ID" per "type".   
top
 

Purchase_OrderReferenceEnumeration

part of: Purchase_OrderObjectID
Base Type
string
top