Services CPQ API Developer Reference

ffscpq.ActionPushEntireEstimateToOpportunity

global with sharing class ActionPushEntireEstimateToOpportunity

A class that houses the invocable Method for API service PushEntireEstimateToOpportunity.

Methods

pushToOpportunity

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

A method that pushes all estimate details to their related opportunities by 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 pushed.
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 pushed.
Errors List<ffscpq.PushToOpportunityService.PushToOpportunityError> A list containing errors that occurred while processing the request.
© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.