The purpose of this blog is for knowledge sharing and connect the relevant audience who are all into Microsoft Dynamics world.
Alfasith AX
Thursday, March 25, 2021
Generate script to recreate the DDL with data and without data
Wednesday, March 24, 2021
Adding admin user in to D365 instance
Hi,
There are 2 ways to add admin user in to an instance.
1. System Administrator \ User \ Import from Acive Directory.
2. Using admin user provisioning tool.
Using admin user provisioning tool.
1. Run the AdminUserProvisioning shortcut placed in desktop of AOS server.
2. Enter the email address of the account has AAD ( Azure Active directory) and Submit.
Note: Shortcut is not available in desktop, please check below URL
https://alfasith.blogspot.com/2021/03/how-to-add-dynamics-365-admin-user.html
Regards
How to add Dynamics 365 admin user provisioning tool in desktop
Hi,
During VM creaction, we may missed out to add the shortcut of user provisioning tool in desktop, for that we have to manually create the shortcut from the installed exe run file.
C:\AOSService\PackagesLocalDirectory\bin\AdminUserProvisioning.exe
Add shortcut to desktop for selected file.
Regards,
Tuesday, March 9, 2021
Extend / Customize standard CanSubmitToWorkflow in D365
Hi,
We cant override CanSubmitToWorkflow to return our boolean on any eventHandler's return like eventHandler of ValideWrite(). To achiew we have to set the args of CanSubmitToWorkflow() to be decided by our code.
[PostHandlerFor(formStr(CustTable), formMethodStr(CustTable, canSubmitToWorkflow))]
public static void CustTable_Post_canSubmitToWorkflow(XppPrePostArgs args)
{
FormRun form = args.getThis();
FormDataSource custTable_ds = form.dataSource(formDataSourceStr(custTable,CustTable)) as FormDataSource;
custTable custTable = custTable_ds.cursor();
if (custTable.RecId && custTable.DocumentStatus == DocumentStatus::NotSubmitted)
{
args.setReturnValue(true);
}
else
{
args.setReturnValue(false);
}
}
Regards,
SQL code to upate one Legal entity banner to all the legal entity in D365
Hi, update companyimage set companyimage.Image = companyimageA.Image from ( select Image from companyimage where dataAreaid = 'USF...
-
Hi, AccountingDistribution ( accounting distribution 7452 ) AccountingDistributionEventTmp ( accounting distribution 100001 ) Accountin...
-
Hi, Create a EDT name it Gender then in properties enumType : //select the enum name Use the below code and enjoy. static v...