ffscpq.ActionAddEstimateProduct
global with sharing class ActionAddEstimateProduct
A service that provides functionality related to adding an estimate product to an estimate.
Methods
addEstimateProductsToEstimates
global static List<ffscpq.ActionAddEstimateProduct.InvocableAddEstimateProductsToEstimatesAPIResponse> addEstimateProductsToEstimates(List<ffscpq.ActionAddEstimateProduct.InvocableAddEstimateProductsToEstimatesAPIRequest> invocableAddEstimateProductsToEstimatesRequests)
A method that adds an estimate product to an estimate.
Input Parameters
Return Value
This service returns InvocableAddEstimateProductsToEstimatesAPIResponse in a list that parallels the input list.
ffscpq.ActionAddEstimateProduct.InvocableAddEstimateProductsToEstimatesAPIRequest
global with sharing class InvocableAddEstimateProductsToEstimatesAPIRequest
The request class to pass multiple parameters to the invocable method.
Properties
EstimateId |
Id |
The estimate to copy the estimate product to.
|
EstimateProductId |
Id |
The estimate product to be copied.
|
EstimateProductInstanceBillingType |
String |
[Optional] The billing type for the copied estimate product instance. Must be 'Fixed Price' or 'Time and Materials'. If this is not provided the estimate product's default billing type is used.
|
EstimateProductInstanceFixedPriceMargin |
Decimal |
[Optional] The fixed price margin for the copied estimate product instance. If the billing type is specified as 'Fixed Price', this parameter is mandatory. If the billing type is specified as 'Time and Materials' or is not provided, this parameter is not used.
|
Name |
String |
[Optional] The name for the copied estimate product instance. If this is not provided the estimate product's name is used.
|
StartDate |
Date |
[Optional] The start date of the copied estimate product instance will be offset relative to this date. If this is not provided the estimate's start date is used.
|
CurrencyIsoCode |
String |
[Optional] The currency of the copied estimate product instance. If this is not provided the estimate's currency is used.
|
RegionOverride |
Id |
[Optional] The region of the copied role requests. This will override the region specified on the source estimate product.
|
PracticeOverride |
Id |
[Optional] The practice of the copied role requests. This will override the practice specified on the source estimate product.
|
GroupOverride |
Id |
[Optional] The group of the copied role requests. This will override the group specified on the source estimate product.
|
Methods
ffscpq.ActionAddEstimateProduct.InvocableAddEstimateProductsToEstimatesAPIResponse
global with sharing class InvocableAddEstimateProductsToEstimatesAPIResponse
The response class for the invocable method.
Properties
EstimateProductId |
Id |
The estimate product that was added.
|
EstimateId |
Id |
The estimate which the estimate product was added to.
|
JobId |
Id |
The AsyncApexJob ID. If this is null, the request was not processed due to an error.
|
Errors |
List<ffscpq.AddEstimateProductService.AddEstimateProductError> |
A list containing errors that occurred while processing the request.
|
|