Показать сообщение отдельно
Старый 16.03.2010, 10:55   #1  
IntoTheRain is offline
IntoTheRain
Участник
Аватар для IntoTheRain
 
42 / 20 (1) +++
Регистрация: 19.02.2010
Адрес: Санкт-Петербург
Ввод в эксплуатацию ОС AX 4.0 sp1
Возникла проблема при вводе в эксплуатацию ОС,

Нажимаю в Форме операции журналов ОС, Разноска-Разноска.

Вылетает:



На форуме нашел подобную тему, изменение максимально допустимого расхождения, не помогает.


1) Что значит ОС находится на инвентаризации?

2) Что за "Операция осэ0019, дата 15.03.2010, счет 08.040, сумма в валюте -36 000,00, сумма MST -36 000,00, альтернативная сумма 0,00, валюта RUR, описание Ввод в эксплуатацию"

3) Где же всетаки чекается этот BalancePerDate?



Цитата:
Вот код ошибки CheckBalancePerDate

private boolean checkBalancePerDate()
{
AmountMST maxRoundingMST = ledgerParameters.MaxRoundingDifferenceMST;
AmountMSTSecondary maxRoundingMSTSecond = ledgerParameters.MaxRoundingDifferenceMSTSecond;
CurrencyCode companyCurrencyCode = companyInfo.CurrencyCode;
SecondaryCurrencyCode companySecondaryCurrencyCode = companyInfo.SecondaryCurrencyCode;
boolean ok = true;
LedgerTrans ledgerTrans;
boolean more;
;
for (more = transDateTotals.first(ledgerTrans);
more;
more = transDateTotals.next(ledgerTrans))
{
sumAmountMST = Currency::amount(ledgerTrans.AmountMST, companyCurrencyCode);
sumAmountMSTSecondary = Currency::amount(ledgerTrans.AmountMSTSecond, companySecondaryCurrencyCode);

if (abs(sumAmountMSTSecondary) > maxRoundingMSTSecond ||
abs(sumAmountMST) > maxRoundingMST ||
(checkAmountCur && ledgerTrans.AmountCur))
{
if (ok)
{
this.showErrorTransactions();
}
ok = checkFailed(strfmt("@SYS70033", LedgerJournalTrans::findTmpVoucher(ledgerTrans.Voucher, tmpVoucherMap),
ledgerTrans.TransDate, sumAmountMST, sumAmountMSTSecondary)) && ok;
}
}
return ok;
}
__________________