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//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. You need to provide some 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. |