Blog

thumbnail 01
Dynamics 365 for Finance and Operations, Technical (D365FO)

D365: Add field to New released product dialog form and persist to table

This post demonstrates how to persist a custom field added to the New released product dialog form to the table in X++ in Dynamics 365 for Finance and Operations. The solution extends the EcoResProductCreate form and uses chain-of-command to add the new fields to the data2Controls container. The code provided illustrates this extension.

thumbnail 01
Dynamics 365 for Finance and Operations, Technical (D365FO)

D365: How to make a standard field mandatory on a form in X++

This post explains how to make a standard field mandatory on a form in X++ within Dynamics 365 for Finance and Operations. The business requirement is to enforce a field that is optional in Standard Dynamics. The solution involves extending the PurchCreateOrder form using chain-of-command to make the Buyer group field mandatory on the form datasource.

thumbnail 01
Development (D365FO), Dynamics 365 for Finance and Operations, Technical (D365FO)

D365: Create default dimension in X++

This X++ code creates default dimension records for specific dimension values in Dynamics 365 for Finance and Operations. The solution involves using a class called ATLAS_LedgerDimensionHelper, which includes a method named getDefaultDimension. This method takes dimension values as input and creates default dimension records using the provided values.

thumbnail 01
Development (D365FO), Dynamics 365 for Finance and Operations, Technical (D365FO)

D365: Get financial dimension value owner

This content demonstrates how to obtain the financial dimension value owner in X++ for Dynamics 365 for Finance and Operations. It provides a solution using the “ATLAS_LedgerDimensionHelper” class to retrieve the owner of the dimension attribute value. The “getDimensionAttributeValueOwner” method retrieves and displays the financial dimension value owner in an inquiry screen.

thumbnail 01
Dynamics 365 for Finance and Operations, Technical (D365FO)

D365: How to filter procurement categories in X++

This X++ code demonstrates how to filter procurement categories in Dynamics 365 for Finance and Operations. The business requirement is to only allow tangible procurement categories to be selected. The provided solution uses a custom class extension to filter and display only tangible categories when selecting procurement categories or adding products to a purchase order line.

thumbnail 01
Dynamics 365 for Finance and Operations, Technical (D365FO), X++

D365: How to set form control value in X++

This post demonstrates setting a form control value, controlling visibility of form controls, and getting the reference of a form control in X++. It addresses the business requirement of defaulting vendor account from Purchase Order to Add Products form in Dynamics 365 for Finance and Operations. The provided code accomplishes this task effectively and elegantly.

Scroll to Top