sgrListaUnidadesCliente
Returns a list of the company's units.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListPASUser method |
| cdclient | integer | Yes | Client code, returned by the sgrListCompaniesPASUser method. |
METHOD RETURN:
ReturnDataset: If the parameters entered are valid, the property will display:
| Field | Type | Description |
|---|---|---|
| CDCLIDEST | integer | Customer unit code |
| DSDESTINATARIO | string | Customer unit name |
| NRCGCCPF | string | unit's CNPJ |
ReturnDescription: This property will indicate if there are no units configured for the company.