Integration Platform Technologies: Siebel Enterprise Application Integration > EAI Siebel Adapter Business Service >

About Multivalue Groups in the EAI Siebel Adapter Business Service


Multivalue groups (MVGs) in the business components are mapped to separate integration components. Such integration components are denoted by setting a user property MVG on the integration component to Y. For information on MVGs, see Integration Objects.

An integration component instance that corresponds to a primary MVG is denoted by the attribute IsPrimaryMVG set to Y. This attribute is a hidden integration component field and does not have a corresponding business component field.

Each MVG that appears on the client UI is mapped to a separate integration component. For example, in the Orders Entry - Orders screen, there is an account Address, a bill-to address, and a ship-to address. Each of these MVGs needs a separate integration component definition. Each field defined for an integration component (represented by the class CSSEAIIntCompFieldDef) maps to a field in the MVG. For such fields, External Name denotes the name of the business component field as it appears on the master business component, and the user property MVGFieldName denotes the name of the business component field as it appears on the MVG business component.

NOTE:  Setting a primary record in an MVG is supported when the Auto Primary property of the underlying multivalue link is specified as Selected, None, or Default.

Setting a Primary Position for a Contact

You have a contact with multiple contact positions in a Siebel application. None of these positions are marked as the primary position for the contact, and you want to select one of them as the primary position.

To specify a contact position as a primary

  1. Create your XML file and insert <IsPrimaryMVG= 'Y'> before the contact position you want to identify as the primary position for the contact as follows:

    <?xml version="1.0" encoding="UTF-8" ?>

       <?Siebel-Property-Set EscapeNames="false"?>

    - <SiebelMessage MessageId="1-69A" IntObjectFormat="Siebel Hierarchical" MessageType="Integration Object" IntObjectName="Sample Contact">

    - <ListOfSampleContact>

    - <Contact>

       <FirstName>Pal888</FirstName>

       <IntegrationId>65454398</IntegrationId>

       <JobTitle>Manager</JobTitle>

       <LastName>John888</LastName>

       <MiddleName />

       <PersonUId>1-Y88H</PersonUId>

       <PersonalContact>N</PersonalContact>

    - <ListOfContact_Position>

    - <Contact_Position IsPrimaryMVG="Y">

       <EmployeeFirstName>Siebel</EmployeeFirstName>

       <EmployeeLastName>Administrator</EmployeeLastName>

       <Position>Siebel Administrator</Position>

       <RowStatus>N</RowStatus>

       <SalesRep>SADMIN</SalesRep>

       </Contact_Position>

       </ListOfContact_Position>

       </Contact>

       </ListOfSampleContact>

       </SiebelMessage>.

  2. Use the Upsert or Sync method to update the account.
Integration Platform Technologies: Siebel Enterprise Application Integration Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices.