R29681 PosSequence - Only One Pos Sequence Per Pos Device

Code R29681
Entity Crm.Pos.Sequences Entity
Name OnlyOnePosSequencePerPosDevice
Attribute PosDevice
Layer Back-End
Events Commit
Priority Normal
Modify NO
Applicable Legislations ALL // no condition 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 Version 2019.1
Revocable NO

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