Quantcast
Channel: Martin Dráb's Activities
Viewing all 17532 articles
Browse latest View live

Error Search on the web ax 2012 from Infolog

$
0
0

Hi,

I want to Customize the Infolog Message ,where i can add a button ,

when i click, it will search the error message of infolog in the browser,instead copy and paste in browser all the time error message.

Any suggestions on how i can achieve this ?


365 Virtual Machine

$
0
0

Hello ,

I would like to learn& practise D365 technical (visual studio)

Can you please share me procedure how to download?

Regards

Gouri

When exactly Data Package is created in D365FO.

$
0
0

Hi All

When exactly Data Package is created in D365FO.

Please give me more shed on this.

Thanks!

Report Dialog parmShowDialog

$
0
0

public static void main(Args _args)

{

OHSDevelopmentPlanController controller = new OHSDevelopmentPlanController();

for (int i=1; i<=10001; i++)

{

controller.parmShowDialog(false);

}

controller.parmArgs(_args);

controller.startOperation();

}

I tried removing the text fonts.....

I was struggling with the dialog of my contract class displaying even though I called parmshowdialog(false). Calling the method 10001 times didn't actually do the trick. (I don't know what did the trick.)

I called the method parmShowDialog(false) {before & after startoperation and many other combinations} and rebuilt my solution numerous times but still the dialog popped up. I think after I debugged it, it stopped displaying (didn't change anything). Obviously there is something I don't get. What could cause my call to the parmShowDialog() to be ignored? And then be magically accepted after hours of wrist cutting?

Also (I have a hunch it is related to this question), I have noticed that even after I remove parm methods in a contract class, the dialog still picks up those parameters (in other words prompts me on the UI for a value). Where are these values stored? Is there something I need to refresh? I can supply more info if needed :)

Thank you for reading

classes and Tables are called during working with Data entities in D3FO

$
0
0

Hi All

Can you please let me know which classes and Tales are called during working with Data entities ?

Note : I mean to say let me know the name of standard and Classes which is always been called during data entities.

Please give me more shed on this.

Thanks!

when to choose Synchronous OR Asynchronous in Data integration (Export / Import) in D3FO

$
0
0

Hi All,

Can you please let me know when to choose Synchronous OR Asynchronous in Data integration (Export / Import)?

Please give me more shed on this.

Thanks!

Blocking on BatchRunServerTaskLock

$
0
0

DECLARE @res int; EXEC @res = SP_GETAPPLOCK @resource = N'BatchRunServerTaskLock', @lockmode = 'shared', @locktimeout = [moved from the title by a moderator]

why I  see blocking related with this every time in SQL databases?

Wait type:- APPLICATION: 8:0:[BatchRunServerTaskLock]:(401b210f)

I dont find any good AX block that mention about this type of application lock. can some one explain? 

|------ 1516 xp_userlock

|.......|------ 276 xp_userlock

Power BI reports embedded in AX client

$
0
0

Hi,

Is there a way to embedded Power BI reports in AX 2012 Client? If yes please let me know all the possibilities.

Thanks


Custom rate engines give error 'Dynamics.AX.ApplicationSuite.124.netmodule' on D365FO

$
0
0

We have custom transportation rate engines that worked perfectly in AX2012.

We brought them over to D365. We cannot get it to work in D365.

The error I get when I step through the code is:

Message "Could not load file or assembly 'Dynamics.AX.ApplicationSuite.124.netmodule' or one of its dependencies. The system cannot find the file specified." string

Microsoft has provided this link on how to create transportation  rate engines: https://docs.microsoft.com/en-us/dynamics365/unified-operations/supply-chain/transportation/create-new-transportation-management-engine#deploy-the-tms-engine-as-a-package

Nowhere in there does it mention anything special on the build or what version the project needs to be build in. Note that the rate engine project is a mixture between X++ and a C# class library.

When it builds, it generate warnings that I have ignored up till now, but searching for an answer on the error makes me think that I need to look closer at the warning messages.

Here are some:

*****

2>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Dynamics.AX.ApplicationFoundation", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.

2>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Dynamics.AX.ApplicationPlatform", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.

2>C:\Program Files (x86)\MSBuild\14.0\bin\Microsoft.Common.CurrentVersion.targets(1820,5): warning MSB3270: There was a mismatch between the processor architecture of the project being built "MSIL" and the processor architecture of the reference "Dynamics.AX.ApplicationSuite, Version=0.0.0.0, Culture=neutral, processorArchitecture=AMD64", "AMD64". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project.

3> No way to resolve conflict between "Microsoft.Data.OData, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "Microsoft.Data.OData, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "Microsoft.Data.OData, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily.

3> No way to resolve conflict between "Microsoft.Data.Edm, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "Microsoft.Data.Edm, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "Microsoft.Data.Edm, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily.

