Skip to main content

sgrRelRelacaoAutorizacaoEmbarqueV2

Shipment authorization report.

SoapAction

PARAMETERS

FieldTypeReq.Description
keyaccessstringYesKey returned by the sgrLogin method.
cdpasintegerYesPAS code, returned by the sgrListaPASUsuario method
cdclienteintegerYesCustomer code, returned by the sgrListaEmpresasPASUsuario method.
nrAEintegerNoShipment authorization number.
cdCityOriginintegerNoOrigin city code, returned by the sgrListCities method.
cdDestinationCityintegerNoDestination city code, returned by the sgrListCities method.
cdMot1integerNoDriver code, returned by the sgrConsultaPF method
cdCavalointegerNoVehicle code, returned by the sgrConsultaVeic. method
cdCarreta1integerNoCart code, returned by the sgrConsultaVeic. method
cdCarreta2integerNoTruck code, returned by the sgrConsultaVeic.
flAndamentoBooleanNoFilter by shipments in progress.
flAwaitingIniBooleanNoFilter by shipments that are waiting to start.
flCompletedBooleanNoFilter by completed shipments.
flCanceledBooleanNoFilter by canceled shipments.
dtPrevStartdatetimeNoStart date for the search.
dtPrevEnddatetimeNoEnd date for the search.
flVinicculostringNoEmployee's relationship with the company. Send 'f' or 'F' for employee, 'a' or 'A' for aggregate, or 't' or 'T' for outsourced.

METHOD RETURN:

ReturnDataset: If the parameters are filled in correctly, the property will display:

FieldTypeDescription
CUSTOMERstringCustomer name
DSCIDORIGDESTstringOrigin and destination cities
DRIVERstringDriver's name and social security number
NRAEintegerShipment authorization number
NRPLACACAVALOchar(8)Horse license plate
NRPLACACARRETAchar(8)License plate of trailer
NRPLACACARRETA2char(8)trailer plate 2
SITUATIONstringTrip status (Waiting, In Progress, Completed or Canceled)
FLVINCULOstringEmployee link ((FUNC), (AGR) or (TERC))
CDOPEMISSORintegerTrip issuer code
OPEMISSORchar(10)Trip issuer login
DTPREVINIDBdatetimeEstimated start date (sort filter)
DTPREVFIMDBdatetimeExpected end date (sort filter)
DTINIDBdatetimeActual start date (sort filter)
DTFIMDBdatetimeActual end date (sort filter)
DTPREVINIstringEstimated start date and time
DTPREVFIMstringEstimated end date and time
DTINIstringActual start date and time
DTFIMstringActual end date and time
CDTRANSPintegerCarrier code
DSTRANSPORTORAstringCarrier name