R35268 ExciseStampOperations - Track Sequence Warning

Name Value
Code R35268
Entity Finance.Excise.ExciseStampOperations Entity
Name TrackSequenceWarning
Attribute StartNumber
Layer Back-End
Events Aggregate Client Commited
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action If ExciseStampOperationType.TrackSequence = True check that ExciseStampOperationLine.StartNumber = Max(Previous Released ExciseStampOperationLine.EndNumber) +1 WHEN ExciseStampOperationType.TrackSequence = True and ExciseStampOperationLot and ExciseStampOperationType of previous documents are same as those in current document
IssueWarning(Finance.Excise.ExciseStampOperations.TrackSequence)
Description When the Excise Stamp Operation document is commited, the rule checks that StartNumber in current document is the next number to max EndNumber of previous documents for same Excise Stamp Lot and same Excise Stamp Operation Type and ExciseStampOperationType.TrackSequence = True
Message The StartNumber of row '{LineNo}' is not next to the last EndNumber in previous released documents for lot '{ExciseStampLot}' and '{ExciseStampOperationType}'.
Introduced In Version Introduced: 2024
Updated: -
Revocable YES

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