R28870 DocumentTypeAmount - Default Currency Has Value Only For Input Amounts

Code R28870
Entity General.DocumentTypeAmounts Entity
Name DefaultCurrencyHasValueOnlyForInputAmounts
Attribute DefaultCurrency
Layer Back-End
Events Commit
Priority Normal
Modify NO
Action Validate that:

If (DefaultCurrency != null)

DefaultPercent == null
Description DefaultCurrency attribute may have value only if DefaultInputAmount or DefaultInputUnitAmount has value. If DefaultPercent has value, the DefaultCurrency must be null.
Message DefaultPercent and DefaultCurrency attributes have values at the same time.

DefaultCurrency attribute may have value only if DefaultInputAmount or DefaultInputUnitAmount has value. If DefaultPercent has value, the DefaultCurrency must be null.

Please, enter valid data.
Introduced In Version
Revocable NO

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