Scribe Online: Working with Lookup block – Dynamics 365 CE


Let us continue with our previous post in which we created a solution to pull data from SQL On-Premise and create lead records in Dynamics 365.

Let us create a new table which will be our source here.

Table Name – Transaction

2 columns – ID and Brand.

Transaction and Brand have n -1 relationship i.e. Transaction record have a Brand lookup field in it.

The brand value will be used for two things here.

  • We’d set the Brand lookup field based on its text.
  • The brand record has another lookup field for the team, whose value we will pick and set it as owner for the current transaction record.

Login to https://app.scribesoft.com Scribe Online

Create a new solution and add a new integration map to it and add the SQL On-Premise Connection and CRM Connection to it and add the Query Block (SQL), For Each Result, Lookup and Create (CRM) to it as shown below.

Now let us set the properties for each of the blocks.

For Query Block, we have selected Transaction Table as Entity

For Lookup Block,

First, we have selected our custom entity Brand.

We want Brand Id and Fashion Team Brand lookup’s GUID from the Brand entity based on Brand name from our source transaction table.

For lookup criteria of Lookup Block select the Brand value of the Transaction source à

For Field List, we have selected Team GUID field and Brand GUID which will be used for creating the transaction record.

Now for the Create block.

We have selected the custom transaction header entity

For Fields, we have mapped Brand Id lookup field of Transaction Header with Brand GUID retrieved from Lookup.

And Owner Id field with Brand Team’s GUID and for OwnerIdType we have passed “Team” as a string value.

Now on running the integration, we can see 2 rows of the table processed.

Within CRM

We can see the Brand lookup set and also owner set to the team of the particular brand.

To see how to implement the same using KingswaySoft Dynamics 365 Integration Toolkit refer the below post

https://nishantrana.me/2018/05/22/using-lookup-transformation-and-cache-transformation-in-ssis-for-dynamics-365-using-kingswaysoft/

Hope it helps..

Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

One thought on “Scribe Online: Working with Lookup block – Dynamics 365 CE”

Please share your thoughts

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Welcome to the Blog & Website of Paul Andrew

Technical Leadership Centred Around the Microsoft Data Platform

Deriving Dynamics 365

Deriving Solutions and features on Power Platform/Dynamics 365

The CRM Ninja

Thoughts & musings from a Dynamics 365 Ninja!

CRM for You and Me

Customer Relationship Mgt App for the Professional

D CRM Explorer

Learn about Microsoft Dynamics CRM Power Platform customization and implementation and other cool stuffs

Stroke // Jonas Rapp

I know pre-stroke. I will improve who I was.

Power Melange

Power Melange By Shalinee

Clavin's Blog

Power Automate - Power Apps - SharePoint Online - Azure - Nintex - K2 - Artificial Intelligence

Sat Sangha Salon

An Inquiry in Being

The Indoencers

The Influencers & Influences of Indian Music

Monika Halan's blog

Hand's-free money management

D365 Demystified

A closer look at Microsoft Dynamics 365.

Microsoft Mate (msftmate) - Andrew Rogers

Experienced consultant primarily focused on Microsoft Dynamics 365 and the Power Platform

Knowhere365

Specific topics by Django Lohn on the whole Microsoft365 Stack

Manmit Rahevar's Blog

One Stop Destination for Microsoft Technology Solutions

MG

Naturally Curious

Brian Illand

Power Platform and Dynamics 365

Steve Mordue MVP

A Microsoft Business Applications MVP

Subwoofer 101

Bass defines your home theater

SQLTwins by Nakul Vachhrajani

SQL Server tips and experiences dedicated to my twin daughters.

Everything D365

Discovering Azure DevOps and D365 Business Applications

Tech Wizard

Lets do IT Spells

XRM Tricks (Power Platform & Dynamics CRM )

Power Platform & Dynamics CRM

CRM TIPS BY PRM

Mail to crmtipsbyprm@gmail.com for queries and suggestions

nijos.dev

Giving back to the community what I have learned

xrm CRM Dynamics

Dynamics CRM Technical & Functional Info

Dynamics 365 Blogs - Explained in unique way

Sometimes you need to look at things from different perspective.

CRM Keeper

Dynamics 365 Customer Engagement, CRM, Microsoft CRM, Dynamics CRM

EVOLVED365

Step into the world of a Dynamics 365 Consultant

Dianamics PCF Lady

Diana & Dynamics 365 & Power Platform

Sara Lagerquist

No Code Customization Concepts

innovativeaj

developer, designer, writer, fun loving, patriotic, humble and a sweet person inside out :) love and respect people who have a great sense of humor.

Temmy Wahyu Raharjo

dreaming to be a clean coder and TDD minded programmer.

%d bloggers like this: