Показать сообщение отдельно
Старый 22.06.2004, 11:27   #2  
Tony Green is offline
Tony Green
Участник
Аватар для Tony Green
 
184 / 25 (1) +++
Регистрация: 08.10.2002
Адрес: Москва
ошибка вылетает в методе checkdimensionCriteria на таблице LedgerAllocation

PHP код:
boolean             ret true;
LedgerAllocation    ledgerAllocationCopy;
Counter             dimIdx;

;
while 
select ledgerAllocationCopy
    where ledgerAllocationCopy
.transBudget == this.transBudget &&
          
ledgerAllocationCopy.fromAccount == this.fromAccount
{
    for (
dimIdx 1dimIdx <= dimof(this.fromDimension); dimIdx++)
     {
         if (
this.dimensionAllocation[dimIdx] != ledgerAllocationCopy.dimensionAllocation[dimIdx])
        {
            return 
checkFailed("@SYS59977");
        }
    }
}
return 
true
но, насколько я вижу здесь проверяется не поменялось ли поле "DimensionAllocation" и в случае изменения возвращается ошибка... зачем так?
__________________
С уважением,
Tony Green