Skip to main content

sgrAdicionarMotivoCancelaPedido

Method for adding order cancellation reasons.

SoapAction

PARAMETERS

FieldTypeReq.Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteIntegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
cdopIntegerYesCode of the operator who is registering the record.
dsmotivocancelapedidostringYesReason for canceling the order.

METHOD RETURN

If the parameters are valid, the record will be added 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.