Skip to content

Track receipt on invoice per purchase order line - #10528

Open
Joshua (mynjj) wants to merge 1 commit into
features/yapapompr-edocumentsfrom
features/yapapompr-roi-line
Open

Track receipt on invoice per purchase order line#10528
Joshua (mynjj) wants to merge 1 commit into
features/yapapompr-edocumentsfrom
features/yapapompr-roi-line

Conversation

@mynjj

@mynjj Joshua (mynjj) commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

What & why

Moves receipt-on-invoice tracking from purchase-order header-only state to individual purchase order lines in W1. The header remains the template for its lines, while each line can be adjusted independently and keeps its matched-order records synchronized.

Adds the final Receipt on Invoice Policy values (Manual, Automatic) on vendors, applies the policy to new orders, uses the line setting in BaseApp matching and posting flows, and exposes the line field for personalization on the Purchase Order subform.

Includes the per-company upgrade that backfills the new line field for existing receipt-on-invoice orders. This layer intentionally does not propagate the schema and behavior to country layers and does not add the separate manually-received/receipt-on-invoice coexistence behavior.

Stacked on #10526 (stack #10527).

Linked work

AB#625392

How I validated this

  • I read the full diff and it contains only changes I intended.
  • I built the affected app(s) locally with no new analyzer warnings.
  • I ran the change in Business Central and confirmed it behaves as expected.
  • I added or updated tests for the new behavior, or explained below why none are needed.

What I tested and the outcome

Added focused coverage for line-level auto-receipt with the header disabled, vendor Automatic policy inheritance, rejection of receipt-on-invoice on a line with existing receipts, and the new PO Matching Group reading the order-line setting. Per the current development setup, this submission received static diff checks only; AL build and runtime validation are deferred.

Risk & compatibility

The upgrade preserves existing header-enabled orders by setting receipt on invoice on their current lines without updating audit fields. Country-layer propagation is intentionally excluded from this stack.

@mynjj
Joshua (mynjj) requested review from a team as code owners August 21, 2026 16:28
@mynjj Joshua (mynjj) changed the title BaseApp: track receipt on invoice per order line Track receipt on invoice per purchase order line Aug 21, 2026
@github-actions github-actions Bot added Other GitHub request for other area than SCM, Finance or Integration Ownership: Needs Review Ownership is Other, low confidence, or needs manual correction labels Aug 21, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Aug 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Other GitHub request for other area than SCM, Finance or Integration Ownership: Needs Review Ownership is Other, low confidence, or needs manual correction

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant