EACheckAndUpdateLinkAtOnlinePaymentTransactionSysEntry
This document was generated using Claude.ai
Overview
Performs maintenance on online payment transaction entries by checking for expired payment links and updating their status. Processes valid payment links in batches and marks expired ones as "Expired".
When This Action Runs
Scheduled maintenance task or manual execution on OnlinePaymentTransactionSysEntry entities with "Valid" link status. Typically run periodically to keep payment link statuses current.
How It Works
- Finds all entries with linkStatus = 'Valid'
- Processes in batches of 300 records for efficiency
- Calculates expiry times using OnlinePaymentUtils and payment configuration
- Compares with current time to identify expired links
- Updates status from "Valid" to "Expired" for expired entries
- Uses separate transactions for each batch to ensure safety
Key Parameters
No Parameters Required - Performs system-wide maintenance on all valid payment transaction entries automatically.
Database Tables Affected
- OnlinePaymentTransactionSysEntry -
linkStatus
updated from "Valid" to "Expired" - OnlinePaymentConfig - Referenced for expiry rules and timeouts
Important Warnings
⚠️ System Load
- Processing large numbers of entries may impact database performance
- Best run during low-activity periods
- Batch processing consumes database connections and memory
⚠️ Dependencies
- Requires valid OnlinePaymentConfig entries
- Relies on OnlinePaymentUtils for expiry calculations
- System time accuracy critical for proper expiry detection
⚠️ Operational Requirements
- Should be run regularly to maintain status accuracy
- Requires monitoring to ensure successful completion
- Processing errors may leave some entries with incorrect status
Module: core
Full Class Name: com.namasoft.infor.domainbase.util.actions.EACheckAndUpdateLinkAtOnlinePaymentTransactionSysEntry