sgrListaInformacoesEventosV2
Lists information on the events generated.
PARAMETERS
Field | Type | Req.? | Description |
---|---|---|---|
accesskey | string | Yes | Key returned by the sgrLogin method. |
nrCliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
id | integer | No | Integration document code. Returns the registered documents from the searched code. |
METHOD RETURN:
ReturnDataset: If the access key entered is valid, the dataset will display:
Field | Type | Description |
---|---|---|
id | integer | Event code |
dsTipo | string | Event description |
dtIncl | datetime | Event inclusion date |
cdCli | integer | Customer code |
flSituacao | smallint | Event status |
cdViag | integer | AE number |
nrCnpjDestinatario | string | CNPJ of the recipient |
nrDocumento | char(20) | Document number |
nrControleCliente1 | string | Customer control 1 |
nrControleCliente2 | string | Customer control 2 |
nrControleCliente3 | string | Customer control 3 |
nrFrota | char(7) | Vehicle fleet number |
ReturnDescription: If there is an error executing the method, the property will display:
Error | Description |
---|---|
Customer code parameter not provided | All required fields must be filled in for the search to be performed correctly. |
No records found. |