sgrRetornaDestPorCodCli
Returns the customer's recipient information.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListPASUser method |
| cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
| cdCliExt | string | Yes | External customer code. |
METHOD RETURN:
ReturnDataset: If the parameters are correct, the property will display:
| Field | Type | Description |
|---|---|---|
| NRCGCCPF | string | CNPJ of destination company |
| DSNOME | string | Target company name |
| CDCID | integer | City code |
| DSRUA | string | Company address |
| NRRUA | char(6) | Address number |
| DSBAIRRO | string | Company neighborhood |
| NRCEP | char(8) | Company zip code |
| VLLAT | real | Latitude of address |
| VLLONG | real | Longitude of address |