Accounting API Developer's Reference
|
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() |