c2g.SubAnalysisMappingServiceglobal with sharing class SubAnalysisMappingService the service class relating to subanalysis mapping. Methods
createNewMappingglobal static c2g.SubAnalysisMappingService.SubAnalysisMapping createNewMapping() This service creates and returns a new (unsaved) SubAnalysisMapping record. Return ValueThis service returns a c2g.SubAnalysisMappingService.SubAnalysisMapping object. loadglobal static List<c2g.SubAnalysisMappingService.SubAnalysisMapping> load() This service lists the SubAnalysisMapping records on your organization. Return ValueThis service returns a list of c2g.SubAnalysisMappingService.SubAnalysisMapping objects. saveglobal static void save(List<c2g.SubAnalysisMappingService.SubAnalysisMapping> mapList) This service saves the specified SubAnalysisMapping records. Input Parameters
getFieldLabelsglobal static Map<String, String> getFieldLabels(String documentType) This service lists the API names and field labels for the custom fields on the specified document type. Input Parameters
Return ValueThis service returns a map of String, String objects. deleteMappingsglobal static void deleteMappings(List<c2g.SubAnalysisMappingService.SubAnalysisMapping> mappings) This service deletes the specified SubAnalysisMapping records. Input Parameters
c2g.SubAnalysisMappingService.SubAnalysisMappingglobal class SubAnalysisMapping holds a configuration of custom fields set up for sub-analysis mapping on your organization. for example, you might have set up custom fields to analyze profit by project code, department and warehouse. in this case you would need to create one subanalysismapping record for project code, another for department, and another for warehouse. Properties
MethodsSubAnalysisMappingglobal SubAnalysisMapping() |