Skip to content

Latest commit

 

History

History
40 lines (38 loc) · 4 KB

R30425-2.md

File metadata and controls

40 lines (38 loc) · 4 KB
erp.type erp.entity
front-end-business-rule
Logistics.Inventory.StoreTransactions

R30425-2 StoreTransaction - Set Cost Source

+----------------------+-----------------------------------------------------------------------------------------------+ | Code | 30425-2 | +----------------------+-----------------------------------------------------------------------------------------------+ | Entity | @Logistics.Inventory.StoreTransactions | +----------------------+-----------------------------------------------------------------------------------------------+ | Name | SetCostSource | +----------------------+-----------------------------------------------------------------------------------------------+ | Attribute | CostSource | +----------------------+-----------------------------------------------------------------------------------------------+ | Layer | Front-End | +----------------------+-----------------------------------------------------------------------------------------------+ | Events | AttributeChanged(MovementType) | +----------------------+-----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+-----------------------------------------------------------------------------------------------+ | Modify | YES | +----------------------+-----------------------------------------------------------------------------------------------+ | **Applicable | ALL // no condition needed | | Legislations** | | +----------------------+-----------------------------------------------------------------------------------------------+ | 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.