Is the Regression Suite Automation Tool (RSAT) tool ready for use now?

YES

Link to download the RSAT Tool:

Link to a RSAT FastTrack Tech Talk:

Link to Data automation framework FastTrack Tech talk:

Link to a presentation on the RSAT tool on Youtube:

Advertisements

D365 – Data Entity Method Call Sequence

Thanks to Uwe Kruger for sharing this. I keep it here for my own reference.

My notes:

  1. The postLoad method is called also by import! Since postLoad is the recommended place to set values for the virtual fields, this potentially slow-down the import process unnecessarily.
  2. Be careful by using the postTargetProcess method! This method is called at the end of EACH thread/task-bundle if you are using the “Import threshold record count” option.
  3. Previously, you could add postTargetProcess only to a newly created entity, but now you can extend any entity using CoC

Extension is simple.

[ExtensionOf(tableStr(DataEntity))]
final public class DataEntity_Extension
{

    public static void postTargetProcess(DMFDefinitionGroupExecution _dmfDefinitionGroupExecution)
    {
        // Do no call next
        //logic here
    }
}

Please note that this can be done only MDM scenarios but not via ODATA because ODATA updates, inserts records row by row and there is no post event\method to use. You might wish to use OData action to perform post actions on records.

D365 Business Events and SignalR Service bindings in Azure Functions

D365 Business events are available in Platform update 24 and later. When there is a need to communicate to an external system, a business action can generate business events via endpoints. Then business events can be consumed via Azure messaging. Check out business events here

https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/business-events/home-page

It is really interesting to see real time application that use Signal IR Service bindings in Azure Functions to consume these events from event brokers such as Azure Service Bus Queue, Azure Service Bus Topic, Azure Event Grid, Azure Event Hub, HTTPs, Microsoft Flow. Developers can easily push updates to the UI with just few lines of code.

https://azure.microsoft.com/en-us/blog/real-time-serverless-applications-with-the-signalr-service-bindings-in-azure-functions/

D365 Positive Pay File – Wells Fargo

Step 1: Create an XLST file

If you need a header, add piece of code below

Step 2: Upload the file to positive pay format

Step 3: BankPositivePayExport class

If you want the file to save under csv file, make sure to extend BankPositivePayExport class

An example is below

Step 4: Generate file

Output

No header

With header

Azure Global Bootcamp – DFW 2019

All around the world user groups and communities want to learn about Azure and Cloud Computing!

On April 27, 2019, all communities will come together once again in the sixth great Global Azure Bootcamp event! Each user group will organize their own one day deep dive class on Azure the way they see fit and how it works for their members. The result is that thousands of people get to learn about Azure and join together online under the social hashtag

Check your location at: https://global.azurebootcamp.net/locations

See you there !!! 

Using Postman with D365

We need the right tool for the job. Postman is a tool that often used to interact with Restful services (OData). Below is how you can setup postman to work with D365 (assuming you know how to setup on Azure side like tenant_id, client_id, client_secret)

SETUP

Setting up BearerToken

Params tab

Body tab

grant_type: {{grant_type}}

client_id: {{client_id}}

client_secret: {{client_secret}}

resource: {{resource}}

Test tab

var json = JSON.parse(responseBody);

tests[“Get Azure AD Token”] = !json.error && responseBody !== ” && responseBody !== ‘{}’ && json.access_token !== ”;

postman.setEnvironmentVariable(“bearerToken”, json.access_token);

TEST

OR

Postman with CRUD operations

Insert
Operation

Header tab

Authorization =
Bearer {{bearerToken}}

If-None-Match = null

OData-Version = 4.0

Content-Type = applicatin/json

Accept = application/json

Odata-MaxVersion = 4.0

Body tab

Result