sgrListaVeicViagAtraso
Returns information on overdue trips that have not started.
PARAMETERS
Field | Type | Required? | Description |
---|---|---|---|
keyaccess | string | Yes | Key returned by the sgrLogin method. |
cdcli | integer | Yes | Customer code, returned by the sgrListaEmpresasUsuario method. |
dtIni | datetime | Yes | Start date for the search. |
dtEnd | datetime | Yes | End date for the search. |
cdTransp | integer | No | Transport company code. This code is returned by the sgrListaTransportadoras method. |
cdCidOrig | integer | No | Origin city code, returned by the sgrListCities method. |
cdCidDestDocument | integer | No | Destination city code, returned by the sgrListCities method. |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the property will display:
Field | Type | Description |
---|---|---|
CDVIAG | integer | Shipment authorization number |
NRPLACACAVALO | char(7) | Vehicle license plate |
MOTORIST | string | Driver's name |
DTPREVINI | datetime | Estimated start of trip |
DTPREVFIM | datetime | Estimated end of trip |
CARRIER | string | Name of carrier |
CUSTOMER | string | Customer name |
CITYORIGIN | string | City/state of origin of trip |
CITYDESTINATION | string | City/state of destination |
ReturnDescription: This property will indicate if there are no overdue non-Started trips.