Accounting Apex API Developer Reference

c2g.CODAYearWebService

global with sharing class CODAYearWebService

the service class relating to years in financialforce accounting.

This class contains deprecated items.

Methods

calculatePeriods

webService static String calculatePeriods(ID yearId)

This method calculates the periods for a financial year and returns a String that contains information about the result of the process. Use the CreateYearsAndPeriodsSection (Create Years and Periods from Task Launcher) custom permission to grant permissions on this service.

Input Parameters

Name Type Description
yearId ID The Id of a year

Return Value

This service returns a String that contains information about the result of the process.
The output is of the format: Success : ReturnId : ReasonMessage.

  • Success: True or False depending on the result of the calculation.
  • ReturnId: Year Id.
  • ReasonMessage: Error message in case of error.

Deprecated

The following items are deprecated and not supported for use. We recommend that you stop using these items to avoid exceptions.

Methods

reCalculate

Deprecated: Not for public use.

webService static String reCalculate(ID yearId)

© Copyright 2009–2021 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.