fam.DepreciationBookQueryFieldsglobal virtual with sharing class DepreciationBookQueryFields If you write your own implementation of the fam.DepreciationCalculation class, you must extend this class. The Depreciation_Book__c objects that are passed into the generateSchedules method on fam.DepreciationCalculation implementations are already queried objects and may not contain the fields that you have added to the Depreciation Book object. Sample Code
MethodsgetExtraFieldsglobal virtual List<SObjectField> getExtraFields() You must override this class to include the custom fields that you have added to the Depreciation Book object. Return ValueReturns a list of SObjectField tokens from the Depreciation_Book__c object. |