R30395 DocumentTypeProperty - Property Entity Name Is Documents

Code R30395
Entity General.DocumentTypeProperties Entity
Name PropertyEntityNameIsDocuments
Attribute Property
Layer Back-End
Events Commit
Priority Normal
Modify NO
Applicable Legislations ALL // no condition needed
Action Validate that:

Property.EntityName = Documents
Description If the property selected as a document type property has an entity different than Documents, then the Document Type Property cannot be saved into the database.
Message For document type with a code '{0}' is chosen an invalid property. Property with a code '{1}' is defined for entity '{2}', but only properties defined for 'Documents' entity are allowed.

DocumentType.Code, Property.PropertyCode, Property.EntityName
Version Introduced: 2020.1
Revocable NO

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