EARegenAccEffects
This document was generated using Claude.ai
Overview
Regenerates accounting effects for entities implementing IGeneratesAccountingRequest. Can process either the current entity directly or entities referenced through a specified field, triggering recalculation of journal entries and ledger transactions.
When This Action Runs
Manual execution after configuration changes, account corrections, or when accounting effects need to be recalculated due to data inconsistencies or system updates.
How It Works
- Determines scope - If no field specified, processes current entity; if field specified, processes referenced entities
- Validates entities - Ensures target entities implement IGeneratesAccountingRequest interface
- Generates effects - Calls genAccEffect() method on each target entity
- Handles collections - For reference fields pointing to collections, processes each unique entity once
- Accumulates results - Collects and reports results from all accounting effect generation operations
Parameters
Parameter 1: Reference Field To Regenerate ACC Effects For (Optional) - Field ID pointing to entities to process (if empty, processes current entity)
Database Tables Affected
- Ledger Transaction Tables - Regenerates journal entries and accounting transactions
- Referenced Entity Tables - Processes entities found through the specified reference field
- Accounting Effect Tables - Updates accounting calculations and balances
Important Warnings
⚠️ Entity Requirements
- Current entity or referenced entities must implement IGeneratesAccountingRequest interface
- Only entities that generate accounting effects can be processed
- Invalid entity types will be skipped without error
⚠️ Accounting Impact
- Regenerates all accounting effects, potentially modifying journal entries
- May affect ledger balances and financial reports
- Test thoroughly before running on production financial data
⚠️ Field Configuration
- Reference field must be valid for the current entity type
- Field can point to single entities or collections of entities
- Duplicate entities in collections are processed only once
⚠️ Performance Considerations
- Processing large collections of entities may take significant time
- Each entity's accounting effect generation runs independently
- Monitor system performance during bulk operations
Module: core
Full Class Name: com.namasoft.infor.domainbase.util.actions.EARegenAccEffects