ffscpq.ActionAddFromEstimateTemplate
global with sharing class ActionAddFromEstimateTemplate
A class that houses the invocable method for API service AddFromEstimateTemplate.
Methods
addAllRelatedRecords
global static List<ffscpq.ActionAddFromEstimateTemplate.InvocableAddAllRelatedRecordsAPIResponse> addAllRelatedRecords(List<ffscpq.ActionAddFromEstimateTemplate.InvocableAddAllRelatedRecordsAPIRequest> invocableAllRelatedRecordsRequests)
A method that copies all related records from an estimate.
Input Parameters
Return Value
This service returns InvocableAddAllRelatedRecordsAPIResponse in a list that parallels the input list.
ffscpq.ActionAddFromEstimateTemplate.InvocableAddAllRelatedRecordsAPIRequest
global with sharing class InvocableAddAllRelatedRecordsAPIRequest
The request class to pass multiple parameters to the invocable method.
Properties
SourceEstimateId |
Id |
The estimate to copy related records from.
|
DestinationEstimateId |
Id |
The estimate to copy related records to.
|
StartDate |
Date |
[Optional] The start date of the copied records will be offset relative to this date instead of target estimate start date. You can't specify a start date if you've specified an end date.
|
EndDate |
Date |
[Optional] The end date of the copied records will be offset relative to this date. You can't specify an end date if you've specified a start date.
|
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.
|
RegionOverride |
Id |
[Optional] The region of the copied role requests. This will override the region specified on the estimate template.
|
PracticeOverride |
Id |
[Optional] The practice of the copied role requests. This will override the practice specified on the estimate template.
|
GroupOverride |
Id |
[Optional] The group of the copied role requests. This will override the group specified on the estimate template.
|
Methods
ffscpq.ActionAddFromEstimateTemplate.InvocableAddAllRelatedRecordsAPIResponse
global with sharing class InvocableAddAllRelatedRecordsAPIResponse
The response class for the invocable method.
Properties
SourceEstimateId |
Id |
The ID of the estimate to copy records from.
|
DestinationEstimateId |
Id |
The ID of the estimate to copy records to.
|
JobId |
Id |
The AsyncApexJob ID. If this is null, the request was not processed due to an error.
|
Errors |
List<ffscpq.AddFromEstimateTemplateService.AddFromEstimateTemplateError> |
A list containing errors that occurred while processing the request.
|
|