Begin Document

Begin Document has this format:

FxxxxxBeginDocument

The Begin Document component performs these tasks:

  • Inserts default information and edits information in the header, including data dictionary defaults and UDC editing.

  • Fetches information from the database, if necessary, to ensure that the selected document action can take place.

  • Validates and processes information that is common to all records.

  • Writes the record to header cache if no errors exist.

  • Contains all header cache information that is common to all detail records. This improves performance by eliminating the need to use all the detail records to perform the same validations and table I/O.

  • Updates the header cache with the new information when information in the header fields changes and Begin Document has previously been called.