This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |
| a_f:a:pick_from [2023/05/09 01:43] – sean | a_f:a:pick_from [2024/07/03 05:23] (current) – [PICK FROM] aware_admin |
|---|
| - By default the action will display a screen that allows selecting only one object. If multiple selection is required use the By default the action will display a screen that allows selecting only one object. If multiple selection is required use the ''PICK ONE OR MORE FROM'' keyword instead of keyword instead of ''PICK FROM'', for example, <code aim>PICK ONE OR MORE FROM Account WHERE Account.State = 'OPEN' ORDER BY Account.Balance </code> | - By default the action will display a screen that allows selecting only one object. If multiple selection is required use the By default the action will display a screen that allows selecting only one object. If multiple selection is required use the ''PICK ONE OR MORE FROM'' keyword instead of keyword instead of ''PICK FROM'', for example, <code aim>PICK ONE OR MORE FROM Account WHERE Account.State = 'OPEN' ORDER BY Account.Balance </code> |
| - By default if a query finds just one instance of the object this instance will be displayed on the screen and the user will have to select it as usual. If you do not want the action to prompt for the single found instance, but use this instance straight away add ''NO CONFIRMATION FOR ONE'' keyword at the end of the action. For example, By default if a query finds just one instance of the object this instance will be displayed on the screen and the user will have to select it as usual. If you do not want the action to prompt for the single found instance, but use this instance straight away add ''NO CONFIRMATION FOR ONE'' keyword at the end of the action. For example, <code aim>PICK FROM Account WHERE Account.State = 'OPEN' ORDER BY Account.Balance NO CONFIRMATION FOR ONE </code> | - By default if a query finds just one instance of the object this instance will be displayed on the screen and the user will have to select it as usual. If you do not want the action to prompt for the single found instance, but use this instance straight away add ''NO CONFIRMATION FOR ONE'' keyword at the end of the action. For example, By default if a query finds just one instance of the object this instance will be displayed on the screen and the user will have to select it as usual. If you do not want the action to prompt for the single found instance, but use this instance straight away add ''NO CONFIRMATION FOR ONE'' keyword at the end of the action. For example, <code aim>PICK FROM Account WHERE Account.State = 'OPEN' ORDER BY Account.Balance NO CONFIRMATION FOR ONE </code> |
| | - The ''USING'' keyword can be used when query condition is specified explicitly but display settings of an existing query can be used. For examle, <code aim>PICK FROM Account WHERE Account.State = 'OPEN' ORDER BY Account.Balance USING 'Some existing query'</code>Here 'Some existing query' is the name of the query which display settings will be used to display query results. |
| </callout> | </callout> |
| |