pp108 : getAllDataset()

getAllDataset()


It sends request for the Next method. If the Next method is not specified, then it sends request for the Get method. The requests are sent without any cursor, and include the possible minimum and maximum values for the data types of the parameters. This method also enables the ShowAll option in the data grids attached to the model.

Syntax

Script modelID.getAllDataset()


Return Value


Returns no value.

Remarks


Gets all the business objects from the application service. Internally it sends a Get or Next request to the application service without any cursor. If the Next method is specified, it sends the Next request else sends the Get request. The requests will be sent with the minimum or maximum possible value for the data type of the parameters. After execution, all business objects will be available at the client. This also enables the ShowAll option in the grids attached to this model.

The data in the model can be then accessed using the getData() method.

Applies to


Model

Related reference

showAll()
getData()