Oracle Web Services On Demand Guide > Web Services On Demand API Calls > Administrative Services API Calls >
CascadingPicklistUpsert
Updates cascading picklist configuration data for a company. Usage
Use the CascadingPicklistUpsert method to insert or update a cascading picklist. The apData:CascadingPicklistSet argument contains the following elements specifying the data for the cascading picklist:
- ObjectName. The name of the object.
- ListOfCascadingPicklistSet. Contains any number of CascadingPicklist elements, each of which contains the following data:
- ParentPicklist. The parent picklist.
- RelatedPicklist. The related picklist.
- Description. The description of the cascading picklist.
- ListOfPicklistValueAssociations. Contains all the associations for the cascading picklist. An associations is contained in the following elements:
- ParentPicklistValue. A parent picklist value for the cascading picklist.
- RelatedPicklistValue. The related values for the parent picklist. There is one these elements for each related picklist value.
Update occurs when a cascading picklist already exists with the specified <ParentPicklist> and <RelatedPicklist> values otherwise an Insert occurs. Upsert fails and an error message is returned if:
- The specified parent picklist and related picklist are the same.
- The parent or related picklist references a field that does not exist.
- The parent or related picklist references a field that is not of type picklist.
- The related picklist references a parent picklist that is already referenced by another related picklist.
Arguments
Table 76 describes the arguments taken by the CascadingPicklistUpsert method.
Table 76. Arguments Taken by the CascadingPicklistUpsert Method
|
|
|
|
|
apData:CascadingPicklistSet |
The cascading picklist data to be updated or inserted. |
Yes |
Not applicable |
Input |
Status |
The status of the call. |
Not applicable |
Not applicable |
Output |
Return Value of the Call
The cascading picklists are returned.
|