Skip to content

Bug 640321: Blanket Purch. Order to Order drops extended text for later items#9084

Draft
alexei-dobriansky wants to merge 2 commits into
mainfrom
bugs/640321-EASY-BlanketPurchOrderExtendedText
Draft

Bug 640321: Blanket Purch. Order to Order drops extended text for later items#9084
alexei-dobriansky wants to merge 2 commits into
mainfrom
bugs/640321-EASY-BlanketPurchOrderExtendedText

Conversation

@alexei-dobriansky

@alexei-dobriansky alexei-dobriansky commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Fixes AB#640321

Codeunit 97 copied each blanket line to the order with "Attached to Line No." still pointing at the blanket line no.; IsPurchOrderLineToBeInserted then Gets that stale line no. on the new order and, when the parent item lands on a different line no., skips the extended-text line. Add RemapAttachedToLineNo (mirroring the shipped Sales-side fix) to rewrite "Attached to Line No." to the parent's new order line no. before the insert check. Adds a test. Propagated to the IT and NA layers.

alexei-dobriansky and others added 2 commits July 3, 2026 16:23
…er items

Codeunit 97 copied each blanket line to the order with "Attached to Line No."
still pointing at the blanket line no.; IsPurchOrderLineToBeInserted then Get()s
that stale line no. on the new order and, when the parent item lands on a
different line no., skips the extended-text line. Add RemapAttachedToLineNo
(mirroring the shipped Sales-side fix) to rewrite "Attached to Line No." to the
parent's new order line no. before the insert check.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…d NA layers

Miapp propagation of the W1 RemapAttachedToLineNo fix and test to the IT and NA
BaseApp and Tests layers. The IT BaseApp keeps its local InsertPurchaseHeader
procedure alongside the new RemapAttachedToLineNo.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@alexei-dobriansky alexei-dobriansky added the SCM GitHub request for SCM area label Jul 3, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Jul 3, 2026
@alexei-dobriansky alexei-dobriansky self-assigned this Jul 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

SCM GitHub request for SCM area

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant