EAMakeCreationDateAlwaysAfter
This document was generated using Claude.ai
Overview
Adjusts entity creation dates to ensure they always occur after a specified hour by adding random milliseconds while keeping the date within the same day.
When This Action Runs
Date/time enforcement during entity creation or when time-based business rule validation is needed.
How It Works
- Analyzes current creation time and compares hour with specified minimum
- Adds random milliseconds incrementally until time is after specified hour
- Maintains same-day constraint with end-of-day boundary protection
- Updates creation date with adjusted time ensuring business rule compliance
- Applies infinite loop protection for edge cases and performance
Parameters
Parameter 1: Hour (Required) - Minimum hour (0-23) after which creation time must occur (e.g., 9 for business hours, 13 for afternoon)
Database Tables Affected
- Entity Creation Date Fields - Updates creation date field with adjusted time
- Related Date Fields - May synchronize value date and document dates
- Self-Contained Operation - Changes isolated to target entity only
Module: core
Full Class Name: com.namasoft.infor.domainbase.util.actions.EAMakeCreationDateAlwaysAfter
Related Actions:
- EAMakeCreationDateAlwaysBefore - Ensures creation time is before specified hour