CustomFinancialReportOptions Class

Options class to set Custom Financial Report parameter values for Accounting Seed Financial Reporter API methods.

Properties

This class extends FinancialReportOptions and has no additional properties.

Methods

The following are the global methods for the CustomFinancialReportOptions class.

global CustomFinancialReportOptions(Id financialReportDefinitionId)

Constructor.

Parameters
Type: Id (Financial_Report_Definition__c)

Usage

Id financialReportDefinitionId = [SELECT Id FROM AcctSeed__Financial_Report_Definition__c WHERE ID = '{valid ID}' ];
AcctSeed.CustomFinancialReportOptions options = new CustomFinancialReportOptions(financialReportDefinitionId);

Default Values

If not explicitly set, the properties are defaulted to the following values:

reportType

Default: FinancialReportOptions.FinancialReportType.CUSTOM

Required: True

startingAccountingPeriod

Default: The Id of the last closed Accounting Period

Required: True