Нашел. Это либо
\Data Dictionary\Tables\EmplAdvLine_RU\Methods\checkExchRate
либо
\Data Dictionary\Tables\LedgerJournalTrans\Methods\checkExchRate
в 3.0 было.
Вот код 4.0
X++:
private boolean checkExchRate()
{
boolean ret = true;
;
if (this.ExchRate != 100.00 && this.CurrencyCode == CompanyInfo::standardCurrency())
{
ret = checkFailed(strfmt("@SYS85793", ExchRates::displayExchRate(100)));
}
return ret;
}
private boolean checkExchRate()
{
boolean ret = true;
if (this.CurrencyCode == CompanyInfo::standardCurrency())
{
if (this.ExchRate != 100.00)
{
ret = checkFailed(strfmt("@SYS85793", ExchRates::displayExchRate(100)));
}
}
return ret;
}