Note: Built-In Function Rules Usage Options
Adds either a new set of dropdown values or appends to an existing set of dropdown values.
Arguments
|
Return Values
|
Example
To set up the dropdown values for an order status field:
DEFINE FIELD(#RETCOD) TYPE(*CHAR) LENGTH(2)
USE BUILTIN(ADD_DD_VALUES) WITH_ARGS(DDST '/'
'Raised/Open/Closed/Invoiced/History/Back Ordered')
TO_GET(#RETCOD)
IF COND('#RETCOD *NE OK')
* << error processing >>
ENDIF
USE BUILTIN(ADD_DD_VALUES) WITH_ARGS(DDST ' ' 'Cancelled')
TO_GET(#RETCOD)
IF COND('#RETCOD *NE OK')
* << error processing >>
ENDIF