Skip to main content

sgrVerificaCombEsc

Warns if the boarding authorization requires a train/escort.

SoapAction

PARAMETERS:

FieldTypeRequired?Description
cdViagintegerYesShipment authorization number.

RETURN METHOD:

ReturnDataset: If the trip is localized, the dataset will display

FieldTypeDescription
MessagestringInforms if the trip requires a train and/or escort
flTrainsmallintIndicates the need for a train for the trip (flTrain = 1)
flEscortsmallintIndicates 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.