Цитата:
Сообщение от
mazzy
добавьте
X++:
//mazzy 13.12.2019: по образцу getTotal()
public int64 getCount(int _idx = 1)
{
if (oprProgress)
return oprProgress.getCount_RU(_idx);
else if (oprProgressEmbedded )
return oprProgressEmbedded.getCount_RU(_idx);
else if ( oprProgressServer )
return oprProgressServer.getCount(_idx);
else
return 0;
}
Возможно вы имели ввиду добавить так:
X++:
public int64 getCount(int _idx = 1)
{
if (oprProgress)
return oprProgress.getCount_RU(_idx);
else if (oprProgressEmbedded )
return oprProgressEmbedded.getCount_RU(_idx);
else
return 0;
}
Т.к. oprProgressServer (класс SysOperationProgressServer) не имеет наследника SysOperationProgressBase у которого getCount_RU есть.
Я прав? Или для сервера такой функционал тоже нужен - getCount.