CoC for Button Click / Enable custom field in Non-Editable datasource – D365FO
Jun12

CoC for Button Click / Enable custom field in Non-Editable datasource – D365FO

I had a requirement to add a custom field in CustPackingSlipJournal form where the field has to be enabled when the button is clicked. So I created a CoC class for the button (not the form ) and placed the logic to enable the field in the form But I had a challenge to enable this field in the form because the datasource ‘CustPackingSlipJour’ is non-editable. In order to enable this after… Continue Reading...

Read More
Change standard label names in D365 FO
Jun05

Change standard label names in D365 FO

There are cases where the customer asks for change in the label of product dimensions. Let us take the case where we need to change the label of @SYS Ids . For example, @SYS73726 – Colour @SYS73727 – Size There are 2 ways to address this issue. Creating a label extension and referring the standard label ids with different labels Change the labels of the EDTs of related fields

Read More
System.InvalidOperationException using System.Diagonistics – D365FO
May20

System.InvalidOperationException using System.Diagonistics – D365FO

I had to spend a day to crack the issue of executing cmd.exe which was giving the exit code as non-zero with System.InvalidOperationExcception. This was my code When I execute this from command line or ps, it gives the expected result. But bringing this in C# or D365 , ended up with above exception. And this is the solution This says the compiler that the arguements to the method is to be… Continue Reading AnithaEswaran’s...

Read More
Uninstall/Delete Model- D365 FO
May09

Uninstall/Delete Model- D365 FO

In order to uninstall a model which was deployed through LCS, Stop World wide publishing service , Microsoft Dynamics Batch and Microsoft DIXF services. Remove all the dependancies from the model which is going to be deleted. Delete the model folder from AOSService-> Packages Local Directory Full build the models followed by full Sync. Now if you check in Application explorer,  the… Continue Reading AnithaEswaran’s...

Read More
Differentiate D365 FO environments URL
Apr24

Differentiate D365 FO environments URL

We often get confused when we work on multiple environments and end up entering data in wrong environment. I had already given a post to differentiate  environments based on colors. This post makes even more easier . Add “Environment Tagger” extension to chrome. Add the URL without Https Check your environment Words speak better than colors , in this case Happy Working… Continue Reading AnithaEswaran’s Article...

Read More
File based integration(Import) using Logic apps -D365 FO
Apr23

File based integration(Import) using Logic apps -D365 FO

In this post , I will brief about the import of Customer Group Entity using Logic apps. Here instead of using data Package, I am using xml file for import. Set up a Recurring job in D365 FO for Customer Group. Make a note of the activity when the recurring job is enabled. Go to Azure portal and create a new Resource for Logic apps. Enter a name and Create. Open the designer and start… Continue Reading AnithaEswaran’s...

Read More
Change the label of a dialog field – D365 FO
Apr23

Change the label of a dialog field – D365 FO

Without overlayering, is it possible to change the label of a dialog field ? Yes!!! You can do this in Post event handler of dialog method. But I had to chose the option of referring the field name in my code. Given below the code snippet: /// /// Change the dialog label /// [PostHandlerFor(classStr(ReqItemJournalUpdate), methodStr(ReqItemJournalUpdate, dialog))] public static void… Continue Reading AnithaEswaran’s Article...

Read More
Add ODataAction in DataEntity Extensions
Apr22

Add ODataAction in DataEntity Extensions

I tried added a new OdataAction to a standard Data Entity using Extension. But it was throwing the error when I called the action from Postman. Though the system doesnot give any compilation errors, adding Odata action to a standard data entity extension would not work. So either duplicate the standard one or create a new entity to bring your action. After Odata Action is created, do a… Continue Reading AnithaEswaran’s...

Read More
Calling a new form method from Extension – using CoC – D365 FO
Mar19

Calling a new form method from Extension – using CoC – D365 FO

I had a scenario where I had to call a new method in  one of the fields from Vendor Payment Journal Line. The new method exists in Extension class of  Vendor Payment journal.(which is a form method). This has to be called in modified method of the field ‘Ledger Dimension’. The steps are as follows [ExtensionOf(FormStr(LedgerJournalTransVendPaym))] final class… Continue Reading AnithaEswaran’s Article on their...

Read More
Export/Import/Remove/Audit customized security artifacts
Jan21

Export/Import/Remove/Audit customized security artifacts

Is there a way to export/import only the customized security objects ? Yes. Security Configuration form has this feature. Navigate to Security Configuration and click on ‘Data’ tab. There are two options .   Select Export option and all the roles which were customized with new duties/privileges/tables/sub roles will be exported as xml file.  If there are new roles defined, those roles… Continue Reading...

Read More
Filter Enum values in form lookup – D365 FO/AX
Nov20

Filter Enum values in form lookup – D365 FO/AX

When an Enum is added to a form control, by default all the enum values are displayed in the form as lookup . There are situations where only few of the enum values are needed. How can we do it? Create a new form and add a new ComboBox control to it. In this post, let us take the enum ‘SalesStatus’. Let us name the control as SalesStatusCombo.         3. As discussed , we are… Continue Reading AnithaEswaran’s...

Read More