Показать сообщение отдельно
Старый 09.11.2009, 09:50   #1  
NetBus is offline
NetBus
Участник
 
200 / 85 (3) ++++
Регистрация: 08.07.2005
Адрес: Москва
метод find как private !?
Microsoft Dynamics 4.0
kernel version 4.0.2501.116
application version 4.0.2501.347

На таблице EmplLedger_RU метод find объявлен как private — зачем, может кто нибудь разъяснить?

X++:
private static EmplLedger_RU find(EmplPostingProfile_RU _emplPostingProfile,
                                  boolean               _forUpdate = false)
{
    EmplLedger_RU emplLedger;
    if (_emplPostingProfile)
    {
        emplLedger.selectForUpdate(_forUpdate);
        select firstonly emplLedger
            where emplLedger.PostingProfile  == _emplPostingProfile;
    }
    return emplLedger;
}