ffrr.StagingTableService
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.
Enums
JobStatus
Deprecated:
Indicates the status of a revenue recognition batch job.
Aborted |
The job was aborted by a user before it completed. |
Completed |
The job has completed successfully. |
Failed |
The job has failed. |
Preparing |
The data is being prepared. |
Processing |
The data is being processed. |
Queued |
The job is ready to start. |
Holding |
The job is waiting to enter the queue. |
JobTransactionType
Deprecated:
The type of transactions associated with the Batch Job.
Actual |
The batch job is associated with Actual records. |
Forecast |
The batch job is associated with Forecast records. |
Manage |
The batch job is associated with the Manage Actual vs Forecast records. |
JobType
Deprecated:
Indicates the type of revenue recognition batch job.
Creating |
The batch job will create records. |
Deleting |
The batch job will delete records. |
Updating |
The batch job will update records. |
ffrr.StagingTableService.Job
global with sharing class Job
Deprecated:
Contains the details of a revenue recognition batch job.
Sample Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 | ffrr.StagingTableService.Job jSample = new ffrr.StagingTableService.Job();
jSample.ID = 'a0aa00000621d86' ;
jSample.type = ffrr.StagingTableService.JobType.CREATING;
jSample.status = ffrr.StagingTableService.JobStatus.ABORTED;
jSample.lastDataCreation = date.newInstance( 2013 , 3 , 31 );
jSample.lastDataDeletion = null ;
jSample.lastDataUpdated = null ;
jSample.groupName = Account.getSObjectType();
jSample.recognitionDate = date.newInstance( 2013 , 2 , 28 );
jSample.totalRecords = 5000 ;
jSample.processedRecords = 500 ;
|
Properties
id |
Id |
ID of the batch job from the Asynx Apex Job table. |
|
errorMessage |
String |
Any error messages that are generated by the batch job. |
|
groupName |
Schema.SObjectType |
Name of the group. |
|
lastDataCreation |
DateTime |
Date and time a Create job was last run. |
|
lastDataDeletion |
DateTime |
Date and time a Delete job was last run. |
|
lastDataUpdated |
DateTime |
Date and time an update job was last run. |
|
processedRecords |
Integer |
Number of items processed. |
|
recognitionDate |
Date |
Date on which to base the revenue calculation. |
|
status |
ffrr.StagingTableService.JobStatus |
The status of the batch job. |
|
totalRecords |
Integer |
Total number of records to be processed. |
|
transactionType |
ffrr.StagingTableService.JobTransactionType |
The type of the transactions associated with the Batch Job. |
|
type |
ffrr.StagingTableService.JobType |
The type of batch job. |
|
|