Breaking DML Cascades with AsyncAfterCommit in Revenue Cloud
How synchronous DML cascades in record-triggered Flows corrupt Revenue Cloud's pricing engine, and how AsyncAfterCommit paths break the chain.
How synchronous DML cascades in record-triggered Flows corrupt Revenue Cloud's pricing engine, and how AsyncAfterCommit paths break the chain.
How to allow Revenue Cloud's pricing engine to reprice locked Quote Line Items by leveraging the system-managed CalculationStatus field in validation rules.
Salesforce Commerce Invoicing has an undocumented hard limit that prevents posting invoices with more than 200 InvoiceLine records. This article documents the constraint, the evidence, and available workaround paths.
How to create Credit Memos using the Salesforce Commerce Invoicing REST API from Apex, including Named Credentials, request formatting, and cascading updates.
When an invoice contains negative lines (such as prepayment reversals), Revenue Cloud constraints make it impossible to fully credit the invoice. This article documents the deadlock and available workarounds.
Understanding the taxStrategy options when creating Credit Memos via the Commerce Invoicing API, and why ManualOverride is usually correct for partial credits.
How Revenue Cloud's cached Decision Tables cause cascading pricing failures when new products are added, and how to prevent and resolve the issue.
How to implement invoice write-offs in Salesforce Revenue Cloud using the writeOffInvoices standard action API. Covers prerequisites, Apex implementation, mechanical behavior, business use cases, and comparison with other invoice close-out methods.
How concurrent async operations like @future and Queueable can corrupt Revenue Cloud's internal SalesTransaction state, and the correct sequencing pattern to prevent it.