Input/Output Component
Fnd_IO_AddMultipleRecords
Fnd_IO_AddMultipleRecords ({enable}) -> Boolean
Parameters
| Parameter | Type | Description |
|---|---|---|
| enable | Boolean | True to enable adding multiple records (optional) |
| Function result | Boolean | True if this feature is enabled |
Description
By default, Foundation’s Fnd_IO_DisplayRecord command adds one record, then either closes the input window or returns to the output list (depending on the current configuration — see the Fnd_IO_MultiWindow command). This command can be used to modify this behavior so that Foundation behaves similarly to 4D’s User environment. Passing True to this command will cause Foundation to continuously add new records until the input button’s Cancel button is clicked. This command can be called from the Fnd_Hook_IO_DisplayRecord hook:
Fnd_IO_AddMultipleRecords (True)
This command will affect only the current process. This routine can also be called as a function to determine the current configuration:
$addingMultipleRecs:=Fnd_IO_AddMultipleRecords
Extracted source text
Fnd_IO_AddMultipleRecords ({enable}) ➔ Boolean
Parameter Type Description
enable Boolean True to enable adding multiple records (optional)
Function result Boolean True if this feature is enabled
By default, Foundation’s Fnd_IO_DisplayRecord command adds one record, then either closes
the input window or returns to the output list (depending on the current configuration — see the
Fnd_IO_MultiWindow command). This command can be used to modify this behavior so that
Foundation behaves similarly to 4D’s User environment.
Passing True to this command will cause Foundation to continuously add new records
until the input button’s Cancel button is clicked. This command can be called from the
Fnd_Hook_IO_DisplayRecord hook:
Fnd_IO_AddMultipleRecords (True)
This command will affect only the current process.
This routine can also be called as a function to determine the current configuration:
$addingMultipleRecs:=Fnd_IO_AddMultipleRecords