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

Override custom dimension value on posting sales invoice in X++

 Requirement: 1. Override custom dimension value on posting sales invoice 2.  Ledger posting type as "Cost of goods, invoiced" ...