Sie sind auf Seite 1von 1

How To Retrieve Only Primary Record on a MVG Using EAI Siebel Adapter

====================================================================
Goal
Sometimes when performing queries using "EAI Siebel Adapter" business service wi
th Query method only primary records are required on child entities.
How can only the primary record be retrieved in an MVG component during an "EAI
Siebel Adapter" query?
Example: Account/Primary Business Address, Account/Primary Contact, etc.

Solution
There are some ways to have this functionality using "EAI Siebel Adapter" with Q
uery method:
1 - Use a QBE as input for Query method and send the system field "SSA Primary F
ield" in the searchspec attribute of the MVG integration component filtering onl
y the primary record.
Note that searchspec must be enabled in the MVG IC being filtered.
Example of a QBE:
<?xml version="1.0" encoding="UTF-8" ?>
<?Siebel-Property-Set EscapeNames="false"?>
<SiebelMessage MessageId="3SIA-AS8V" IntObjectName="Internal Account Interface"
MessageType="Integration Object" IntObjectFormat="Siebel Hierarchical">
<ListOfAccountInterface>
<Account>
<AccountId>1-63Q9</AccountId>
<ListOfBusinessAddress>
<BusinessAddress searchspec="[SSA Primary Field]='Y'">
</BusinessAddress>
</ListOfBusinessAddress>
</Account>
</ListOfAccountInterface>
</SiebelMessage>
See Bookshelf -> "Integration Platform Technologies: Siebel Enterprise Applicati
on Integration" -> "EAI Siebel Adapter Business Service" for more information ab
out QBE functionality with "EAI Siebel Adapter".
2 - Create a new MVG on the business component that uses a link with a search sp
ecification only returning the primary record. This would require to modify the
business objects and components and the integration object being used.
3 - Expose the primary record information on the parent business component level
using a join that has the primary ID as source field. This approach also requir
es changes on underlying BC and IO.

Das könnte Ihnen auch gefallen