sgrRelNaoConformidades
Non-Conformity Report.
PARAMETERS
| Field | Type | Req. | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
| cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
| cdViag | integer | No | Shipment authorization number |
| cdMot | integer | No | Driver code, returned by the sgrConsultaPF method |
| cdVeic | integer | No | Vehicle code, returned by the sgrConsultaVeic. method |
| cdTpNConf | integer | No | Non-compliance type code. This code is returned by the sgrListTypeNConf. |
| dtIni | datetime | Yes | Start date for the search. |
| dtEnd | datetime | Yes | End date for the search. |
METHOD RETURN:
If the parameters are filled in correctly, the ReturnDataset property will display:
| Field | Type | Description |
|---|---|---|
| CDNCONF | integer | Non-compliance code |
| DTNCONF | datetime | Date of non-compliance |
| CDCLI | integer | Customer code |
| DSNAME | string | Customer name |
| CDCODE | integer | Non-conformity class code |
| DSDESC | string | Non-conformity class name |
| CDTPNCONF | integer | Non-conformity type code |
| DSTIPONCONF | string | Non-conformity type name |
| MMNCONF | integer Description | Non-conformity type |
| NRCPFMOT1 | string | Driver's CPF |
| DSMOTORISTA | string | Driver's name |
| NRPLACAVEIC | char(7) | Vehicle license plate |
| CDTPNCONF1 | integer | Non-compliance type code |
| DSSIGLA | char(5) | Non-compliance type acronym |
| CDVIAG | integer | Shipment authorization number |
| DSNOMEACESSO | char(10) | User who registered the non-conformity |