Using Key function in Mapper

Slides:



Advertisements
Similar presentations
How to Add a Proper Heading To a Word Document Michelle Lowe – Media Specialist – 12/4/2013.
Advertisements

6/13/2005University of Maine System 1 General Ledger GL Inquiry Pages.
Header and footer basics Add page numbers, date, and more Think of page formatting in a book. The book title is at the top of one page, the chapter title.
Copyright © 2008 Pearson Prentice Hall. All rights reserved. 1 1 Committed to Shaping the Next Generation of IT Experts. Chapter 2: Relational Databases.
2015/6/301 TransCAD Managing Data Tables. 2015/6/302 Create a New Table.
Microsoft Access 2007 Microsoft Access 2007 Introduction to Database Programs.
MS-Access XP Lesson 5. Creating a Query with Expression Builder Eg. Consider the following table. Table Name: Overtime Fields & Data types: Emp No (Number),
Access Lesson 2 Creating a Database
® IBM Software Group © 2009 IBM Corporation Rational Publishing Engine RQM Multi Level Report Tutorial David Rennie, IBM Rational Services A/NZ
Lesson No:9 MS-Word Tools, Mail Merge and working with Tables CHBT-01 Basic Micro process & Computer Operation.
MAIL MERGING IN MICROSOFT PUBLISHER CREATING LABELS AND DOCUMENTS FOR MULTIPLE PEOPLE AT ONCE.
® Microsoft Office 2010 Access Tutorial 2 Building a Database and Defining Table Relationships.
1 By: Nour Hilal. Microsoft Access is a database software where data is stored in one or more Tables. A Database is a group of related Tables. Access.
Tanner Tools Tutorial S-Edit v13.0 Tutorial.
1 NORMA Lab. 7 Generating Reports More Display Options File: NORMA_Lab6.ppt. Author: T. Halpin. Last updated: 2009 June 9.
Dreamweaver MX. 2 Overview of Templates n Forms enable you to collect data from ______. n A form contains ________ such as text fields, radio buttons,
CREATING A PAYROLL LOANS REPORT Course P AYROLL L OANS R EPORT Getting started.
Output in Java Hello World!. Structure of a Java Program  All Java files in ICS3U1 have the following structure: class HelloWorld { }  Notice the open.
Searching OCLC Authority File for Hughes Project 12 Nov 2010 Vicki Sipe.
Creating a Dynamic Web Page Template Module 5: Beyond the Basics with Expression Web LESSON 10.
Gold – Crystal Reports Introductory Course Cortex User Group Meeting New Orleans – 2011.
Setting up your computer’s microphone Begin by double clicking on the volume icon within the task bar.
MS-Access XP Lesson 4. Modifying Queries 1.Select query in queries 2.Click design button or Right click on query and click design view 3.Change query.
Bind frequency Variable information is located in the Type-Circulate field and the bind # is entered in the Bind no. field. Note that variables have.
Use SPSS for solving the problems Lecture#21. Opening SPSS The default window will have the data editor There are two sheets in the window: 1. Data view2.
Employee Prints Record of Personnel Action (form SF 50 or SF 52)
1 Access Lesson 1 Understanding Access Fundamentals Microsoft Office 2010 Fundamentals Story / Walls.
IP camera SD card storage LOG INTO THE CAMERA Not all cameras have SD recording capabilities. A quick way to tell is to log into the camera. If.
Product Training Program
Access Tutorial 2 Building a Database and Defining Table Relationships
Setting Up an MLA or APA Style Paper in Microsoft Word
Microsoft Access 2007 – Level 2
DRAWING LINES To draw lines click View in the Main Menu Toolbar -> Toolbars and check the Editor option. The Editor toolbar will appear amongst the toobars.
End of Access Exam Review.
Create a Public Holiday Calendar
Learning the Basics – Lesson 1
SQL MODELER - OPEN There are Three Ways to open the SQL Modeler
Objectives Create an action query to create a table
Chapter 4 MS ACCESS DATABASE.
Access Maintaining and Querying a Database
GIS - NetmapWEB Training Slides
Lesson 8: Granting Patient List [Proxy] Access
Access Lesson 1 Understanding Access Fundamentals
NORMA Lab. 7 Generating Reports More Display Options
Geospatial Database Create Geodatabase Practical Session
Access Lesson 2 Creating a Database
Adding MLA Format Page Numbers to a Word Document
Step 1 Click on VM icon.
Path: Common > Application Appearance > Workspaces
Miscrosoft Office..
Lesson 8: Granting Patient List [Proxy] Access
Creating your MLA format
Data Scenario: Header and Details files
Lessons Vocabulary Access 2016.
Starting from Scratch: MLA Format
Access Tutorial 2 Building a Database and Defining Table Relationships
Access Tutorial 2 Building a Database and Defining Table Relationships
Displaying and Editing Data
How to Create a Scheduled Message?
Lesson 4 Finding a Requisition.
CCP Add Diagnosis Detail
How to Open PowerPoint Maryam Fatima.
Learning Objectives: Creating a new Table Style
NET WEAVER BUSINESS CLIENT (NWBC) AWARENESS
MLA Formatting Instructions
Step 1:. Open Microsoft FrontPage application.
based on the content of the file.
Setting Up an MLA or APA Style Paper in Microsoft Word
Tutorial 9 Using Action Queries and Advanced Table Relationships
Relationships While we are on the subject of Relationships, let’s take a quick look at them.
Presentation transcript:

