Reporting API Documentation
|
ffr.IActionViewsActionglobal interface IActionViewsAction You can use the ffr.IActionViewsAction global interface to invoke custom actions from Action Views.
Packaged Action FinancialForce Accounting provides a sample Apex class for updating sales invoice due dates. For details of how to configure this class and perform the action, see the FinancialForce Accounting Help topic "Using the Sample Action to Update Sales Invoice Due Dates". Date2015 Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. You need to provide some sample code Methods
invokeActionActionViewsService.ActionResult invokeAction(DataviewService.Dataview dataview, ffr.SelectionService.Result selectedData, String actionParameter, Map<String, String> promptValues) Invokes the action. Input Parameters
Return ValueThis method returns a c2g.ActionViewsService.ActionResult object. getParameterMetadataListList< DataViewService.ParameterMetadataType> getParameterMetadataList() Dictate any parameters to be supplied by the user at runtime. Return ValueThis method returns a list of type c2g.DataViewService.ParameterMetadataType. isSingleSelectBoolean isSingleSelect() Indicates if the action applies to single or multiple rows. Return ValueThis method returns a Boolean: true when the action applies to single rows, false when the action applies to multiple rows. getRequiredFieldsSet<Id> getRequiredFields(DataviewService.Dataview dataview) Tells FinancialForce which fields it needs from the dataview. Input Parameters
Return ValueThis method returns a Set<Id>: This is a set of dataview field ids to be included in any data selection. |