#9525 [Shopify] Automatic Transaction Posting
Shopify payment transactions can now be automatically posted as general journal lines when related invoices or credit memos are posted in Business Central, with configurable journal templates and safety checks to prevent unintended posting.
- 14files
- 12AL files
- 12objects
Pull request · merged into main (BC30) on 2026-09-18 by onbuyuka · 14 files (+1820 -13), 12 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Adds automatic posting setup fields to payment-method mappings with validation for journal template, batch, and balancing account requirements
- Automatically posts successful Capture, Sale, and Refund transactions after related sales invoices or credit memos are posted
- Posts through dedicated single-use journal batches to isolate transactions and prevent unrelated journal lines from being posted
- Includes safety features such as user permission checks, preview skipping, and isolated cleanup operations with telemetry
- Comprehensive test coverage for setup validation, various transaction types, partial invoices/refunds, and failure handling scenarios
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 30262 “Shpfy Document Link Mgt.”, Shopify: modified
- Permission set 30104 “Shpfy - Objects”, Shopify: modified
- Codeunit 30422 “Shpfy Auto Gen. Jnl.-Post”, Shopify: added
- Codeunit 30424 “Shpfy Auto Post Eligibility”, Shopify: added
- Codeunit 30423 “Shpfy Auto Post Finalize”, Shopify: added
- Codeunit 30236 “Shpfy Auto Post Transactions”, Shopify: added
- Page 30176 “Shpfy Filter Transactions”, Shopify: added
- Page 30132 “Shpfy Payment Methods Mapping”, Shopify: modified
- Page 30134 “Shpfy Transactions”, Shopify: modified
- Report 30118 “Shpfy Suggest Payments”, Shopify: modified
- Table 30133 “Shpfy Order Transaction”, Shopify: modified
- Table 30134 “Shpfy Payment Method Mapping”, Shopify: modified
Context
- Work items: AB#620951
- Labels: AL: Apps (W1), Team: Integrations
- Systems: integration
- From the description: “Automatically posts successful, unused Capture, Sale, and Refund transactions after the related sales invoice or credit memo is posted.”
Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).