NegInvcLineProcessedEvent

Represents the notification to the customers when a negative invoice line is converted to a credit memo This object is available in API version 62.0 and later.

describeSObjects()

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

/event/NegInvcLineProcessedEvent.

No

This object is available when Billing is enabled.

  • Type: string
  • Properties: Nillable
  • Description: Reserved for future use.
  • Type: CrMemoProcessErrDtlEvent
  • Properties: Nillable
  • Description: A compilation of error messages and error codes for a failed request. See the ErrorDetails field for error messages and error codes.
  • Type: reference
  • Properties: Nillable
  • Description: The ID of the credit memo created as a result of the successful conversion of a negative invoice line.

This field is a relationship field.

  • Relationship Name: CreditMemo
  • Refers To: CreditMemo
  • Type: string
  • Properties: Nillable
  • Description: If the request fails, this field shows error messages, error codes, and the ID of the record on which the errors occurred.
  • Type: string
  • Properties: Nillable
  • Description: A universally unique identifier (UUID) that identifies a platform event message.
  • Type: reference
  • Properties: Nillable
  • Description: The ID of the invoice that this event is in reference to.

This field is a relationship field.

  • Relationship Name: Invoice
  • Refers To: Invoice
  • Type: boolean
  • Properties: Defaulted on create
  • Description: Indicates whether this event is generated either by an automated process to convert negative invoice lines to credit memos (true) or by a manual process (false).

The default value is false.

  • Type: boolean
  • Properties: Defaulted on create
  • Description: Required. Indicates whether the negative invoice lines were converted successfully to credit memos (true) or not (false).

The default value is false.

  • Type: string
  • Properties: Nillable
  • Description: Represents an ID value that’s 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.
  • Type: string
  • Properties: Nillable
  • Description: The unique identifier of the request. This field is always empty.