Да уже получилось.
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');
}
}