This service will cancel part from an open order. You must call the orderStatus service first. This will give you the proper orderNumber, pid, and lineNumber.

WSDL Link

Basic Request elements

elementValue
xmlUserassigned by Encompass
xmlPasswordassigned by Encompass
serviceNameXML.ORDER.CANCEL
serviceModeSOAP

Additional Request elements

elementrequireddescriptionsample data
customerTypencustomer type (not used for all accounts)SERVICEGROUP
customerNumberycustomer number12345
useCustomerCrossnmap your customer number to ours (not available for all accounts) (y/n)n
orderNumberyorder number to cancel items from1-23456
partlistyarray of parts informationsee partlist array elements table

partlist array elements

elementrequireddescriptionsample data
lineNumberyline number from order2
pidyinternal part id used from order5937132
cancelQuantityyquantity of part to cancel1

Returned elements

elementdescriptionsample data
This service does not return any elements.

Service errorCode values

errorCodeerrorMessage
-200files did not open
-201invalid xmlUser
-202invalid customer number from customer cross
-203customer number is required
-204invalid customer number
-205orderNumber is required
-206orderNumber is being modified, try later
-207orderNumber does not exist
-208Customer number does not match order
-209orderNumber is already in the cancellation process
-210orderNumber has already been picked
-211core bill back orders may not be cancelled
-212core bill back orders may not be cancelled
-213pid is required
-214invalid product
-215invalid productx
-216invalid lineNumber
-217pid does not exist on lineNumber
-218less then 1 part was ordered
-219invalid cancelQuantity
-220pid is a special order product, please call
-221no valid parts were submitted
-222orderNumber is a drop ship and may not be cancelled
This documentation is only designed as a guide for the corresponding WSDL file.