Skip to main content

sgrRelColetaEntregaListaEntregas

Delivery 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.
dstartdatetimeYesStart date for the search.
dtfinaldatetimeYesEnd date for the search.
cdtranspintegerNoTransport company code. This code is returned by the sgrListaTransportadoras method.
cdpaisorigemveicstringNoVehicle licensing country code. This code is returned by the sgrListCountries method.
nrplacastringNoVehicle license plate (7 characters).
typorelatoriostringNoType of report selected. Filter by the pickups and deliveries made in the period ('R') or by those planned ('P').
cddestintegerNoRecipient code, returned by the sgrListaDestinatarios method.
nrfrotastringNoVehicle fleet number.

METHOD RETURN:

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

FieldTypeDescription
CDTRANSPintegerCarrier code
CARRIERstringCarrier name
NRFLEETchar(7)Fleet number
NRSEQintegerDelivery sequence
DTINITIdatetimeStart date (filter)
DTFIMdatetimeEnd date (filter)
CDVIAGintegerShipment authorization number
NRDOCstringDocument number
FLTPDOCsmallintDocument type code
DSDOCUMENTstringDocument type
NRPLACACAVALOchar(7)Horse license plate
NRPLACACARRETAchar(7)Trailer license plate 1
NRPLACACARRETA2char(7)Trailer plate 2
VLVALUEMoneyDocument value
FLSITUATIONsmallintDocument status
DSSITUATIONstringDocument situation (Description
FLTPOPERsmallintType of operation
DSTPOPERstringTransaction type description
DTPREVISTAdatetimeEstimated delivery date
DTREALIZEDdatetimeRealized delivery date
DSRUAstringDelivery address
NRRUAchar(6)Delivery address number
DSBAIRROstringDelivery neighborhood
NRCEPchar(8)delivery zip code
DSNAMEstringRecipient's name
VLQTDEVOLintegerAmount of cargo volume
VLQTDEPECASintegerNumber of pieces of cargo