Integration Platform Technologies: Siebel Enterprise Application Integration > EAI Siebel Adapter > EAI Siebel Adapter Methods >
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 invoke 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 the following XML document, the Account Test account is deleted:
<?xml version = "1.0" encoding = "UTF-8"?>
<SiebelMessage MessageId = "1-2IOY" IntObjectName = "EAI Account" MessageType =
"Integration Object" IntObjectFormat = "Siebel Hierarchical">
Any child contacts that once belonged to the account will still remain in the database, but will not be associated with this Account.