3> No way to resolve conflict between "Microsoft.Data.Services.Client, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "Microsoft.Data.Services.Client, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "Microsoft.Data.Services.Client, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily.

3> No way to resolve conflict between "System.Spatial, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" and "System.Spatial, Version=5.6.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35". Choosing "System.Spatial, Version=5.6.4.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" arbitrarily.

3> No way to resolve conflict between "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" and "Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed". Choosing "Newtonsoft.Json, Version=9.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" arbitrarily.

3> Consider app.config remapping of assembly "Microsoft.Data.OData, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.6.0.0" [] to Version "5.6.4.0" [C:\Users\User5189d4976dc\Documents\Visual Studio 2015\Projects\TMC_3832_TmsSharedParcelEngineData\TMC.ThirdParty.Parcel\bin\Debug\Microsoft.Data.OData.dll] to solve conflict and get rid of warning.

3> Consider app.config remapping of assembly "Newtonsoft.Json, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed" from Version "6.0.0.0" [] to Version "9.0.0.0" [C:\Users\User5189d4976dc\Documents\Visual Studio 2015\Projects\TMC_3832_TmsSharedParcelEngineData\TMC.ThirdParty.Parcel\bin\Debug\Newtonsoft.Json.dll] to solve conflict and get rid of warning.

3> Consider app.config remapping of assembly "Microsoft.Data.Services.Client, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.6.0.0" [] to Version "5.6.4.0" [C:\Users\User5189d4976dc\Documents\Visual Studio 2015\Projects\TMC_3832_TmsSharedParcelEngineData\TMC.ThirdParty.Parcel\bin\Debug\Microsoft.Data.Services.Client.dll] to solve conflict and get rid of warning.

3> Consider app.config remapping of assembly "System.Spatial, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.6.0.0" [] to Version "5.6.4.0" [C:\Users\User5189d4976dc\Documents\Visual Studio 2015\Projects\TMC_3832_TmsSharedParcelEngineData\TMC.ThirdParty.Parcel\bin\Debug\System.Spatial.dll] to solve conflict and get rid of warning.

3> Consider app.config remapping of assembly "Microsoft.Data.Edm, Culture=neutral, PublicKeyToken=31bf3856ad364e35" from Version "5.6.0.0" [] to Version "5.6.4.0" [C:\Users\User5189d4976dc\Documents\Visual Studio 2015\Projects\TMC_3832_TmsSharedParcelEngineData\TMC.ThirdParty.Parcel\bin\Debug\Microsoft.Data.Edm.dll] to solve conflict and get rid of warning.

3>C:\Program Files (x86)\MSBuild\Microsoft\Dynamics\AX\Microsoft.Dynamics.Framework.Tools.BuildTasks.targets(75,5): warning MSB3247: Found conflicts between different versions of the same dependent assembly. In Visual Studio, double-click this warning (or select it and press Enter) to fix the conflicts; otherwise, add the following binding redirects to the "runtime" node in the application configuration file: <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="Microsoft.Data.OData" culture="neutral" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /></dependentAssembly></assemblyBinding><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" /><bindingRedirect oldVersion="0.0.0.0-9.0.0.0" newVersion="9.0.0.0" /></dependentAssembly></assemblyBinding><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="Microsoft.Data.Services.Client" culture="neutral" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /></dependentAssembly></assemblyBinding><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="System.Spatial" culture="neutral" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /></dependentAssembly></assemblyBinding><assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"><dependentAssembly><assemblyIdentity name="Microsoft.Data.Edm" culture="neutral" publicKeyToken="31bf3856ad364e35" /><bindingRedirect oldVersion="0.0.0.0-5.6.4.0" newVersion="5.6.4.0" /></dependentAssembly></assemblyBinding>

*****

What I read about these errors, is that it means that AX is on one version and that Visual Studio compile sit against another. It looks to me that AX is X86. By default the projects are compiled as Debug/Any CPU. It looks like I need to change it to Debug/X86. I did that but the build gave even more warnings. So I changed it to Debug/X64, but still the warning messages.   

 

So I don't know if I am on the right track to fix my run time exception error.

Can anybody shed some light for me on this error ("Could not load file or assembly 'Dynamics.AX.ApplicationSuite.124.netmodule' or one of its dependencies. The system cannot find the file specified." ) please with a possible solution on how to fix it?

Request for the permission of type 'AifChangeTrackingPermission' failed error

$
0
0

Hi I am getting the following error when trying to create the definition groups

