문제
주어진 테이블의 필드와 그 속성을 찾기 위해 Axapta AOT를 쿼리하고 싶습니다. 코드 예제를 제공 해 주시겠습니까? 미리 감사드립니다!
해결책
static void Job68(Args _args)
{
TreeNode node = TreeNode::findNode(@'\Data dictionary\Tables\CustTable\Fields');
TreeNode childNode;
TreeNodeIterator nodeIT;
nodeIt = node.AOTiterator();
childNode = nodeIt.next();
while(childNode)
{
info(strfmt("field %1", childNode.treeNodeName()));
childNode = nodeIt.next();
}
}
제휴하지 않습니다 StackOverflow