global with sharing class StagingTableService
Deprecated: As of V3.3 this class has been replaced by ffrr.StagingService. A new Staging process has been introduced.
Indicates the status of a revenue recognition batch job.
The type of transactions associated with the Batch Job.
Indicates the type of revenue recognition batch job.
global with sharing class Job
Contains the details of a revenue recognition batch job.
//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. //Create the Job ffrr.StagingTableService.Job jSample = new ffrr.StagingTableService.Job(); //Specify the job's ID jSample.ID = 'a0aa00000621d86'; //Specify what type of job this is jSample.type = ffrr.StagingTableService.JobType.CREATING; //Specify the job's status jSample.status = ffrr.StagingTableService.JobStatus.ABORTED; //Specify the date relating to the job type jSample.lastDataCreation = date.newInstance(2013, 3, 31); jSample.lastDataDeletion = null; jSample.lastDataUpdated = null; //Specify which group this job relates to, which recognition date was //used and how many records were processed jSample.groupName = Account.getSObjectType(); jSample.recognitionDate = date.newInstance(2013, 2, 28); jSample.totalRecords = 5000; jSample.processedRecords = 500;