Request for the permission of type 'AifChangeTrackingPermission' failed.
(S)\Classes\CodeAccessPermission\demand
(S)\Data Dictionary\Tables\AifSqlCdcEnabledTables\Methods\aosValidateRead - line 16
(C)\Classes\SysDictTable\recordCount - line 17
(C)\Classes\SysDataExportBase\getRecordCount - line 3
(C)\Classes\SysDataExportBase\exportTable
(C)\Classes\SysDataExportSetBased\exportTable - line 14
(C)\Classes\SysDataExportBase\callExportTable
(C)\Classes\SysDataExportBase\doExportExpImpTable
(C)\Classes\SysDataExportSetBased\doExportExpImpTable
(C)\Classes\SysDataExportBase\exportExpImpTable
(C)\Classes\SysDataExportBase\exportTables
(C)\Classes\SysDataExportSetBased\exportTables
(C)\Classes\SysDataExportBase\export
(C)\Classes\SysDataExport\export - line 10
(C)\Classes\SysDataExportSetBased\export
(C)\Classes\SysDataExportBase\run
(C)\Classes\SysDataExpImpBase\runOnClient - line 9
(S)\Classes\SysDataExportBase\run - line 12
(C)\Classes\SysDataExportSetBased\main

Any idea how to solve this?

Steve

How to publish customization from Sandbox to Production in Dynamics 365 For Finance and Operations?

$
0
0

Hi..

i have fixing report and form in Sandbox, in Production environment, i don't have VM for fixing my report and form.

so, how to fixing customization in server Production?

Thanks all.

How to import Ledger Closing trans

$
0
0

Hi guys 

I want to import data in the LedgerClosingTrans table. 

Have you already experienced it ? 

Path of form : Gl\periodic\Fiscal year close\Closing Period adjustment\Bottom:Transfer

License for Dynamic 365

$
0
0

Hi all, my company need to use Dynamics 365, Enterprise Edition and gave me a task to check the License. I read some document about Dynamic 365 License, but too much option and data so i can't find what we really need.

I read "Microsoft Dynamics 365 Licensing Guide" already . Please show me what i need to do with enterprise version? Thank all

Is it feasible to import data using SQL table as a source in D365

$
0
0

Hi techies,

What are the feasible options to import data using SQL table in AX, we used to do with SQL connection string in AX 2012.

Do we have the same in D365 as well? Any response is appreciated.

Thanks,

Sangram

The underlying connection was closed: An unexpected error occurred on a send.

$
0
0

Hi guys,

I got this error while synchronizing from Magento to AX .what is the cause for the issue ?. i think,this is some Security cause issue .can u plz confirm what is the cause of it .


Debugging: How to step into System Defined Classes

$
0
0

I am debugging a report controller class I wrote.

I want to step into a method I called: HcmEmployment::findByWorkerLegalEntity.

Is this possible? If it is, I'd love to know how :)

(This is a repost, I think I previously posted it in the wrong forum.)

Macro to assign null value to variable

$
0
0

I remember seeing a single macro to assign null value for all datatypes. Can you anyone give me that macro name?

Error when calling Odata Action from Postman

$
0
0

Hi,

I get below error when calling my Odata action from postman.

Please help out!!

below method is in my entity "xxx_CustomerEntity"

[SysODataActionAttribute("UpdateComplete", true)]
public void UpdateComplete(AccountNum _accountNum, NoYesId _isComplete)
{
xxx_CustomerEntity customerEntity;

ttsbegin;
select forupdate customerEntity
where customerEntity.AccountNum == _accountNum;

customerEntity.IsImported = _isComplete;
customerEntity.update();
ttscommit;
}

    "Message": "No HTTP resource was found that matches the request URI 'https://[baseurl]/data/Microsoft.Dynamics.DataEntities.UpdateComplete'. No route data was found for this request."

Regards,

Pradeep

Dynamics AX 2009 with Microsoft Flow

$
0
0

It's possible t integration between Dynamics AX 2009 and Microsoft Flow?

How to get list of objects Created Or modified Objects in Production After the ModelStore Import.

$
0
0

Hi,

I am doing the build using ModelStore import from the TEST environment to Production,  for the auditing purpose, I need to get the list of objects created or modified during each and every build.

Since it was a model store import, the created Date time & modified Date time will be similar to the TEST environment. 

SQL Statement : 

select
smet.Name as Name,
smet.TREENODENAME as TreeNodeName,
sme.Name as ObjectName,
smed.CREATEDBY as CreatedBy,
smed.CREATEDDATETIME as CreatedDateTime,
smed.MODIFIEDBY as ModifiedBy,
smed.MODIFIEDDATETIME as ModifiedDateTime
from SYSModelElementType smet
join SysModelElement sme
on sme.ElementType = smet.RecId
join SysModelElementData smed
on smed.ModelElement = sme.RecId
where smed.MODELID = '19' and
((CONVERT(DATE,smed.CREATEDDATETIME,123) between '2018-02-01' and '2018-02-28')
OR  (CONVERT(DATE,smed.MODIFIEDDATETIME,123) between '2018-02-01' and '2018-02-28'));

Viewing all 17532 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>