R30420 Document - Document Date Is Greater Than Parent Document Date

    Code R30420
    Entity General.Documents Entity
    Name DocumentDateIsGreaterThanParentDocumentDate
    Attribute DocumentDate
    Layer Back-End
    Events Releasing
    Priority Normal
    Modify NO
    Applicable Legislations ALL // no condition needed
    Action If ((EntityName != Inv_Transactions) && (ParentDocument != NULL))

    , validate that:

     DocumentDate >= ParentDocument.DocumentDate
    Description On release check that the Document Date is greater or equal than Parent Document's Document Date.

    The rule does not activate for Store Transactions.
    Message Document '[DocumentText]' has an invalid document date.

    The document date is before the document date of its parent document '[ParentDocument.DocumentText]'. The Document Date must be greater or equal than parent's Document Date.
    Version Introduced: 2020.1

    Updated: 2020.1 SP1// Added condition '(EntityName != Inv_Transactions)'.
    Revocable YES

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

    • Improve this Doc
    Back to top Generated by DocFX