Accounting API Developer's Reference
|
c2g.OnlineInquiriesServiceglobal with sharing class OnlineInquiriesService The service class relating to Online Inquiries. EnumsMessageLevelThe type of status message returned by the action.
Methods
hasPromptsglobal static Boolean hasPrompts(List<c2g.InquiryTemplateService.InquiryTemplateFilter> filterList) This service returns a Boolean indicating whether or not each of the specified filter criteria is set to prompt. Input Parameters
Return ValueThis service returns a Boolean object. hasPromptsglobal static Boolean hasPrompts(c2g.InquiryTemplateService.InquiryTemplate template) This service returns a Boolean indicating whether or not the specified inquiry template has criteria set to prompt. Input Parameters
Return ValueThis service returns a Boolean object. getDataglobal static c2g.SelectionService.Result getData(c2g.InquiryTemplateService.InquiryTemplate template) Gets data for the template provided getDataglobal static c2g.SelectionService.Result getData(Id dataviewId, List<Id> fieldList, List<c2g.InquiryTemplateService.InquiryTemplateFilter> filterList) Retrieves the data that is returned when you run an online inquiry using the specified parameters. Input Parameters
Return ValueThis service returns a SelectionService.Result object. getDrillDataglobal static c2g.OnlineInquiriesService.DrillData getDrillData(ID destinationTemplateId, List<c2g.InquiryTemplateService.InquiryTemplateFilter> currentfilterList) Retrieves data that matches the specified filter and presents it using the specified template. In the Online Inquiries user interface, this is equivalent to selecting a different inquiry template from the drop-down list above the results grid. Input Parameters
Return ValueThis service returns a c2g.OnlineInquiriesService.DrillData object. getDrillDataglobal static c2g.OnlineInquiriesService.DrillData getDrillData(ID sourceTemplateID, ID destinationTemplateID, List<c2g.InquiryTemplateService.InquiryTemplateFilter> currentfilterList, Map<String, String> drillContext) Retrieves data that provides further analysis relating to the specified drill context. In the Online Inquiries user interface, this is equivalent to left-clicking or right-clicking on a cell to drill. Input Parameters
Return ValueThis service returns a c2g.OnlineInquiriesService.DrillData object. getDrillDataglobal static c2g.OnlineInquiriesService.DrillData getDrillData(ID sourceTemplateID, ID destinationTemplateID, List<c2g.InquiryTemplateService.InquiryTemplateFilter> currentfilterList, List<c2g.InquiryTemplateService.InquiryTemplateFilter> columnFilters, Map<String, String> drillContext) Applies column filters when doing a drill to ensure that the drill results are specific to the value in the filtered column (rather than including values across the whole row). Input Parameters
Return ValueThis service returns a c2g.OnlineInquiriesService.DrillData object. getDrillDataglobal static c2g.OnlineInquiriesService.DrillData getDrillData(ID sourceTemplateID, ID destinationTemplateID, List<c2g.InquiryTemplateService.InquiryTemplateFilter> currentfilterList, List<c2g.InquiryTemplateService.InquiryTemplateFilter> columnFilters, List<c2g.InquiryTemplateService.InquiryTemplateFilter> summarizationTemplateFilterList, Map<String, String> drillContext) Applies column filters when doing a drill to ensure that the drill results are specific to the value in the filtered column (rather than including values across the whole row). Input Parameters
Return ValueThis service returns a c2g.OnlineInquiriesService.DrillData object. getPersonalSettingsForTemplateAndUserglobal static c2g.OnlineInquiriesService.OnlineInquiriesPersonalSetting getPersonalSettingsForTemplateAndUser(Id templateId) Retrieves the personal settings that have been saved by the current user for the specified inquiry template. Input Parameters
Return ValueThis service returns a c2g.OnlineInquiriesService.OnlineInquiriesPersonalSetting object. savePersonalSettingsglobal static c2g.OnlineInquiriesService.OnlineInquiriesPersonalSetting savePersonalSettings(c2g.OnlineInquiriesService.OnlineInquiriesPersonalSetting settingsDTO) Saves the specified personal settings. Input Parameters
Return ValueThis service returns a c2g.OnlineInquiriesService.OnlineInquiriesPersonalSetting object. deletePersonalSettingglobal static void deletePersonalSetting(Id templateId) Deletes the personal settings that have been saved by the current user for the specified inquiry template. Input Parameters
invokeActionglobal static c2g.OnlineInquiriesService.ActionResult invokeAction(Id dataviewId, Id actionId, c2g.SelectionService.Result selectedData, Map<String, String> promptValues) Invokes an online inquiries action using the specified parameters. Input Parameters
Return ValueThis service returns a c2g.OnlineInquiriesService.ActionResult object. Validateglobal static c2g.OnlineInquiriesService.ValidationResult Validate(Id dataviewId, Id actionId, c2g.SelectionService.Result selectedData) Verifies whether the specified action is valid for the selected data. Input Parameters
Return ValueThis service returns a c2g.OnlineInquiriesService.ValidationResult object. c2g.OnlineInquiriesService.DrillDataglobal class DrillData Holds information used when drilling within Online Inquiries. Properties
c2g.OnlineInquiriesService.OnlineInquiriesPersonalSettingglobal class OnlineInquiriesPersonalSetting Argument object sent by client Properties
Methods
OnlineInquiriesPersonalSettingglobal OnlineInquiriesPersonalSetting() Creates an API version of an empty online inquiries personal setting object. Return ValueThis constructor does not return a value. OnlineInquiriesPersonalSettingglobal OnlineInquiriesPersonalSetting(c2g__OnlineInquiriesPersonalSetting__c sObj, List<c2g.OnlineInquiriesService.OnlineInquiriesSetting> settingsList) Creates an API version of an empty online inquiries personal setting object. Input Parameters
Return ValueThis constructor does not return a value. createSObjectglobal c2g__OnlineInquiriesPersonalSetting__c createSObject(String settingResult) Creates an SObject version of the online inquiry personal setting instance from its API version. Input Parameters
Return ValueThis service returns an OnlineInquiriesPersonalSetting__c object. c2g.OnlineInquiriesService.OnlineInquiriesSettingglobal class OnlineInquiriesSetting Holds a key-value pair storing a personal setting that has been saved by a user choosing Remember My Settings from within Online Inquiries. Properties
c2g.OnlineInquiriesService.ActionResultglobal class ActionResult The result of running an action within Online Inquiries. Properties
c2g.OnlineInquiriesService.ValidationResultglobal class ValidationResult The result (success or failure) of validating an action within Online Inquiries. |