Показать сообщение отдельно
Старый 17.09.2015, 07:16   #190  
skuull is offline
skuull
Участник
Most Valuable Professional
Лучший по профессии 2014
 
699 / 752 (27) +++++++
Регистрация: 08.03.2013
Адрес: ХЗ
Может было уже 2012 RTM

class PriceDiscAdmCheckPost method run

X++:
    warningsFound = this.checkJournal(_acceptWarnings);
    postJournal = (warningsFound && _acceptWarnings) ||
                  !infologLine();
а в checkJournal :

X++:
        priceDiscAdmTrans.validateWrite();

        if (oldValue != infolog.num())
        {
            while (oldValue < infolog.num())
            {
                oldValue++;
                priceDiscAdmTrans.Log = priceDiscAdmTrans.Log + infolog.text(oldValue)+'\n';
                errorsFound = true;
            }
        }