Показать сообщение отдельно
Старый 14.09.2007, 18:56   #3  
Arahnid is offline
Arahnid
Участник
 
880 / 60 (4) ++++
Регистрация: 09.08.2005
Адрес: Moscow
Да уже получилось.

X++:
public void lookup()
{
    ;


    if (LedgerJournalTrans.OffsetAccountType == LedgerJournalACType::Cust)
    {
       ContactPerson::lookupCustContactPerson(LedgerJournalTrans_RCashDocRepresPersonId1,
                                       LedgerJournalTrans.OffsetAccount,
                                       this,'',
                                       '1');
    }
    else
    {
         super();
    }
}
а я вначале сделала так
X++:
public void lookup()
{
    ;
         super();


    if (LedgerJournalTrans.OffsetAccountType == LedgerJournalACType::Cust)
    {
       ContactPerson::lookupCustContactPerson(LedgerJournalTrans_RCashDocRepresPersonId1,
                                       LedgerJournalTrans.OffsetAccount,
                                       this,'',
                                       '1');
    }
}