R20215 StoreTransactionLine - Transaction Time Stamp For Null Quantity Line Equal To Document Date

Code R20215
Entity Logistics.Inventory.StoreTransactionLines Entity
Name TransactionTimeStampForNullQuantityLineEqualToDocumentDate
Attribute TransactionTimestamp
Layer Back-End
Events Releasing+
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action If (Quantity != 0)

, validate that: Date(TransactionTimestamp) = StoreTransaction.DocumentDate
Description The rule validates that the date of the TransactionTimestamp is the same as the Document Date if the quantity in lines is not '0'.
Message If the quantity of the line is not '0', the date of the 'Transaction Timestamp' must be equal to the 'Document Date' '.

Line number '{LineNo}' in document '{DocumentText}' violates this rule.
Version Introduced: 2015
Revocable NO

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