Contract with a query: To state UIBuilder class, data contract attributes should be changed: If validation is required, then the data contract should implement SysOperationValidatable and additional validation method implemented: parm…
Contract with a query: To state UIBuilder class, data contract attributes should be changed: If validation is required, then the data contract should implement SysOperationValidatable and additional validation method implemented: parm…
If you have not read previous post about CDX push requests, please read it as there you can find configuration information and how to extend standard RetailCDXSeedDataAX7 xml resource. In my case it is required to add additional table and…
Error: insert not allowed for field 'FieldName' Error occurs because of properties Allow Edit and Allow Edit On Created are set to No at Data Entity field and staging table. At Data Entity they also might be set to Auto. If original mapped…
- Сopy all required DLLs and supplementary files to J:\AosService\PackagesLocalDirectory\ _ModelName_\bin folder - Go to Source Control Explorer->Your branch .... ->Metadata-> _ModelName_ - Right click and select Add Items to Folder - Find…
If you need to add new tables/fields to CDX seed data functionality. - create subscription to RetailCDXSeedDataBase.registerCDXSeedDataExtension method: - create new XML resource SOLRetailCDXSeedDataAX7Extension There are two cases: First…
If you need to add additional property keys for channel profile you will find that all used enums are not extensible. There is a way how you can implement it without overlaying: You will need to duplicate standard enum, in my case it is…
To create custom HTML control in Dynamics 365 for Operations you will need to create: Build class Run-time class HTML template resource JS resource CSS resource As an example, we will be creating custom control to sort table records in a…
There are two ways how you can suppress best practice in AX7 (Dynamics 365 for Operations): 1. Fast way is using SuppressBPWarning attribute: [SuppressBPWarning('BPParameterNotUsed', 'Parameter required by the event interface.'),…
1 Introduction I have been experimenting with Data Entity oData actions and had to overcome a few issues. Overall it is easy to implement them and they can be used as a “cheap” alternative to custom services. Compared to a custom service,…
You will need a client id and client secret. The client should be registered in D365F&FSC at System administration -> Setup -> Azure Active Directory applications All requests were tested using Fiddler and its Composer -> Scratchpad…
Here is a simple calc custom service implementation for Dynamics 365 FO / F&SCM Main contract: Sub contract. It is not used by the service, only to show the possibilities: Response contract: Service: Additionally, you will need to - create…
Example of dummy class that implements private variable and method: Extension class (Same works for event handlers, just replace this with instance of object):
Error: Cannot create a record in Entity (DMFEntity) Simply delete all records in DMFEntity table. There are a lot of other related error:
Error: Invalid relations between Entities- Most probably you have a relation between entities based on surrogate key, which gives such error. It works only with natural keys such as SalesId, ItemId. Develop composite data entity
To fetch rows cross company: URL encoded Operator Description Example Logical Operators Eq Equal /Suppliers?$filter=Address/City eq 'Redmond' Ne Not equal /Suppliers?$filter=Address/City ne 'London' Gt Greater than /Products?$filter=Price…
Set following as a value of range: Method implementation: Please bear in mind that you cannot implement dynamic ranges in such way for views and data entities. After compilation/synhronization AX creates a view in DB which has static…
As you might already know it is not safe to use inventSum in the code for items that are using warehouse management processes. For more details you can follow next link: Upgrading code that relies on available and reserved inventory…
In standard ATP calculates it’s table like Receipts – Issues + On hand On hand it is Physical stock from On hand form. And it includes all Physical reservations. So in standard ATP does not consider physical reservation on transaction…
Depending on the d365 version, try one of the following approaches: 1. Through Visual Studio: table browser - open Windows Settings - in search box type and open: Default app settings - Set Web browser as Google Chrome or Microsoft Edge -…
Template to extend RunBase class https://ax.help.dynamics.com/en/wiki/extend-the-runbase-class/
DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics 365 FO.
Authors are allowed to set their own "buy me a coffee" link.
Join us.