Batch Processing

If your procedure body is intended to process a set of records without user input, you must set it up in a repeated procedure of type Batch using one of the batch access methods for the main table.

You can select some or all of the records in a table for processing:

The batch/preview type is used to determine the direction of the search:

Batch Access Method Use for
First and onwards Processing all the records in a table. If parent records were selected, all the selected records are processed, starting with the first record
Equal and onwards Processing all the selected records starting from a specified record
Equal and backwards  Processing all the selected records starting from a specified record and working backwards
Last and backwards  Processing all records in the table, starting with the last and working backwards. If parent records were selected, all the selected records are processed starting with the last record

For the Equal and onwards and Equal and backwards batch/preview type, you will need to add a procedure body that sets up the starting point for the search.

To process a group of records from the first key onwards or last key backwards:

  1. Add a repeated procedure for processing the child records
  2. Use the Batch (Automatic) access mode for the main table
  3. Specify First and onwards or Last and backwards for the Batch/Preview type

To process a group of records from a specified starting point:

  1. Add a procedure body to select the starting point
  2. Use the Set up mode access for the main table
  3. Specify the record to start from by setting up related table processing to fill in keys from parent tables or set up the key fields under Field Processing
  4. Add a repeated procedure for processing the records
  5. Use the Batch (Automatic) access mode for the main table
  6. Specify Equal and onwards or Equal and backwards for the Batch type