sgrRetornaUltAENrControleCarga
Returns the information from the last AE by customer and by a free field.
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. |
| nrControlLoad | string | no | Field for free use by the customer (20 characters). |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the property will display:
| Field | Type | Description |
|---|---|---|
| CDVIAG | integer | Shipment authorization number |
| NRCPFMOT1 | char(11) | Driver's CPF |
| CDMOT1 | integer | Driver code |
| NRPLACACAVALO | char(7) | Vehicle license plate |
| DSNOME | string | Driver's name |