R29435 DocumentTypeUserStatus - No User Statuses If Transitional

Code R29435
Entity General.DocumentTypeUserStatuses Entity
Name NoUserStatusesIfTransitional
Attribute -
Layer Back-End
Events Commit
Priority Normal
Modify NO
Action Validate that:

If DocumentTypeUserStatus == Active, then DocumentType.TransitionalDocument != True.
Description Transitional Documents are self-adjusting documents which are automatically maintained to always contain the most current information from the parent document (for more information see Document Generation And Transitional Documents. Due to their specificity, they do not support User Statuses.
Message User status with a name "{UserStatusName}" is defined for a transitional document type but transitional documents do not support user statuses. Please deactivate the user status or remove the check-mark from the "Transitional Document" field for document type with code "{Code}".
Version Introduced: 2019.1

Updated: -
Revocable NO

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