11.11.2019, 09:52 | #1 |
Участник
|
Метод super()
Был такой parm метод:
X++: OperatingBusinessUnit ret; ret = super(_operatingBusinessUnit); return ret; X++: if(_operatingBusinessUnit != operatingBusinessUnit) { researchds = true; } operatingBusinessUnit = _operatingBusinessUnit; this.setBusinessUnit(); if(researchds) { fds = this.ecoResProduct().dataSource(); fds.research(true); this.ecoResProduct().reread(); fds.refresh(); qbr = findOrCreateRange_W(fds.queryRun().query().dataSourceTable(tableNum(InventItemPresence)), fieldNum(InventItemPresence, BusinessUnit)); qbr.status(RangeStatus::Locked); if(_operatingBusinessUnit && qbr) { qbr.value(queryValue(_operatingBusinessUnit)); } else if(qbr) { qbr.value(""); } } return operatingBusinessUnit; Нужно добавить в код super? Но как именно и куда? |
|
|
|