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

Delete Method


You can delete one or more records in a business component that is mapped to the root integration component, given an integration object instance. A business component record is deleted as specified by an integration object instance. The integration component instance fields are used to query the corresponding business component and any records retrieved will be deleted. You call the Delete method using only one of the following method arguments:

  • A Query By Example (QBE) integration object instance.
  • A Primary Row Id and Output Integration Object Name.
  • A Search Specification.

NOTE:  To have the EAI Siebel Adapter perform a delete operation, define an integration object that contains the minimum fields on the primary business component for the business object. The EAI Siebel Adapter attempts to delete matching records in the business component before deleting the parent record.

For example, if you pass in this XML document, the Test Account account is deleted.

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

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

<SiebelMessage MessageId = "1-2IOY" IntObjectName = "EAI Account" MessageType = "Integration Object" IntObjectFormat = "Siebel Hierarchical">

  <ListOfAccount>

<Account>

<Name>Test Account</Name>

<Location>EMV</Location>

</Account>

  </ListOfAccount>

</SiebelMessage>

Any child contacts that once belonged to the account will still remain in the database, but will not be associated with this Account.

Integration Platform Technologies: Siebel Enterprise Application Integration Copyright © 2010, Oracle and/or its affiliates. All rights reserved. Legal Notices.