|
![]() |
#1 |
Axapta
|
В AX2012 только InventTransId.
X++: public PurchLine purchLine() { return PurchLine::findInventTransId(this.InventTransId); } X++: static PurchLine findInventTransId(TradeInventTransId _inventTransId, boolean _update = false) { PurchLine purchLine; if (_inventTransId) { purchLine.selectForUpdate(_update); select firstonly purchLine where purchLine.InventTransId == _inventTransId && !purchLine.IsDeleted; } return purchLine; } |
|
![]() |
#2 |
Участник
|
Спасибо! Значит это была ошибка. Исправлю у себя.
X++: select firstonly purchLine where purchLine.InventTransId == _inventTransId && !purchLine.IsDeleted; |
|
Теги |
purchline, vendinvoicetrans |
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|