Skip to content

Latest commit

 

History

History
43 lines (41 loc) · 4.35 KB

R29681.md

File metadata and controls

43 lines (41 loc) · 4.35 KB

erp.type: business-rule erp.entity: Crm.Pos.Sequences

R29681 PosSequence - Only One Pos Sequence Per Pos Device

+----------------------+-----------------------------------------------------------------------------------------------+ | Code | R29681 | +----------------------+-----------------------------------------------------------------------------------------------+ | Entity | @Crm.Pos.Sequences | +----------------------+-----------------------------------------------------------------------------------------------+ | Name | OnlyOnePosSequencePerPosDevice | +----------------------+-----------------------------------------------------------------------------------------------+ | Attribute | PosDevice | +----------------------+-----------------------------------------------------------------------------------------------+ | Layer | Back-End | +----------------------+-----------------------------------------------------------------------------------------------+ | Events | Commit | +----------------------+-----------------------------------------------------------------------------------------------+ | Priority | Normal | +----------------------+-----------------------------------------------------------------------------------------------+ | Modify | NO | +----------------------+-----------------------------------------------------------------------------------------------+ | **Applicable | ALL // no condition | | Legislations** | needed | +----------------------+-----------------------------------------------------------------------------------------------+ | Action | If (Active = True) | | |

| | | , validate that PosSequences [(Active = True) && (PosDevice = | | | PosSequence.PosDevice)].Count() <= 1 | +----------------------+-----------------------------------------------------------------------------------------------+ | Description | On Commit check that for the PosDevice there is only one Active PosSequence | +----------------------+-----------------------------------------------------------------------------------------------+ | Message | There already is another active sequence for PosDevice '{PosDevice}'. | +----------------------+-----------------------------------------------------------------------------------------------+ | Introduced In | 2019.1 | | Version | | +----------------------+-----------------------------------------------------------------------------------------------+ | Revocable | NO | +----------------------+-----------------------------------------------------------------------------------------------+

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