16.11.2011, 15:11 | #1 |
Участник
|
workflowax: How do I select from table Common in AX?
Источник: http://workflowax.wordpress.com/2011...-common-in-ax/
============== Workflow quite often uses fields such as ContextTableId and ContextRecId to reference the original document. I’ve been needing to get hold of the original database record as a Common object from which I can then do various things, but the question is how do i get that common object? I’ve tried something like this X++: Common buffer; ; select buffer where buffer.TableId == _tableId && buffer.RecId == _recId; X++: Common buffer; SysDictTable dictTable; ; dictTable = new SysDictTable(_tableId); buffer = dictTable.makeRecord(); select buffer where buffer.RecId == _recId; Источник: http://workflowax.wordpress.com/2011...-common-in-ax/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. Последний раз редактировалось Poleax; 16.11.2011 в 17:42. Причина: оформление |
|
|
|