Services CPQ API Developer Reference

ffscpq.ActionPushEntireEstimateToOpportunity

global with sharing class ActionPushEntireEstimateToOpportunity

A class that houses the invocable Method for API service PushEntireEstimateToOpportunity. Note: Push to Opportunity is used interchangeably with Add to Opportunity in this API.

Methods

pushToOpportunity

global static List<ffscpq.ActionPushEntireEstimateToOpportunity.InvocablePushEntireEstimateToOpportunityResponse> pushToOpportunity(List<ffscpq.ActionPushEntireEstimateToOpportunity.InvocablePushEntireEstimateToOpportunityRequest> invocablePushEntireEstimateToOpportunityRequests)

A method that adds all estimate details to their related opportunities by creating resource requests and opportunity products.

Input Parameters

Name Type Description
invocablePushEntireEstimateToOpportunityRequests List<ffscpq.ActionPushEntireEstimateToOpportunity.InvocablePushEntireEstimateToOpportunityRequest> The list of InvocablePushEntireEstimateToOpportunityRequest objects.

Return Value

This service returns InvocablePushEntireEstimateToOpportunityResponse in a list that parallels the input list.

ffscpq.ActionPushEntireEstimateToOpportunity.InvocablePushEntireEstimateToOpportunityRequest

global with sharing class InvocablePushEntireEstimateToOpportunityRequest

The request class to pass multiple parameters to the invocable method.

Properties

Name Type Description
EstimateId Id The ID of the estimate being added to opportunity.
AdditionalAggregationFields List<String> [Optional] Additional fields to consolidate estimate role requests by when creating resource requests.
AggregateBySkills Boolean If true, role requests are consolidated by skills. The default value is false.
CreateOpportunityLineItems Boolean If true, opportunity products are created for each estimate product instance. The default value is true.
ProductId Id The ID of the product used to represent records that are independent of estimate products. Required if records independent of estimate product are included.
ProductDate Date The date of the opportunity product used to represent records that are independent of estimate products. Required if records independent of estimate product are included.
ProductDescription String The description of the opportunity product used to represent records that are independent of estimate products.

Methods

InvocablePushEntireEstimateToOpportunityRequest

global InvocablePushEntireEstimateToOpportunityRequest()

ffscpq.ActionPushEntireEstimateToOpportunity.InvocablePushEntireEstimateToOpportunityResponse

global with sharing class InvocablePushEntireEstimateToOpportunityResponse

The response class for the invocable method.

Properties

Name Type Description
EstimateId Id The ID of the estimate being added to opportunity.
Errors List<ffscpq.PushToOpportunityService.PushToOpportunityError> A list containing errors that occurred while processing the request.
© Copyright 2009–2024 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.