Friday 22 November 2013

05 Adding multiple sources

                                                   05  Adding multiple sources
                     1. Add physical tables to an LTS or LT.
                     2. If data is not duplicated then that physical table can add to LTS or LT
                        (As a best practice  add to LTS).
                     3. If data is duplicated then we need to add physical table to LT. In this
                         case we need to define content logical level. (It is used in aggregate
                          tables and partition tables chapters )
                          Note: To add Physical table to LTS, the adding physical table 
                          and existing  physical table of LTS must have direct join.

               Process:
               Step 1 : Import below tables into physical layer.
                        1. D1_PRICELIST.
                        2. D1_PROD_DIET_TYPES.
                        3. D1_PROD_SUBTYPE.
                        4. D1_PRODUCT_TYPE.
                        5. D1_SUPPLIERS.

             Step2 : Create joins as per below.
                       1. D1_products.suppliercode = D1_suppliers.suppliercode.
                       2. D1_products.productkey = D1_pricelist.productkey.
                       3. D1_products.dietcode = D1_productype.dietcode.
                       4. D1_products.subtypecode = D1_productsubtype.subtypecode.
                       5. D1_product_subtype.typecode = D1_productype.typecode.

             Step 3 : Mapping multiple sources to an LTS.
                       1. Drag and drop D1_PROD_SUBTYPE physical table onto D1_Product LTS.
                       2. Similarly drag and drop
                           D1_PRICELIST,D1_PROD_DIET_TYPES,D1_PROD_SUBTYPE,
                           D1_PRODUCT_TYPE,D1_SUPPLIERS.














             Step 4 :
                                 Drag and drop newly added 5 columns onto products 
                                  presentation table.

No comments:

Post a Comment