R30802-1 WarehouseWorker - Set Active To
| Code | 30802-1 |
| Entity | Logistics.Wms.WarehouseWorkers Entity |
| Name | SetActiveTo |
| Attribute | ActiveTo |
| Layer | Front-End |
| Events | AttributeChanged(IsActive) |
| Priority | Normal |
| Modify | YES |
| Applicable Legislations | ALL // no condition needed |
| Action | if (IsActive.OldValue == true && WarehouseWorker.IsActive == false) { WarehouseWorker.ActiveTo = DateTime.Today; } |
| Description | If Is_Active was "true", but now becomes "false", Active_To should be set to current date. |
| 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.