ffscpq.ActionPushToOpportunity
global with sharing class ActionPushToOpportunity
A class that houses the invocable Method for API service PushToOpportunity.
Methods
pushToOpportunity
global static List<ffscpq.ActionPushToOpportunity.InvocablePushToOpportunityResponse> pushToOpportunity(List<ffscpq.ActionPushToOpportunity.InvocablePushToOpportunityRequest> invocablePushToOpportunityRequests)
A method that pushes estimate details to their related opportunities by by creating resource requests and opportunity products.
Input Parameters
Return Value
This service returns InvocablePushToOpportunityResponse in a list that parallels the input list.
ffscpq.ActionPushToOpportunity.InvocablePushToOpportunityRequest
global with sharing class InvocablePushToOpportunityRequest
The request class to pass multiple parameters to the invocable method.
Properties
| EstimateId |
Id |
The ID of the estimate being pushed.
|
| EstimateProductIds |
List<Id> |
A list of IDs of the estimate product instances to be pushed.
|
| IncludeRecordsIndependentOfEstimateProducts |
Boolean |
If true, records independent of estimate products will be pushed. The default value is true.
|
| 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
ffscpq.ActionPushToOpportunity.InvocablePushToOpportunityResponse
global with sharing class InvocablePushToOpportunityResponse
The response class for the invocable method.
Properties
| EstimateId |
Id |
The ID of the estimate being pushed.
|
|