Edit Line

Edit Line has this format:

FxxxxxEditLine 

The Edit Line component performs these tasks:

  • Validates all user input, performs calculations, and retrieves default information.

    Edit Line is normally called for every record that is fetched. It performs the edits for that one record in the file.

  • Reads header cache records for default values.

  • On an ADD, enters default information in blank columns, such as address book information.

    The default values might come from any of these objects:

    • Another column in the line.

    • A process performed on a column sent in the line.

    • A PO.

    • A saved value from the header record that was determined in the Begin Document module.

    • A DD default value.

  • Edits columns for correct information.

    This includes interdependent editing between columns. Also performs UDC and DD edits.

  • Writes record to the detail cache if no errors occurred.

    If the record already exists in the work file, the line in the work file will be retrieved and updated with the changes. If a record is deleted from the grid in direct mode, and the record does not exist in the database, the record will be removed from the detail cache. If the record exists in the database, the action code for the record will be changed to delete, and the record will be stored in the detail cache until file processing in End Doc.