Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Tuesday, October 30, 2018

The name [**TableName**] does not denote a class, a table, or an extended data type in D365.

Hi

The Table which you added to the solution / Project is not in the model package, So you needs to add that missing package in to your model.

Sample steps followed below :


In my case :  I did add the FiscalBook in to my model package.

Dynamics 365 > Model Management  > Update model parameter 

Select your model and click Next

Check / Select the FiscalBook in that listed package list and select Next.

Finish ends your dialog.

Regards,

Wednesday, October 24, 2018

Print HTML tags as run value in SSRS 2012 R3 / D365

Hi,

1. Select the text filed.
2. Click on the expression /  filed values (right click)
3. Select placeholder properties.
4. General tab  > Markup type > HTML as style.


Regards,

Tuesday, October 23, 2018

Deploy all the report in CMD for D365

Hi,

1. Run the powershell command prompt as administrator.
2. Paste the code for specific reports.
here my sample is PurchPurchaseOrder.Report

K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -Module ApplicationSuite -ReportName PurchPurchaeOrder.Report -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”

3. To deploy all the reports.

K:\AosService\PackagesLocalDirectory\Plugins\AxReportVmRoleStartupTask\DeployAllReportsToSSRS.ps1 -PackageInstallLocation “K:\AosService\PackagesLocalDirectory”


Regards,

Monday, October 15, 2018

W3WP process attaching issues / debugger not enabled in D365


When ever you find w3wp process attaching issues or multiple times of w3wp process




1. Please check do local service w3c loading service is running.



2.  Please do check Load symbol for items in the solution.
D365 > Option


3. Restart the IIS.


Hope your issue will get resolved.

Conformation:


Thanks,


Sunday, October 14, 2018

Error: "The model element was saved with unparsable source code and cannot be used".

Hi,

This is error because of multiple times changes in the blocks of code. This is the error on building a recent changes which is not affecting by last changes.

Solution.

1. Take a complete old code in to Notepad and save the class and built the object.
2. Now replace this blocks of code with the buffer you have in clipboard.
3. You may save and build now.

Thanks,


How find size of recordsortedlist in D365/AX 2012

Hi, This is the continuity of the previous article where we are now getting the size of recordsortedlist . if(recordsortedlist.len() >1) ...