Custom Operations

In addition to the standard CRUD operations, a business object service may be exposed to custom operations that are specific to the service and map to a related business operation. For more information about the descriptions of the operation and payload elements, see Business Object Services chapter in this guide.

Examples of custom operations include:
  • The ConvertLeadToOpportunity operation converts a lead to an opportunity. This operation:
    • Is defined on the Sales Lead service

    • Accepts the internal identifier of a Sales Lead object

    • Returns the opportunity ID, which is a string value

    Note: If the lead ID is null, the operation returns null. If an error occurs, the operation returns an error message.
  • The ConvertToPartner operation converts an organization to a partner. This operation:
    • Is defined on the Partner service

    • Accepts the internal identifier of a party organization object

    • Returns the newly converted partner object

  • The renewProgramEnrollment operation renews an existing program enrollment. This operation:
    • Is defined on the Partner Program Enrollment service

    • Accepts the internal identifier of an enrollment

    • Returns the internal identifier of the renewed enrollment

Related Topics
  • Business Object Service Operations
  • Standard CRUD Operations
  • Standard Metadata Operations