DeleteChild
Removes child records from the Oracle CRM On Demand database.
Usage
You use the DeleteChild method to remove one or more child records of a particular object from an Oracle CRM On Demand instance, or remove the association between the child and parent object.
The deletion of child records or removal of association follows the same pattern as for deletion in the UI of the Oracle CRM On Demand application. For example, if you use AccountDeleteChild on a Contact child record, the association is removed, but the Contact is not deleted. On the other hand, if you use AccountDeleteChild on a Team child record, that record is deleted. However, the integration events generated in the UI and from Web services requests differ for child objects of Account, Contact, and Opportunity. For more information about these differences in integration events and about deleting records, see the information about workflow rules in Oracle CRM On Demand Online Help.
Arguments
The following table describes the arguments taken by the DeleteChild method.
Name | Description | Required | Default | I/O |
---|---|---|---|---|
ListOf(Object). For example, ListOfAccount |
The list of child object instances to be deleted. Each child object has an associated parent object. |
Yes |
Not applicable |
Input/Output |
Echo |
Controls whether data sent to Oracle CRM On Demand through integration Web services are recorded as transactions. |
No |
On |
Input |
Return Value of the Call
The status key for each of the deleted child records.