c2g.CODAYearServiceglobal with sharing class CODAYearService the service class relating to years and periods. MethodscreateYearAndGeneratePeriodglobal static id createYearAndGeneratePeriod(c2g__codaYear__c dto) Creates a year and period list from the information passed. If the year already exists an error will be thrown. Input Parameters
Return ValueThe ID of the year created. |