sgrAdicionarMotivoCancelaPedido
Method for adding order cancellation reasons.
PARAMETERS
Field | Type | Req. | Description |
---|---|---|---|
keyaccess | string | Yes | Key returned by the sgrLogin method. |
cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
cdcliente | Integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
cdop | Integer | Yes | Code of the operator who is registering the record. |
dsmotivocancelapedido | string | Yes | Reason 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.