Logging and defaults
Logging
Field
Data type
Description
Logging instructions
SELECT id, Globebyte__StatementId__c, Globebyte__DateSent__c, Globebyte__StatusCode__c, Globebyte__Response__c, Globebyte__StatementJSON__c, Name FROM Globebyte__xAPI_Audit_Log__cGlobebyte__xAPI_Audit_Log__c auditLog = [SELECT id, Globebyte__StatementId__c, Globebyte__DateSent__c, Globebyte__StatusCode__c, Globebyte__Response__c, Globebyte__StatementJSON__c FROM Globebyte__xAPI_Audit_Log__c ORDER BY Globebyte__DateSent__c DESC LIMIT 1];
System.debug('ID: ' + auditLog.Globebyte__StatementId__c);
System.debug('Date: ' + auditLog.Globebyte__DateSent__c);
System.debug('Status Code: ' + auditLog.Globebyte__StatusCode__c);
System.debug('Response: ' + auditLog.Globebyte__Response__c);
System.debug('JSON: ' + auditLog.Globebyte__StatementJSON__c);Defaults
Last updated