July 22, 2021

QuickFix: Delete command button doesn't work as expected

Scenario: I've created a form with multiple data sources, one of the tab pages needs its own new, delete button. (Can not use design property). When adding command buttons for New and delete, New works fine but delete doesn't. 

Possible reason: There is a lot of commands which start with Delete, and probably you have chosen the 'Delete' command, while you need to choose 'Delete record' as this button spouse to delete a record (or multiple records). Try this.

-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

June 21, 2021

[Solved] SECURITYROLEPRIVILEGERESOURCELICENSEMAP DB sync error

Hi Folks,

The other day I was getting errors while doing build and DB sync. This error is quite strange when looking at the details in the Error List pane. Below is the error message(s).

Error message:

         

 

 

If you succeed to get some details from this error message 😊, you will see the issue with SECURITYROLEPRIVILEGERESOURCELICENSEMAP while you won’t get anything in AOT with this name.





 

 





Let’s try the SQL then. Open the SSMS and select AxDB then searches for dbo. SECURITYROLEPRIVILEGERESOURCELICENSEMAP and right-click to see the design. You may get some additional fields here, ideally, there should be below seven fields, (you should be double sure if anyone else in your team added anything)

And delete any additional fields from here.

 



 





Save your changes and go back to Visual Studio and try to do build and DB synch. It should work.


Enjoy!!!

-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

May 20, 2021

QuickFix: Entity store doesn't refresh

Issue: I have made a change in an entity store(Power BI measures) but while refreshing it from System Admin> Entity store> select entity > hit refresh button.

 

Possible reason: Check if the batch service is up and running, try to restart the same. 

 

-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

April 22, 2021

Lets make Bicep(s) now

Hi Folks,

Let’s work on your Bicep(s) from now onwards. Not the physical musculus but the Logical one, I am talking about the Logic apps here.

The Bicep is a language for declaratively deploying Azure resources and is a domain-specific language (DSL), which means it's designed for a particular scenario or domain. You can use Bicep instead of JSON for developing your Azure Resource Manager templates (ARM templates). It helps to simplify the authoring experience by providing concise syntax, better support for code reuse, and improved type safety. It isn't intended as a general programming language for writing applications.

Here are some useful links for reference, so let’s build the Bicep now.

What is Bicep (Preview)?

Install Bicep





Cheers!!!

-Harry 

Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

April 14, 2021

Quick Fix: Batch service didn't start Error 1064

Error message: Windows could not start Microsoft Dynamics 365 Unified operations: Batch management Service service on Local Computer. 

Error 1064: An exception occurred in the service when handling the control request.





Solution: Check if the system is under maintenance mode, if yes disable the same and try again.

-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

March 31, 2021

How to get meta data of an Data Entity MSDynD365

Hi Folks,

Here we got one awesome update on D365FO data management, now you get metadata of any data entity in a very useful format in an excel file.  You will get the below information for each data entity.





Let's see how to get that, go to the "Data management" workspace and click on the "Data entity" tile.
Select your data entity and in the menu bar select the "Get metadata" button.



The system will download the metadata in an excel file even for any custom field or entire custom data entity, pl find below a sample file for the Vendor Group.

Cheers!!!

-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

January 28, 2021

QuickFix: Maintenance mode doesn't activate

Hi Folks,

While trying to bring your Tier-1 environments in maintenance mode using SSMS, system may take longer than expected even after multiple time ISS reset using CMD.

Try this, Open Visual studio (type DevEnv in windows search bar) and click 'Dynamics 365' menu then select ‘Restart IIS Express’ this will bring your system into maintenance mode immediately.



-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

January 18, 2021

Dynamics Deployment Services [wsfed-enabled] not appearing on Azure portal

Hi Folks,

If you are also facing an issue while creating an Azure connector in LCS and not founding Dynamics Deployment Services [wsfed-enabled] user in IAM in Azure subscription. Pl try the below step

1. Go to project setting > Azure connector and Authorized 
















Sometimes you may get issue while deploying the environment on the cloud, try below

 Try to give the below roles on the Azure portal to the user which you are currently logged in to LCS.

1. Owner

2. Contributor

Well, if it's not the end for you and you are still getting below error on some further screen,



Don't worry, it's the background services which maybe on a short break :), and taking a little longer to update the credentials. Give a try in a few min and you should be able to proceed,


Cheers!!!

Harry

Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta


January 11, 2021

Computed columns in Views - Dynamics AX

Hi Folks, 

I came across a useful blog on Computed columns in Views - Dynamics AX, however, its written for AX 2012 but fits pretty well with Dynamics 365FO as well. 

Have a look. 

Computed columns in Views - Dynamics AX 2012

-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta

QuickFix : Error on Data entity


Error message: 

Severity Code Description Project File Line Suppression State
Error Infolog diagnostic message: 'Datasource name <EntityName>not found in the view <EntityName>.' on category 'Error'. 0


Possible cause: Check if you are using any calculated field and that method for the field is calling the wrong entity. Also, check if it points to the wrong data entity method. 
Below is the syntax


 dataEntityName      = tablestr(<EntityName>);
        Filed1 = str2Int64(SysComputedColumn::returnField(DataEntityName, identifierStr(<Datasource name>), fieldstr(<Datasource name>, CustTransRecId)));
       


-Harry Follow us on Facebook to keep in rhythm with us. https:fb.com/theaxapta