How To Create a Join to a Table Through Another Table

http://it.toolbox.com/blogs/siebel-answers/how-to-create-a-join-to-a-table...

My Home
Home

Topics
Groups

People
Wiki

Companies
Communities

White Paper Library
White Papers Q&A and Docs Directory Events

Search Toolbox.com
Subscriptions

Blogs

Review Top 19 CRM Vendors | www.CompareCRMVendors.com
www.CompareCRMVendors.com
Toolbox for IT Topics Siebel Blogs

Ads by Google

See Cost Estimates, Features Scalability & More. Free Download!

How To Create a Join to a Table Through Another Table
Joshua Weir Oct 17, 2008 | Comments (3)

Tweet

0

Recommend

0

Share

0

0

Lets say that you want to create a join field "Country" on the Service Request business component (based on the S_SRV_REQ table) where the "Country" field exists on table S_ADDR_ORG but there is no direct foreign key relationship between S_SRV_REQ and S_ADDR_ORG to create the join. The relationship is as such: (Service Request BC) S_SRV_REQ.REQUESTOR_ID -> S_ORG_EXT.ROW_ID -> S_ADDR_ORG.OU_ID (Address table with Country column) Therefore the Service Request is joined to S_ORG_EXT directly through foreign key REQUESTOR_ID and then the "Requestor" (S_ORG_EXT) is joined to the Address (S_ADDR_ORG). It is straight forward to create business component joined fields that involve more than one tables as in the above case. You need to create the joined fields one by one. For the above example if you wanted to create a joined field for S_ADDR_ORG.COUNTRY on the Service Request BC you would firstly need to create a joined field to S_ORG_EXT.ROW_ID. Then you would create a joined field using the joined field (S_ORG_EXT.ROW_ID) as the source field for the S_ADDR_ORG.COUNTRY joined field. 1. In Siebel Tools, Service Request BC > Join > Create a new record with: Table: S_ORG_EXT Alias: Requestor Outer Join Flag: Y Then in Join Specification for that Join: Name: Requestor Destination Column: ROW_ID Source Field: Requestor Id 2. Service Request BC > Field > Create a new field with:

Answers for Siebel Developers
by Joshua Weir

This blog is a technical information source for Siebel developers, providing insight into best practices, common siebel ... more Receive the latest blog posts:
Your email address FOLLOW

Share Your Perspective
Share your professional knowledge and experience with peers. Start a blog on Toolbox for IT today! BEGIN NOW

Categories GO

Links

Name: Requestor Joined Id Join: Requestor Column: ROW_ID
New to Toolbox? Ask A Question Join

My LinkedIn Profile Siebel Essentials @ Blogspot Siebel Mantra QTP Blog

1 of 4

5/29/2013 10:15 PM

Organizations.PAR_ROW_ID = S_CONTACT. Now create the joined field for Country. PAR_ROW_ID exists on a table if the table can be a child in a 1:M relationship. Read more about this in the Siebel Bookshelf. New to Toolbox? Ask A Question Join 2 of 4 5/29/2013 10:15 PM . These tables hold the child records in a 1:M relationship. 2009 I dont know of an entity relationship diagram in Siebel Bookshelf that shows all the references. This is how Siebel tables are commonly structured.1.OU_ID however I wanted to show the fact that you could join through multiple tables as an example. Any tables with _X as the last characters in table name are 1:1 extension tables. Does exist a entity relationship that show the references between tables? Joshua Weir Sep 24. Any table that has _XM as the last characters of the table name is an MVG (multi value group) table. The PAR_ROW_ID is the foreign key column pointing to the ROW_ID of the parent table.. S_ORG_EXT.MQL4 Community Another QTP Blog Joshua Weir Oracle certified consultant.PAR_ROW_ID = S_PARTY. and other id columns as you mentioned above. actually I'm having problems understanding the relationships between Row_id. Service Request BC > Field > Create a new field with: Name: Requestor Country Join: Requestor Address Column: COUNTRY You may now be aware that I did not need to create two joins I could have joined S_SRV_REQ. click on Table and expand the Table icon and click on Column.ROW_ID. If the Column is a foreign key to another table then the "Foreign Key Table" property of the column will be populated with the foreign key table.How To Create a Join to a Table Through Another Table http://it.ROW_ID = S_CONTACT_X.PAR_ROW_ID. Positions) so S_CONTACT. S_POSTN (Contacts. S_CONTACT_XM. Read 3 comments Popular White Paper On This Topic Beyond Excel: Taking Business Intelligence to the Next Level Related White Papers 2011 Trends Report: Customer Relationship Management 2011 Focus Experts Guide to CRM for Growing Midsize . All columns for a table are listed here. Metatrader Automated Forex Development . Best Practices for an On-Demand CRM Implementation More White Papers 3 Comments Mario Quiroz Sep 22. 3.com/blogs/siebel-answers/how-to-create-a-join-to-a-table.ROW_ID for this relationship. ROW_ID is the primary key for each table..ROW_ID and S_ORG_EXT. For example S_CONTACT is the parent Contact table and S_CONTACT_XM is the MVG table for Contact. This has a 1:1 relationship with S_CONTACT through join: S_CONTACT. S_CONTACT_X is an extension table of S_CONTACT.REQUESTOR_ID to S_ADDR_ORG. Except there is one table called S_PARTY this is the parent table of S_CONTACT.toolbox.PAR_ROW_ID = S_PARTY.. You are best to understand the entity relationships by using Siebel Tools. 2009 Hi Joshua I'm new using Siebel 8. Service Request BC > Join > Create a new record with: Table: S_ADDR_ORG Alias: Requestor Address Outer Join Flag: Y Then in Join Specification for that Join: Name: Requestor Address Destination Column: OU_ID Source Field: Requestor Joined Id 4. Par_row_id.. in Siebel Tools Object Explorer. It is usually easy to determine the parent because the name is similar.

