ffscpq.PushToOpportunityServiceglobal with sharing class PushToOpportunityService A service that provides functionality related to pushing details from estimates to their related opportunities. Note: Push to Opportunity is used interchangeably with Add to Opportunity in this API. MethodspushToOpportunityglobal static List<ffscpq.PushToOpportunityService.PushToOpportunityResponse> pushToOpportunity(List<ffscpq.PushToOpportunityService.PushToOpportunityRequest> requests) A method that adds estimate details to their related opportunities by by creating resource requests and opportunity products. Input Parameters
Return ValueThis service returns PushToOpportunityResponse in a list that parallels the input list. Sample Code
ffscpq.PushToOpportunityService.PushToOpportunityRequestglobal with sharing class PushToOpportunityRequest The request structure for adding an estimate to its related opportunity. Properties
MethodsPushToOpportunityRequestglobal PushToOpportunityRequest(Id estimateId) A default constructor with minimum required properties. Input Parameters
Sample Code
ffscpq.PushToOpportunityService.PushToOpportunityResponseglobal with sharing class PushToOpportunityResponse The response structure for adding an estimate to its related opportunity. Properties
ffscpq.PushToOpportunityService.PushToOpportunityErrorglobal with sharing class PushToOpportunityError The error that occurred while processing the request. Properties
|