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.
|
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.
|
|