I got this error at version Dynamics 2012 R3 CU9, SQL Server 2014, Windows Server 2012 R2.
Those kind of errors will come when you move report from Dev Server to Live Server, even compilation in DP Class, Query, Contract, table … without any error
AX1004: Reference System.Core, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089 was not a valid model assembly.
MSB3644: The reference assemblies for framework “.NETFramework,Version=v4.0” were not found. To resolve this, install the SDK or Targeting Pack for this framework version or retarget your application to a version of the framework for which you have the SDK
There is no reference Assemblies Version 4.0 under C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework on Windows Server 2012 R2 (only Version 4.5 it have)
Copy those Assemblies from your any where (Windows 7,8,10) to Server
The workflow process moves purchase requisitions through the review process, from an initial status of Draft to a final status of Approved. When a purchase requisition is submitted for review, the workflow process is started. After a purchase requisition is approved, a purchase order can be generated for the purchase requisition lines and submitted to the vendor for order fulfillment.
We will use AIF standard service for import PR from outside, service name PurchReqImportService.
in AxPurchReqTable class and setPurchReqId() method
Base on this method, you could know how System get PurchReqId.
How to do
Go to Inbound ports form to create new service with NETTCP adapter, choose service operations likes below:
Then active AIF inbound service
Consume Pruchase requisition service
Open visual studio and create new console project.