Skip to main content

sgrEditarMotivoCancelaPedido

Method for editing order cancellation reasons.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasUuario method.
cdopIntegerYesCode of the operator responsible for the last change to the record
dsmotivocancelapedidostringYesOrder cancellation reason.

METHOD RETURN

If the parameters are valid, the record will be changed and will return ReturnDescription = OK.

ReturnDescription: If there is an error when executing the method, the property will display the name of the field that must be filled in.