|
Method Name
|
Input Parameters
|
Output Parameters
|
|---|---|---|
|
CreatePMPlanFromAccount
|
PREV_PMAutomationRequest
|
PREV_PMAutomationResponse
|
|
CreatePMPlanFromLOC
|
PREV_PMAutomationRequest
|
PREV_PMAutomationResponse
|
|
CreatePMPlanFromSC
|
PREV_PMAutomationRequest
|
PREV_PMAutomationResponse
|
|
CreatePMPlanFromIB
|
PREV_PMAutomationRequest
|
PREV_PMAutomationResponse
|
global sharing class PREV_PMAutomationRequest
{
webservice list<Strings> pmPlanIdList{get;set;}
}
global class PREV_PMAutomationResponse
{
webservice Boolean success{get;set;}
webservice String message{get;set;}
webservice String messageType{get;set;}
webservice list<PREV_PMAutomationResult> results{get;set;}
}
Global Class PREV_PMAutomationResult
{
webservice String pmPlanId {get;set;}
webservice String errorMessage {get;set;}
webservice Boolean success{get;set;}
}
SVMXC.PREV_PMAutomation.PREV_PMAutomationRequest request = new SVMXC.PREV_PMAutomation.PREV_PMAutomationRequest();
request.pmPlanIdList = new List<String>{'PM Plan SF Id'};
SVMXC.PREV_PMAutomation.createPMPlanFromAccount(request);
//SVMXC.PREV_PMAutomation.createPMPlanFromLOC(request);
//SVMXC.PREV_PMAutomation.createPMPlanFromSC(request);
//SVMXC.PREV_PMAutomation.createPMPlanFromIB(request);
|
|
Note: If your organization is offering PM Plans for Installed Based, then ensure that the IP records are created before generating PM Plans with them as coverages.
|