SalesTrxnDecompositionEvent

Notifies when the decomposition process status changes. This object is available in API version 66.0 and later.

Supported Calls 

describeSObjects()

Supported Subscribers 

SubscriberSupported?
Apex TriggersYes
FlowsYes
ProcessesNo
Pub/Sub APIYes
Streaming API (CometD)Yes

Streaming API Subscription Channel 

/event/SalesTrxnDecompositionEvent.

Special Access Rules 

This object is available in orgs with Revenue Management.

Event Delivery Allocation Enforced 

Yes

Fields 

ErrorCode 

  • Type: string
  • Properties: Create, Nillable
  • Description: The error code returned for a decomposition process failure.

EventUuid 

  • Type: string
  • Properties: Nillable
  • Description: A universally unique identifier (UUID) that identifies a platform event message.

ReplayId 

  • Type: string
  • Properties: Nillable
  • Description: Represents an ID value that is populated by the system and refers to the position of the event in the event stream. Replay ID values aren’t guaranteed to be contiguous for consecutive events. A subscriber can store a replay ID value and use it on resubscription to retrieve missed events that are within the retention window.

SalesTransactionIdentifier 

  • Type: string
  • Properties: Create, Nillable
  • Description: The sales transaction being decomposed.

Status 

  • Type: string
  • Properties: Create, Nillable
  • Description: The status of the decomposition process.