Using Key function in Mapper Key function helps map Header and multiple Detail records into any output format. Need for this function arises when we want to consolidate or aggregate all related Source records as one set based on a common key.

Mapping – Step 1: Create Local Variable on Target Record node 4 Source Header data schema In the output file, for each header record there will be multiple Employee Detail records based on a common key that joins the two Source data files. Source Detail data schema 2 3 Prerequisite: Create source header and details data schemas. Also create the target data schema using the Schema service. Click on Target schema root node EMPDATA and select Local Variables and create a variable called varEmpID, hit return and now double click on the source field EmpID of the header schema. The complete field with its xpath will appear in the value box. SAVE variable by clicking on orange save icon located above variable name field. This step is creating a local variable which we will use in the subsequent steps.

Mapping – Step 2: Create a For-Each at the Target Record node 1 3 2 Place your cursor in the For Each box and then double click on the Source Header record node 4 Select Target Record Node, go to Properties panel and place your cursor in the For Each box. Now go to Source Header Record node and double-click on it. This will put the xpath of the source header record node in the for-each box. Click on Save Properties button. In this step we are telling the application to read each header record from the Header data file.

Mapping – Step 3: Create a Key Function 2 6 1 3 4 5 - Give any Key name (no spaces or special characters) - Key match “/Root/Record” is the path of the Details schema Record node Key Use is the common key of the Details schema which will be matched with the header record This step is creating a relationship between source Header and Detail files using a common key EmpID.

Mapping – Step 4: Create a For Each at Target Details Root node 1 3 2 4 Select Details Root node of the Target and then go to Properties and in the For Each box, double click on the Root node of the source EmpDetails node. This steps is telling the application that it needs to read this file.

Mapping – Step 5: Create a Local Variable at Target Details Root node 1 2 3 4 Enter the following in the Variable Value box: key('keyEmpID' , $varEmpID) Save the variable. This variable joins the empID of the Header and the empID of the Details.

Mapping – Step 6: Create a For Each at Target Details Record node 1 2 3 4 This For-each will look for each record in the source Details file that has a common empID value.

Mapping – Step 7: Map Source Details fields with Target Details fields Use Textual Rules tab and then for each of the Target element type in the related source Details field name. Thus BenefitType target element is mapped to BenefitType For empid it is EmpID For electioncode it is BElectionCode For type it is Type For payor it is Payor SAVE mapping and test results.