EAPreventUpdateDetailedRemarkLines
This document was generated using Claude.ai
Overview
Prevents updates to existing detailed remark lines while preserving the ability to add new lines. For committed entities, it preserves all original data and only appends new lines with proper timestamp and user tracking.
When This Action Runs
Automatic execution during detailed remark entity save operations to maintain data integrity and audit trail for remark modifications.
How It Works
- Validates entity state - Only processes entities that have been committed before
- Compares line collections - Identifies new lines by comparing current and old details collections using line IDs
- Preserves original data - Restores all header fields from old data (code, names, remarks, dates, related entities)
- Processes line collections - Combines old lines (unchanged) with new lines (with current date/user)
- Sets audit fields - Assigns current date and employee to new lines for tracking
Parameters
No Parameters Required - This action runs automatically without configuration.
Database Tables Affected
- AbsDetailedRemark Header - Restores original header field values from old data
- AbsDetailedRemarkLine Details - Preserves existing lines and appends new lines with audit information
- Employee Reference - Sets current employee on new lines for user tracking
Module: core
Full Class Name: com.namasoft.infor.domainbase.util.actions.EAPreventUpdateDetailedRemarkLines