R30425-2 StoreTransaction - Set Cost Source
| Code | 30425-2 |
| Entity | Logistics.Inventory.StoreTransactions Entity |
| Name | SetCostSource |
| Attribute | CostSource |
| Layer | Front-End |
| Events | AttributeChanged(MovementType) |
| Priority | Normal |
| Modify | YES |
| Applicable Legislations | ALL // no condition needed |
| Action | case MovementType.Receipt: CostSource = StoreTransactionsRepository.CostSource.Document; case MovementType.Issue: CostSource = StoreTransactionsRepository.CostSource.Store; |
| Description | When Movement Type is changed, Cost Source should be updated to the corresponding value. |
| 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.