Помогите разобраться:
* Построила отношение на таблице OfficialsTable_RU
OfficialsTable_RU.ReportType==0;
OfficialsTable_RU.CustVendCode==1;
OfficialsTable_RU.CustVendRelation==MyTable.AccountNum;
* В класс OfficialsServ_RU добавила новый метод:
public void initMyTable()
{
if (! OfficialsServ_RU::isFeatureEnabled())
return;
reportType = OffReportType_RU::General;
this.insertOrUpdate(OffPosition_RU:

irector, reportType, _account);
this.insertOrUpdate(OffPosition_RU::Accountant, reportType, _account, OffTableAll_RU::All);
};
* Добавляю метод формы:
void initOfficialsDefault()
{
if (OfficialsServ_RU::isFeatureEnabled())
{
offServ = new OfficialsServ_RU();
OfficialsTrans_RU::deleteWithoutUpdate(offSessionID);
select count(RecId) from officialTrans
where officialTrans.OffSessionId == offSessionId;
if ( ! officialTrans.RecId) offServ.initTableWarrant();
offSessionId = offSessionId ? offSessionId : offServ.newId();
OfficialsTable_ds.executeQuery();
}
}
* Перекрываю методы DS OfficialsTable_RU:
public void init()
{
super();
element.initOfficialsDefault();
}
public void executeQuery()
{
if (offServ) element.searchAccountIdx(OfficialsTable, OffReportType_RU::General);
super();
}
В результате в форме должно выводиться две строки, но этого не происходит. В чем ошибка?