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.
NegInvcLineProcessedEvent
Notifies subscribers when a negative invoice line is converted to a credit
memo. This object is available in API version 56.0 and later.
Supported Calls
describeSObjects()
Supported Subscribers
| Subscriber | Supported? |
|---|---|
| Apex Triggers | ![]() |
| Flows | ![]() |
| Processes | ![]() |
| Pub/Sub API | ![]() |
| Streaming API (CometD) | ![]() |
Subscription Channel
/event/NegInvcLineProcessedEvent
Event Delivery Allocation Enforced
No
Special Access Rules
This object is available when Subscription Management is enabled.
Fields
| Field | Details |
|---|---|
| CorrelationIdentifier |
|
| CrMemoProcessErrDtlEvents |
|
| CreditMemoId |
|
| ErrorDetails |
|
| EventUuid |
|
| InvoiceId |
|
| IsAutomatedNegativeInvoiceLineConversion |
|
| IsSuccess |
|
| ReplayId |
|
| RequestIdentifier |
|
Example
A user successfully submits a negative invoice line, which creates one credit memo,
and generates this platform event when the request
completes.
1{
2 CrMemoProcessErrDtlEvents: null
3 CreatedById: "005xx000001X8efAAC"
4 CreatedDate: "2022-08-11T16:44:34.652Z"
5 CreditMemoId: "50gxx000000gwFyAAI"
6 ErrorDetails:."[]"
7..InvoiceId: "3ttxx0000001Vg5AAE"
8 IsSuccess: true
9 RequestIdentifier: null