R33482 CompositeProductComponents - Set ToDate On Deactivation
| Name | Value |
|---|---|
| Code | R33482 |
| Entity | General.Products.CompositeProductComponents Entity |
| Name | SetToDateOnDeactivation |
| Attribute | IsActive, ToDate |
| Layer | Front-End |
| Events | AttributeChaned (IsActive) |
| Priority | Normal |
| Modify | Yes |
| Applicable Legislations | ALL // no condition needed |
| Action | If (IsActive.NewValue() == false) AND (ToDate == null), then set ToDate = Today |
| Description | The rules sets today's date in the "To Date" field when the component is Deactivated. The rule activates only if "To Date" is blank. |
| Message | - |
| Version | Introduced: 2023 |
| Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.