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 create Credit Memos using the Salesforce Commerce Invoicing REST API from Apex, including Named Credentials, request formatting, and cascading updates.
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 concurrent async operations like @future and Queueable can corrupt Revenue Cloud's internal SalesTransaction state, and the correct sequencing pattern to prevent it.