Newer Version Available

This content describes an older version of this product. View Latest

RE_Order.Record Class

The RE_Order.Record Apex class provides a wrapper for the order sObject records.

Namespace

Each instance wraps an RE_Order sObject record and provides methods to extract the child sObject records.

Example Implementation

Supported Methods

isDeleted()

Indicates if the record is flagged for deletion or the record is updated during save.

API Version
59.0
Signature
global Boolean isDeleted()

isNew()

Indicates if the record is new or already exists in the database.

API Version
59.0
Signature
global Boolean isNew()

getId()

Returns the temporary ID for the wrapped record. The order save process uses temporary IDs for records that are still not committed to the database.

API Version
59.0
Signature
global Boolean getId()

getOriginalRecord()

Returns the wrapped sObject record. You can update the returned record field values.

API Version
59.0
Signature
global Boolean getRecord()