1 (a. 2010 How comfortable are you in Siebel tools to get the understanding of the Tables and joins Leave a Comment Connect to this blog to be notified of new entries.a "Blue") will be free (PC World) What Is the Best Email Service for You? (DexKnows) 5 Things Not to Do in National Parks (AARP.How To Create a Join to a Table Through Another Table http://it. From Around The Web 15 Things You Should Never Do at Your Desk (Salary. click here to notify Toolbox for IT.com) U.000 worth of freebies per year! (Freeflys) Obama Pulls the Plug on Long-Term Health Care Program (The Fiscal Times) Windows Blue wish list: 15 must-see Join 3 of 4 5/29/2013 10:15 PM . Actor Arrested at Research Protest (Vetstreet) Microsoft confirms Windows 8.k.org) Recommended by We Recommend A Mainframe SOA Strategy SAP Training Manuals Microsoft or Local account when setting up Windows 8? New to Toolbox? Ask A Question From Around The Web How to get over $1. rajesh sigilipelli Oct 13.com/blogs/siebel-answers/how-to-create-a-join-to-a-table. If you feel a blog entry is inappropriate.S. Moves Up in Worldwide Average Internet Speed Rankings (Cable Tech Talk) If You're Using Gmail. you Should try This! (Tuaw) The 30 Hottest Female Athletes We Can Follow on Instagram (Rant Sports) Pet Scoop: Dog With Human-Like Face Goes Viral. comments.toolbox.. Join the community to create your free profile today. Any opinions. SUBMIT Want to read more from Joshua Weir? Check out the blog archive. Sign In to post unmoderated comments. PREVIEW You are not logged in.. solutions or other commentary expressed by blog authors are not endorsed or recommended by Toolbox for IT or any vendor. Archive Category: Siebel Configuration Keyword Tags: siebel join multiple join relationship Disclaimer: Blog contents express the viewpoints of their independent authors and are not reviewed for correctness or accuracy by Toolbox for IT.

Contact Us Today! www.com what's this? Toolbox for IT My Home Topics People Companies Jobs White Paper Library Collaboration Tools Discussion Groups Blogs Wiki Follow Toolbox.toolbox. FeaturesScalability & More.com/BestERP Try CampaignerCRM Clone your best sales reps. Get Demo & Quote Now! www.Ideal for 15-250 Reps. Physical Architecture Models (Deliverable) Replace Your PBX with VoIP? Data Flow Diagrams (DFDs) improvements (PC World) Fact Sheet: What the Health Care Law Does Now for People Age 50 to 64 (AARP) Treehouse Show Episode 10 – jQuery Fundamentals (Treehouse Blog) Recommended by Ads by Google Siebel Maintenance Unmatched Siebel Expertise and NoForced Upgrades.com Syspro Food ERP Solution The Award-Winning Food and BeverageERP Software.com Advertise Contact us Provide Feedback Help Topics Technical Support Other Communities Toolbox for HR Toolbox for Finance Copyright 1998-2013 Ziff Davis.CompareCRMVendors.com is not affiliated with or endorsed by any company listed at this site.com/SiebelSupport 2013 Top 20 ERP Systems Top 20 ERP System Ranking Report. Free Download! www.com on Facebook Topics on Toolbox for IT Data Center Data Center Development C Languages Java Visual Basic Web Design & Development Enterprise Applications CRM ERP Infor PeopleSoft SAP SCM Siebel Enterprise Architecture & EAI Enterprise Architecture & EAI Information Management Business Intelligence Database Data Warehouse Knowledge Management Oracle IT Management & Strategy Emerging Technology & Trends IT Management & Strategy Project & Portfolio Management Cloud Computing Cloud Computing Networking & Infrastructure Hardware Mobile & Wireless Networking Communications Technology Operating Systems Linux UNIX Windows Security Security Storage Storage Toolbox..com About News Privacy Terms of Use Work at Toolbox.com on Twitter Toolbox.Don't Decide on a Vendor without It Business-Software. All rights reserved.com Review Top 19 CRM Vendors See Cost Estimates.. Toolbox.com/blogs/siebel-answers/how-to-create-a-join-to-a-table. Watch Demo.com Toolbox for IT on Twitter Toolbox.How To Create a Join to a Table Through Another Table http://it. All product names are trademarks of their respective companies. www. Inc (Toolbox.RiminiStreet. New to Toolbox? Ask A Question Join 4 of 4 5/29/2013 10:15 PM .com).CampaignerCRM.SYSPRO.

Sign up to vote on this title
UsefulNot useful