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.
|
IncludeSchedules |
Boolean |
If true, schedules 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.
|
UseSourceTemplateCurrencies |
Boolean |
[Optional] If true, estimate product instances and their related records are copied in their original currencies. If false, they are converted to the new estimate currency. Records independent of estimate products are always converted to the new estimate currency. 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
JobId |
Id |
The AsyncApexJob Id. If this is null, the request was completed synchronously.
|
Estimate |
ffscpq__Estimate__c |
The estimate record.
|
|