Вы находитесь на странице: 1из 14

Mapping #1 [Source Qualifier + Filter]

Source Qualifier

Customer_Tbl

---------------------

Customer_Details_01 Filter01 -Customer_Name -Customer_City -Customer_State -Customer_Country __________________ Write Filter Condition on Customer_Country

Customer Name Customer_City Customer_State Customer_Country


-----------------------------------Load data for those Customers who are in INDIA.

4/18/2014

Inuomsoft Private Limited

Mapping #2 [Sorter]
Source Qualifier

Parameter: pCountryName

Customer_Tbl

---------------------

Customer_Summary_01 Filter01 -Customer_Name -Customer_City -Customer_State -Customer_Country ___________________ Write Filter Condition on Customer_Country Sorter01 -Customer_Name (K)-Customer_City -Customer_State -Customer_Country

Customer Name Customer_City Customer_State Customer_Country


-----------------------------------Load data for those Customers who are in specific Country decided by user. -----------------------------------Arrange records in ascending order on Customer Name.

4/18/2014

Inuomsoft Private Limited

Mapping #3 [Expression]
Source Qualifier Filter01

Customer_Tbl

---------------------

-Customer_Name -Customer_City -Customer_State -Customer_Country ___________________ Write Filter Condition on Customer_Country

Customer_Summary_01 Sorter01 -Customer_Name (K)-First_Name -Middle_Name -Last_Namse -Customer_City -Customer_State -Customer_Country

Expression01 -Customer_Name vFirst (v) vLast (v) vMiddle (v) First_Name Middle_Name Last_Name -Customer_City -Customer_State -Customer_Country -

Customer Name First_Name Middle_Name Last_Name Customer_City Customer_State Customer_Country


-----------------------------------Load data for those Customers who are in INDIA. -----------------------------------Arrange records in ascending order on Customer Name.

4/18/2014

Inuomsoft Private Limited

Mapping #4 [Aggregator + Rank]


Source Qualifier Customer_Tbl Customer_ID Card_Tbl Card_ID Sales_Head_Tbl Sales_ID Sales_Line_Tbl Expression01 -Customer_Name -Product_Qty -Product_Rate -Product_Discount vGross vDiscount Sales_Amount Rank01 Aggregator01 -Customer_Name (GB)-Sales_Amount Total_AmountAverage_AmountMax_AmountMin_Amount-

---------------------

Customer_Summary

-Customer_Name-Total_Amount [R] -Average_Amount-Max_Amount-Min_Amount-

Customer Name Total_Sales_Amount Average_Sales_Amount Max_Sales_Amount Min_Sales_Amount


________________________ Load Top 50 Customers Based on Total Sales Amount

4/18/2014

Inuomsoft Private Limited

Mapping #5 [Integrated]
Source Qualifier Customer_Tbl Customer_ID Card_Tbl Card_ID Sales_Head_Tbl Sales_ID Sales_Line_Tbl Filter01 Customer_Name Customer_Country Product_Qty Product_Rate Product_Discount __________________ Write Filter Condition on Customer_Country Sorter01 -Customer_Name [K]-Total_Amount -Average_Amount-Max_Amount-Min_Amount-

Customer_Summary

---------------------

Customer Name Total_Sales_Amount Average_Sales_Amount Max_Sales_Amount Min_Sales_Amount


________________________ Load data for those Customers who are in INDIA. ________________________ Load Top 50 Customers Based on Total Sales Amount ________________________ Arrange records in Ascending Order based On Customer Name.

Rank01 Expression01 -Customer_Name-Product_Qty -Product_Rate -Product_Discount vGross vDiscount Sales_Amount-

-Customer_Name-Total_Amount [R] -Average_Amount-Max_Amount-Min_Amount-

Aggregator01 -Customer_Name-Sales_Amount Total_AmountAverage_AmountMax_AmountMin_Amount-

4/18/2014

Inuomsoft Private Limited

Mapping #6 [Router + Sequence]


Router01 Customer_Tbl Customer_ID Card_Tbl Card_ID Sales_Head_Tbl Counter_ID Counter_Tbl Counter_ID Clerk_Counter_Tbl Clerk_ID Clerk_Tbl Source Qualifier1 Input Group -Customer_ID-Customer_Address-Customer_Country-Clerk_ID-Clerk_Name-Clerk_Sex-Bill_No-Bill_Date__________________ Area_Group -All Ports as defined under Input Group and Write filter on Customer_Country. __________________ Clerk_Group - All Ports as defined under Input Group and Write filter on Bill_Date. __________________ DEFAULT - All Ports as defined under Input Group but No Filter Allowed. #Mapping Parameter: pCountryName pYear Sequence01 NEXTVALCURRVALArea_Summary

-------------------

Aggregator01 -Customer_ID -Customer_Address Area_Name (GB)Customer_CountAggregator02 -Clerk_Name (GB)-Clerk_Sex (GB)-Bill_No Bill_Count-

Area_ID (System PK) Area_Name Count_Of_Customers ____________________ For the customer who are in specific Country decided by the User.

Clerk_Summary

Clerk_Name Clerk_Gender Count_Of_Bills ____________________ For the Bills generated in specific Year decided by the user.

4/18/2014

Inuomsoft Private Limited

