Publications

String character looping X++

Sometimes you come across offbeat requirements. One such was to iterate over characters of string to perform a particular operation. I googled and came across many examples of C#, small journey began to use CLR types for this operation…

Background batch job template without dialog box

Can be used for calculations in background to avoid blocking of main process. For example to prind invoice to PDF file and then send it as business event. To schedule the main process needs to call the main method:

Upload file to cloud/azure blob storage

Class to upload file stream to a cloud Usage: To browse result: Download and Install Microsoft Azure Storage Explorer. - Open connect dialog - Storage account or service - Account name and key - populate Display name, Account name, Account…

Creating new D365FO Business Event

The name should include the noun or phrase that corresponds with theevent, followed by the BusinessEvent suffix. New business event for Customers. Main contract class: Business event class: Extension to CustTable table to trigger…

InventSum update event handler

Usual update/insert InventSum event handlers to handle simple cases Update inventSum advanced case (InventUpdateOnhand.updateInventSum())

SSRS error converting report to PDF format

AX infolog error: An internal error occurred on the report server. See the error log for more details. SSRS error: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: ScalableList: Index 6 outside the…

Import custom bank statement files

Cash and bank management / Bank statements / Import statement New field should be added to BankStatementFormat table (and form) to identify our specific format. It could be enum (if you have several custom formats) or just checkbox like in…

How to create missing records in another company

There is how you can select cross company all customers which does not exist in specific company. This can be adjusted to select eny entity in AX cross company, which does not exist in specific company. VKTmpRecIdFilter is duplicate of…

Available physical on exact dimensions

In case of following conditions Item is enabled for advanced warehousing WHSInventEnabled::exist(ItemId); some warehouses have negative stock You will see that Available physical figure is different from what you most probably want to get:…

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