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.
For example, if you pass in this XML document, then 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.