Instruções Iniciais
Returns the companies/clients that are associated with the PAS indicated.
PARAMETERS
| Field | Type | Required? | Description |
|---|---|---|---|
| accesskey | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method. |
METHOD RETURN:
ReturnDataset: If the parameters are entered correctly, the dataset will display:
| Field | Type | Description |
|---|---|---|
| CDCLI | integer | Company/Client Code |
| DSNOME | string | Company/Client Name |
| FLSOLTPVIAGEM | integer | Indicates whether it is mandatory to inform the type of trip when generating an AE |
| FLCONTROLETEMP | integer | Indicates whether or not the client will use temperature sensor control |
| FLCADASTRO | integer | Indicates whether the customer has signed up for registration |
| FLPTOPARADAOBRIG | integer | Indicates whether it is mandatory to inform stopping points when generating AE. |
| FLCADENDERDEST | integer | Indicates whether the recipients of the deliveries will be linked to the customer |
| DSCONTROLECLIENTE1 | string | Customer control 1 |
| DSCONTROLECLIENTE2 | string | Customer control 2 |
| DSCONTROLECLIENTE3 | string | Customer control 3 |
| DSCONTROLECLIENTE4 | string | Customer control 4 |
| DSCONTROLECLIENTE5 | string | Customer control 5 |
| DSCONTROLECLIENTE6 | string | Customer control 6 |
| DSCONTROLECARGA | string | Description of the cargo control |
| FLPESQUISAEXPRESSA | integer | Indicates whether it is allowed to use express search. |
| DSMENSAGEMPESQUISAEXPRESSA | string | Express search message. |
| VLQTMINREFPERSONAL | smallint | Minimum number of personal references. |
| FLNAOPERMITEPESQEXPRESSA | smallint | Indicates whether the client allows the use of express search. |
ReturnDescription: If there is an error when executing the method, the property will display:
| Error | Description |
|---|---|
| There are no Companies available for this User/PAS. |