sgrRemoverProdutoPedido
Method for picking up products from customer orders.
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. |
cdpedidoproduto | integer | Yes | Code of the product to be removed, returned by the sgrReturnOrder method |
METHOD RETURN
If the parameters are valid, the record will be deleted and will return ReturnDescription = OK.
ReturnDescription: If there is an error when executing the method, the property indicates the error if the product is not found or does not belong to the customer.