sgrListaOperacoesCliente
Returns a list of the company's operations.
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 |
| cdcliente | integer | Yes | Client code, returned by the sgrListaEmpresasPASUsuario method |
METHOD RETURN:
ReturnDataset: If the access key provided is valid, the property will display:
| Field | Type | Description |
|---|---|---|
| CDOPERACAO | integer | Operation code |
| DSOPERACAO | string | Operation name |
ReturnDescription: If there is an error executing the method, the property will display:
| Error | Description |
|---|---|
| There are no units configured for the company! |