Services CPQ API Developer Reference

ffscpq.ActionCreateEstimate

global with sharing class ActionCreateEstimate

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

Methods

createEstimates

global static List<ffscpq.ActionCreateEstimate.InvocableCreateEstimateAPIResponse> createEstimates(List<ffscpq.ActionCreateEstimate.InvocableCreateEstimateAPIRequest> invocableEstimateRequests)

ffscpq.ActionCreateEstimate.InvocableCreateEstimateAPIRequest

global with sharing class InvocableCreateEstimateAPIRequest

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

Properties

Name Type Description
EstimateData ffscpq__Estimate__c An estimate record with field values for the new estimate.
SourceEstimateId Id [Optional] The estimate to copy related records from.
IncludeSkills Boolean If true, skills are copied from the existing estimate to the new estimate. The default value is true.
IncludeEstimatedExpenses Boolean If true, estimated expenses are copied from the existing estimate to the new estimate. The default value is true.
IncludeEstimateVendorLineItems Boolean If true, vendor line items are copied from the existing estimate to the new estimate. The default value is true.
IsTemplate Boolean If true, the new estimate is marked as a template. The default value is false.
RegionOverride Id [Optional] The region of the copied role requests. This will override the region specified on the source estimate. If no source estimate is specified, this will have no effect.
PracticeOverride Id [Optional] The practice of the copied role requests. This will override the practice specified on the source estimate. If no source estimate is specified, this will have no effect.
GroupOverride Id [Optional] The group of the copied role requests. This will override the group specified on the source estimate. If no source estimate is specified, this will have no effect.

ffscpq.ActionCreateEstimate.InvocableCreateEstimateAPIResponse

global with sharing class InvocableCreateEstimateAPIResponse

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

Properties

Name Type Description
JobId Id The AsyncApexJob Id. If this is null, the request was completed synchronously.
Estimate ffscpq__Estimate__c The estimate record.
© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.