sgrVerificaCombEsc
Warns if the boarding authorization requires a train/escort.
PARAMETERS:
Field | Type | Required? | Description |
---|---|---|---|
cdViag | integer | Yes | Shipment authorization number. |
RETURN METHOD:
ReturnDataset: If the trip is localized, the dataset will display
Field | Type | Description |
---|---|---|
Message | string | Informs if the trip requires a train and/or escort |
flTrain | smallint | Indicates the need for a train for the trip (flTrain = 1) |
flEscort | smallint | Indicates the need for an escort for the trip (flEscort = 1) |
After creating the AE, it is also recommended to execute the sgrVerificaHorarioParaRodar method, to warn of possible time restrictions for the vehicle to travel on the route of the trip created.