Mapping #7 [Union]
Union1 Output Group Bill_NoBill_DateProduct_QtyProduct_RateProduct_Discount________________ Input Group 01 -Bill_No1 -Bill_Date1 -Product_Qty1 -Product_Rate1 -Product_Discount1 ________________ Input Group 02 -Bill_No2-Bill_Date2-Product_Qty2 -Product_Rate2 -Product_Discount2 ________________ Input Group 03 -Bill_No3 -Bill_Date3 -Product_Qty3 -Product_Rate3 -Product_Discount3 Aggregator01 -Bill_No (GB) -Bill_Date (GB) -Product_Qty -Product_Rate -Product_Discount vGross vDiscount vSales Total_Amount Bill_Summary

Bill_No Bill_Date Bill_Amount

Branch_Sales_01.txt

Source Qualifier 1

Branch_Sales_02.xml

XML Source Qualifier 2

Sales_Head_Tbl Sales_ID Sales_Line_Tbl

Source Qualifier 3

-----

4/18/2014

Inuomsoft Private Limited

Mapping #8 [Lookup Connected]


Product_Tbl

Aggregator01 Source Qualifier1 -Product_ID (GB)-Product_Qty -Product_Rate -Product_Discount vGross vDiscount vSales Total_AmountLookup01 Product_ID Product_Name -Product_ID1 -Total_Amount Product_Summary

Sales_Line_Tbl

-----

Product_ID Product_Name Total_Sales_Amount

4/18/2014

Inuomsoft Private Limited

Mapping #9 [Lookup Unconnected]


Lookup01 Product_Tbl Product_IDProduct_Name-pProduct_ID

Aggregator01 Source Qualifier1 Sales_Line_Tbl -Product_ID (GB)-Product_Qty -Product_Rate -Product_Discount vGross vDiscount vSales Total_AmountProduct_Summary

Expression01 -Product_IDProduct_Name-Total_Amount___________________ Write expression on Product_Name to call Lookup01 passing Product_ID.

-----

Product_ID Product_Name Total_Sales_Amount

4/18/2014

Inuomsoft Private Limited

Mapping #10 [Stored Procedure Connected]


Get_Product_Name

This is a PL/SQL Function with one IN parameter (for Product_ID) and Return Value of Product Name.

Aggregator01 Source Qualifier1 -Product_ID (GB)-Product_Qty -Product_Rate -Product_Discount vGross vDiscount vSales Total_AmountStoredProcedure01 -Product_IDReturn_ValueProduct_Summary

Sales_Line_Tbl

-----

Product_ID Product_Name Total_Sales_Amount

4/18/2014

Inuomsoft Private Limited

10

Mapping #11 [Stored Procedure Unconnected]


This is a PL/SQL Function with one IN parameter (for Product_ID) and Return Value of Product Name.
Get_Product_Name

StoredProcedure01 -Product_IDReturn_ValueAggregator01 Source Qualifier1 Sales_Line_Tbl -Product_ID (GB)-Product_Qty -Product_Rate -Product_Discount vGross vDiscount vSales Total_AmountProduct_Summary

Expression01 -Product_IDProduct_Name-Total_Amount___________________ Write expression on Product_Name to call StoredProcedure01 passing Product_ID.

-----

Product_ID Product_Name Total_Sales_Amount

4/18/2014

Inuomsoft Private Limited

11

Mapping #12 [Transaction Control]


# Mapping Variable: vRowCount Source Qualifier1 Sales_Head_Tbl Bill_Details TransactionControl01 -Bill_No-Bill_Date-Product_ID-Product_Qty-Product_Rate-Product_Discount-

Sales_ID Sales_Line_Tbl

---------

Bill_No Bill_Date Product_ID Product_Qty Product_Rate Product_Discount


________________________ Commit Every 100 records.

4/18/2014

Inuomsoft Private Limited

12

Mapping #13 [Joiner + Update Strategy]


Source Qualifier1 Sales_Head_Tbl

Sales_ID Sales_Line_Tbl

--------Source Qualifier2

Joiner01 -Bill_No-Bill_Date-Product_ID(M) -Product_Qty-Product_Rate-Product_Discount-Bill_No1-Bill_Date1-Product_ID1-Product_Qty1-Product_Rate1-Product_Discount1-

UpdateStrategy01 -Bill_No-Bill_Date-Product_ID-Product_Qty-Product_Rate-Product_Discount-Bill_No1-Bill_Date1-Product_ID1-Product_Qty1-Product_Rate1-Product_Discount1Bill_Details

Bill_No Bill_Date Product_ID Product_Qty Product_Rate Product_Discount


________________________ Load data in Incremental Approach.

Bill_Details_02

---------

Detail Outer Join

4/18/2014

Inuomsoft Private Limited

13

Mapping #14

Target Database Lookup01 Bill_Details_02 -Bill_No-Bill_Date-Product_ID-Product_Qty-Product_Rate-Product_DiscountSource Qualifier1 Sales_Head_Tbl Sales_ID -Bill_No1-Bill_Date1-Product_ID1-Product_Qty1-Product_Rate1-Product_Discount1UpdateStrategy01 -Bill_No-Bill_Date-Product_ID-Product_Qty-Product_Rate-Product_Discount-Bill_No1-Bill_Date1-Product_ID1-Product_Qty1-Product_Rate1-Product_Discount1Bill_Details

Bill_No Bill_Date Product_ID Product_Qty Product_Rate Product_Discount


________________________ Load data in incremental Approach.

Sales_Line_Tbl

---------

4/18/2014

Inuomsoft Private Limited

14

Вам также может понравиться