Sunday, July 3, 2016

To Set Field Property in AX 2012

//To Set Field Property in AX 2012
#Property
fieldNode = TreeNode::findNode(@"\Data Dictionary\Tables\SalesQuotationTable\Fields\BankGuarantee");   
fieldNode.AOTsetProperty(#PropertyMandatory, enum2str(NoYes::Yes));

No comments:

Post a Comment

Convert Call stack to readable format in D365FO X++

//Input --container _xppCallStack = xSession::xppCallStack();  Public static str POL_formatXppCallStack(container _xppCallStack, int _skipFr...