Module 18 Party Business Components

Embed Size (px)

Citation preview

  • 7/30/2019 Module 18 Party Business Components

    1/25

    1 of 25Party Business Components

    Siebel 8.0 Essentials

  • 7/30/2019 Module 18 Party Business Components

    2/25

    Module 18: Party Business Components

  • 7/30/2019 Module 18 Party Business Components

    3/25

    3 of 25Party Business Components

    Module Objectives

    To define a party business component To describe the role of S_PARTY and its extension tables in storing

    party business component data

    Describe how data is stored differently for non-party business

    components and party business components

    Describe how implicit and explicit joins are used with party businesscomponents

  • 7/30/2019 Module 18 Party Business Components

    4/25

    4 of 25Party Business Components

    Business Challenge: Modeling Party Data

    Party data is the ubiquitous information found in most RDBMS

    Some prominent party typesinclude Contacts, Employees,

    Positions, Accounts, User Lists, Organizations, and Access Groups

    Party typesare often related to each other

    Employees are related to positions

    Positions are related to accounts

    Access groups are related to organizations and so forth

    Relationships may be dynamic or ad hoc

  • 7/30/2019 Module 18 Party Business Components

    5/25

    5 of 25Party Business Components

    Business Challenge: Modeling Party Data

    Representing these relationships could result in data models that do

    not have optimal normalization

    Multiple records may be created for each relationship

    A separate record is created for a contractor, another for an intern, and a

    third for an employee

    A special entity may have to be created for each new ad hoc relationship

  • 7/30/2019 Module 18 Party Business Components

    6/25

    6 of 25Party Business Components

    Business Solution: Party Business Component

    Provides a way to create a network of relationships between party

    types to reflect changes and complexities in the businessenvironment

    Infuses flexibility into the data model

    Can establish and change relationships between various party types,

    as needed

  • 7/30/2019 Module 18 Party Business Components

    7/257 of 25

    Party Business Components

    Party Business Components

    Are similar to standard business components; they:

    Group data according to business logic

    Are referenced by applets

    Specify access to tables

    Have fields that map to columns

  • 7/30/2019 Module 18 Party Business Components

    8/258 of 25

    Party Business Components

    Party Vs Non-Party BCs

    In standard BCs, most data is stored in the base table

    In party BCs, data is stored in extension tables S_PARTY acts solely as a linking mechanism between types

  • 7/30/2019 Module 18 Party Business Components

    9/259 of 25Party Business Components

    Extension Tables of S_PARTY

    There are eight prominent extension tables for S_PARTY that

    store data

    Tables such as S_CONTACT_X (which is the 1:1 extension tablefor the S_CONTACT table) are formally an S_PARTY extension

    table

  • 7/30/2019 Module 18 Party Business Components

    10/2510 of 25Party Business Components

    Commonly Used Party Business Components

    Represent a variety of entities that can be arranged into groups

    related to persons, organizations, or access control

  • 7/30/2019 Module 18 Party Business Components

    11/2511 of 25Party Business Components

    Person-Related Party BCs

    Store their main data in S_CONTACT

    May store additional data in S_USER and S_EMP_PER Serve as logical extension tables

  • 7/30/2019 Module 18 Party Business Components

    12/2512 of 25Party Business Components

    Person-Related Party BCs

    Primarily reference person-related S_PARTY extension tables

  • 7/30/2019 Module 18 Party Business Components

    13/2513 of 25Party Business Components

    Person-Related Party BCs

    A number of person-related business components use these tables

  • 7/30/2019 Module 18 Party Business Components

    14/2514 of 25Party Business Components

    Organization-Related Party BCs

    Store their main data in S_ORG_EXT

    May store additional data in S_BU May include account, division, organization, or household data

  • 7/30/2019 Module 18 Party Business Components

    15/2515 of 25Party Business Components

    Organization-Related Party BCs

    Multiple organization-related business components use these tables

    BusComp: Account

    Location3 Com HQ

    BusComp: Organization

    Name Internal Org Flag Organization BU NameAaron Inc., Y Aaron Inc

    Table: S_ORG_EXT

    PAR_ROW_ID NAME INT_ORG_FLAG LOC1 3 Com N HQ2 Aaron Inc., Y

    Table: S_BU

    PAR_ROW_ID NAME BU_FLG

    2 Aaron Inc Y

    3 Com is an Account and

    not an Organization. Henceno record in S_BU

  • 7/30/2019 Module 18 Party Business Components

    16/2516 of 25Party Business Components

    Groupings for Access Control

    Represent groupings of party instances

    User List

    Access Group

    Position

  • 7/30/2019 Module 18 Party Business Components

    17/2517 of 25Party Business Components

    Groupings for Access Control

    Access Group, User List, and Position are party business components

  • 7/30/2019 Module 18 Party Business Components

    18/2518 of 25Party Business Components

    Example, Relating Party Data

    A user list can be associated with persons via the S_PARTY

    intersection table S_PARTY_PER

    There are relationships in S_PARTY

    They are represented in S_PARTY_PER

    ROW_ID in S_PARTY is used to relate party types

  • 7/30/2019 Module 18 Party Business Components

    19/2519 of 25Party Business Components

    Example, Relating Party Data

    An access group can then be networked with those users, or other

    user lists, or most any other S_PARTY type Person, User List, Organization and Account party types can be related to

    an Access List party type

  • 7/30/2019 Module 18 Party Business Components

    20/2520 of 25

    Party Business Components

    Party Implicit Joins

    Used to populate the prominent S_PARTY extension tables

    Created automatically for these extension tables Are similar to implicit joins for standard business components

    Do not appear in join object definitions

    ROW_ID in base table is always the PK

    PAR_ROW_IDin extension is always the FK

  • 7/30/2019 Module 18 Party Business Components

    21/2521 of 25

    Party Business Components

    Explicit Join: Non-Party Business Component

    Data in a party table can be joined into a non-party business

    component Example: Bringing account data into the Opportunity business component

    for display in an Opportunity applet

  • 7/30/2019 Module 18 Party Business Components

    22/2522 of 25

    Party Business Components

    Explicit Join Definition

    References the extension table that contains data of interest

  • 7/30/2019 Module 18 Party Business Components

    23/2523 of 25

    Party Business Components

    Explicit Join: Another Party BC

    Uses an explicit join to the party table, and not the implicit one

    Example: Bringing parent account data into the Account businesscomponent for display in an Account applet

  • 7/30/2019 Module 18 Party Business Components

    24/2524 of 25

    Party Business Components

    Module Highlights

    Party BCs create relationships between party types

    Party BCs are similar to standard BCs but data is stored in

    extension tables

    Person-related party BCs store data in S_CONTACT

    Organization-related party BCs store data in S_ORG_EXT

    Access Group, User List, and Position are party BCs

    Party implicit joins populate S_PARTY extension tables

    Explicit joins reference extension tables that contain data

  • 7/30/2019 Module 18 Party Business Components

    25/25

    Party Business Components

    Lab

    In the lab you will:

    Examine how fields in a (non-party) business component map to columnsin base and joined tables

    Examine how fields in a party business component map to columns in

    S_PARTY, its extension tables, and joined tables