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
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.
|
ffscpq.ActionCreateEstimate.InvocableCreateEstimateAPIResponse
global with sharing class InvocableCreateEstimateAPIResponse
The request class to pass multiple parameters to the invocable method.
Properties
JobId |
Id |
The AsyncApexJob Id. If this is null, the request was completed synchronously.
|
Estimate |
ffscpq__Estimate__c |
The estimate record.
|
|