sgrListaTransportadoras
Lists the carriers used by the company.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| chaveacesso | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
| cdcliente | integer | Yes | Client code, returned by the sgrListaEmpresasPASUsuario method. |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the property will display:
| Field | Type | Description |
|---|---|---|
| CDTRANSP | integer | Carrier Code |
| DSTRANSPORTADORA | string | Carrier Name |
| NRCGCCPF | string | Carrier CNPJ |
| Error | Description |
|---|---|
| There are no Carriers linked to the company! |