Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

RE_PromotionTransfer Class

The RE_PromotionTransfer Apex class provides programmatic access to the RE_PromotionTransfer sObject and its related sObjects.

Namespace

1cgcloud

Example Implementation

1cgcloud.RE_PromotionTransfer promotionTransfer;

Supported Methods

Table 1. RE_PromotionTransfer Supported Methods
Method signature Description Version
global Boolean isNew() Indicates whether the promotionTransfer record is new (true) or not (false). 60.0
global Boolean isDeleted() Indicates whether the promotionTransfer record is deleted (true) or not (false). 60.0
global RE_PromotionTransfer.Record getPromotion() Returns the main promotionTransfer record. 60.0
global RE_PromotionTransfer(cgcloud__Promotion__c promotionSObject) Constructor that loads all the related data of the given promotionTransfer record ID. 60.0
global SObject getRecord() Returns the full cgcloud__Promotion__c sObject.

To get the missing ID of the sObject, use the getId() method of the record wrapper.

60.0
global void setIsDeleted(Boolean value) Sets the isDeleted flag for the promotionTransfer record. 60.0