sgrListaMotivoCancelaPedido
Returns a list of the reasons for canceling the order.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListPASUser method. |
| cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
METHOD RETURN
| Field | Type | Description |
|---|---|---|
| cdOrderCancellationReason | integer | Order cancellation reason code |
| dsOrderCancelReason | varchar(100) | Order cancellation reason |