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

Copy Markup charges while posting purchase invoice using X++

 Copy Markup charges while posting purchase invoice using X++ Class: Important: Code logic is just for Reference.  New class => Duplicate...