In this option, SQL is used to enhance the validation and LOV of Batch Prompts when entered.
Field | Type & Length |
Description |
---|---|---|
SQL Code | A8 | Enter unique code to identify this Additional SQL. |
Description | A60 | Description for the Additional SQL. |
Active | A1 | Click Yes or No depending on the active status of this Additional SQL. A record with Active = (N)o will not be used when defining batch prompts. |
SQL | A2500 | This enhances the Record Group that will be used for
the LOV by the
Batch Prompter (g05app.fmb). The data for the Batch Prompter is defined
in {BATCH-2}. Answers from previous prompts can be used in the SQL by specifying it as ':Report Variable' where Report Variable is the name of the variable as defined for the Prompt in the Report Variable field. It will contain either the 'WHERE' clause or a complete 'SELECT' statement. NOTE: No validation is done by the Batch Prompter when doing the LOV. If something is wrong it will return 'No Rows' A complete example can be seen in {BATCHR-7}
|
|
Processing Rules |
|
---|---|
No special processing rules. |
Date | System Version | By Whom | Job | Description |
---|---|---|---|---|
18-Apr-2007 | v01.0.0.0 | Amanda Nell | t134792 | New manual format. |
10-Mar-2008 | v01.0.0.0 | Vaughn Dumas | t134792 | System owner proof read. |
12-Sep-2008 | v01.0.0.0 | Charlene van der Schyff | t152060 | Edit language obtained from proof read language Juliet Gillies. |
22-Mar-2022 |
v04.1.0.0 |
Precious Matshaya |
t252681 |
If
Test document = N, email generated when communication type input
parameter has no value on production. Eliminated by adding UNION
in SELECT to add value to list when query returns no value |