sgrAdicionarPedido
Method for adding 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 sgrListaEmpresasUuario method. |
nrpedido | varchar[20] | Yes | Order number, for customer control |
cdclisolicitor | integer | Yes | Client's client |
dtprevini | datetime | Yes | Estimated start date |
dtprevfim | datetime | Yes | Estimated end date |
dsobs | varchar[4000] | Yes | Free field for order comments |
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.