sgrListaUltimaAEControleCarga
Returns the last shipment authorization generated with the cargo control number entered.
PARAMETERS
Field | Type | Required? | Description |
---|---|---|---|
keyaccess | string | Yes | Key returned by sgrLogin method. |
cdpas | integer | Yes | PAS code, returned by the sgrListPASUser method |
cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
nrcontrolload | string | Yes | Field for free use by the customer (20 characters). |
METHOD RETURN:
ReturnDataset: If the parameters entered are valid, the property will display:
Field | Type | Description |
---|---|---|
CDVIAG | integer | Shipment Authorization Number |
ReturnDescription: If there is an error when executing the method, the property will display:
Error | Description |
---|---|
There are no authorizations generated for this company and cargo control number! |