Skip to content

Latest commit

 

History

History
42 lines (40 loc) · 4.22 KB

R30433-1.md

File metadata and controls

42 lines (40 loc) · 4.22 KB
erp.type erp.entity
front-end-business-rule
General.Contacts.Activities

R30433-1 Activity - Set Reminder Time

+----------------------+-----------------------------------------------------------------------------------------------+ | Code | 30433-1 | +----------------------+-----------------------------------------------------------------------------------------------+ | Entity | @General.Contacts.Activities | +----------------------+-----------------------------------------------------------------------------------------------+ | Name | SetReminderTime | +----------------------+-----------------------------------------------------------------------------------------------+ | Attribute | ReminderTime | +----------------------+-----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+-----------------------------------------------------------------------------------------------+ | Events | AttributeChanging(ReminderTime) | +----------------------+-----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+-----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+-----------------------------------------------------------------------------------------------+ | **Applicable | ALL // no condition needed | | Legislations** | | +----------------------+-----------------------------------------------------------------------------------------------+ | Action | minimumTime = DateTime.Now.AddMinutes(1); | | | IF (ReminderTime.NewValue is DateTime AND (ReminderTime.NewValue) < minimumTime ) | | | THEN ReminderTime = minimumTime ; | +----------------------+-----------------------------------------------------------------------------------------------+ | Description | When Reminder Time is changed, the minimum value that can be set is one minute after current | | | time. | +----------------------+-----------------------------------------------------------------------------------------------+ | Message | | +----------------------+-----------------------------------------------------------------------------------------------+ | Version | Introduced: 2020.1 | +----------------------+-----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+-----------------------------------------------------------------------------------------------+

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.