Category Archives: X++

X++

D365 FO : DOWNLOAD A SHAREPOINT FILE USING X++

Hey Folks ! I had a requirement in Microsoft Dynamics 365 for finance and operations where I want to save & download a file from a SHAREPOINT site and from its folder using X++ code. Here i am using classes –

Microsoft.Dynamics.AX.Framework.FileManagement.SharePointDocumentStorageProvider
Microsoft.Dynamics.AX.Framework.FileManagement.DocumentContents
Microsoft.Dynamics.AX.Framework.FileManagement.DocumentLocation
Microsoft.Dynamics.AX.Framework.FileManagement.SharePointDocumentStorageProvider

D365/AX7:Upload & Save a File in Azure Blob Storage using X++

Using Azure Blob Storage In Scheduled Tasks | Notificare

Requirement: Saving a file and uploading memory stream of file in Azure BLOB Storage account using X++ in Microsoft Dynamics 365 finance and operations

Continue reading D365/AX7:Upload & Save a File in Azure Blob Storage using X++

D365/AX7: Read & Download a File from Azure Blob Storage Using X++

Part-1: Azure BLOB storage with Dynamics 365 for operations

Requirement – Reading a file & getting the memory stream of file from Azure Blob Storage in Microsoft dynamics 365 for finance and operations using X++.

Upload & Read JSON File from Local Folder

Breaking Changes in ArduinoJson 6.0 - Wia Community

Requirement:

Customer has saved some JSON files in local folder of laptop or server or drive. Customer wants upload the JSON files from local drive to microsoft Dynamics 365 finance and operations for further business process. A dialog will open in Microsoft D365 fin & ops, customer will select JSON files and import.

Continue reading Upload & Read JSON File from Local Folder

D365 FO:Catch exceptions & Inner exceptions thrown from CLR objects Using ClrInterop & X++

Exception Handling in Java | Java Exceptions - javatpoint

In Microsoft Dynamics 365 for finance and operations, when you use .Net assemblies or classes it is important that you code should handle & capture & catch all the .Net inner exceptions.

D365 FO : Printing & Generate QR code in SSRS Report

Requirement – PRINTING & GENERATE QR CODE IN SSRS REPORT USING MICROSOFT.DYNAMICS.QRCODE.ENCODER & X++ in Microsoft Dynamics 365 finance and operations.

Continue reading D365 FO : Printing & Generate QR code in SSRS Report

D365 FO: Consume & Call Restful API using X++, pass request header & Post JSON message in body

Requirement

CONSUME & CALL RESTFUL API USING X++, PASS REQUEST HEADER & POST JSON MESSAGE IN BODY – Client shared some REST APIs and REST web-services. The web-service or REST API needs to be consumed in Microsoft Dynamics 365 finance & operations using X++. The HttpWebRequest contains request headers i.e WebHeaderCollection which needs to be filled in API header. The content type is application/json. The request body input should be a valid JSON format and POST method of REST API will be called .HttpWebResponse will be received & deserialized in Microsoft Dynamics 365 fin & ops

Continue reading D365 FO: Consume & Call Restful API using X++, pass request header & Post JSON message in body

D365 FO: Data Entity “onMappingEntityToDataSource” event

Requirement

In Microsoft Dynamics 365 finance and operations, client has an data entity for importing list of customer account into a table.During the time of importing of customer accounts using Data entity, client also want to capture & save values of few fields.

Continue reading D365 FO: Data Entity “onMappingEntityToDataSource” event

D365 FO & PowerAPPS – Lookup From Data entities

Requirement – Connecting Microsoft Power Apps to Data Entity of Microsoft Dynamics 365 for finance and operations. Then create a lookup from Data entity.

Continue reading D365 FO & PowerAPPS – Lookup From Data entities