sgrEditarMotivoCancelaPedido
Method for editing order cancellation reasons.
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 sgrListaEmpresasUuario method. |
cdop | Integer | Yes | Code of the operator responsible for the last change to the record |
dsmotivocancelapedido | string | Yes | Order 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.