Accounting API Developer's Reference

c2g.CODAYearWebService

global with sharing class CODAYearWebService

The service class relating to Years in FinancialForce Accounting.

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.

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.

reCalculate

Not for public use.

webService static String reCalculate(ID yearId)