Publications

SysOperation job template

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…

CDX pull request with data post processing

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…

Data entity: insert not allowed for field

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…

How to check in DLLs to TFS and go through build server

- С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…

How to add new fields to CDX

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…

How to harmlessly extend retail channel profile properties

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…

How to create custom HTML control

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…

Best practice check ignore list in D365FO

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.'),…

oData actions

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,…

Test custom services using raw HTTP

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…

oData query possibilities

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…

AX7 custom ranges for query/views/data entities

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…

Getting access to new AX7 environment

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 -…

Search

About

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.

Blog Tags