Skip to main content

sgrAdicionarPedido

Method for adding customer orders.

SoapAction

PARAMETERS

FieldTypeRequired?Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListPASUser method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasUuario method.
nrpedidovarchar[20]YesOrder number, for customer control
cdclisolicitorintegerYesClient's client
dtprevinidatetimeYesEstimated start date
dtprevfimdatetimeYesEstimated end date
dsobsvarchar[4000]YesFree 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.