9.10 BUILD_WORK_OPTIONS
Þ Note: Built-In Function Rules.
Dynamically converts a list of process and function names into a set of lists that are easy to use in "Work With" style RDML function drivers.
A list of process and function names are passed into this Built-In Function together with a "type" code. If type code is:
- O - this function acts on a single instance of an object in the work list.
- M - this function acts on multiple instances of objects in the work list.
- B - this function acts on multiple instances of objects in the work list (in a batch).
For use with
|
Arguments
|
Return Values
|
Examples
Imagine an input Definition List to this Built-In Function that contained entries like this:
|
If this Built-In Function was executed, then it would return 3 lists that make "Work With" style functions easier to implement.
Returned Definition List
|
Note
- All "O" entries have been removed.
- FUNC04 has been removed because the user is not authorized.
- The description of FUNC05 has been inserted.
- This list can be used to build a dynamic "menu" of functions to call (M) or submit (B).
Returned Textual List
Text (length 30, say)
3=Print Customer 4=Change
5=Send FAX to Customer
Note
- Two list entries are returned because all the text details would not fit into text "lines" of length 30.
- Options are "folded" so that they do not ever span an option text "line".
- The description of option 5 has been inserted.
- FUNC07 (option number 4) is not included because the user is not authorized to use it.
- This list can be used to dynamically build the options area on work with style screen panels.
Returned Valid Options List
Option03
04
05
Note
- FUNC07 (option number 4) is not included because the user is not authorized to use it.
- This list can be used to dynamically validate whether a user is authorized to an option number that they enter into a work with list.