Skip to content

Bug 641727 [28.x]: Subcontracting order uses Prod. Order Line location, not Work Center#9255

Merged
alexei-dobriansky merged 1 commit into
releases/28.xfrom
bugs/641727-Subcon_SubcontractingLocationCode
Jul 9, 2026
Merged

Bug 641727 [28.x]: Subcontracting order uses Prod. Order Line location, not Work Center#9255
alexei-dobriansky merged 1 commit into
releases/28.xfrom
bugs/641727-Subcon_SubcontractingLocationCode

Conversation

@alexei-dobriansky

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

Copy link
Copy Markdown
Contributor

Backport

Fixes AB#641727

InsertReqWkshLine overrode the requisition line Location/Bin with the Work Center location when set, so Create Subcontracting Order produced a different location than the Worksheet/CalculateSubcontracts path (which always uses the Prod. Order Line location). Standardize on the Prod. Order Line location to match the two existing correct implementations. Adds a test in CU 139981.

…Work Center (#9080)

Fixes
[AB#635072](https://dynamicssmb2.visualstudio.com/1fcb79e7-ab07-432a-a3c6-6cf5a88ba4a5/_workitems/edit/635072)

``InsertReqWkshLine`` overrode the requisition line Location/Bin with
the Work Center location when set, so *Create Subcontracting Order*
produced a different location than the
Worksheet/``CalculateSubcontracts`` path (which always uses the Prod.
Order Line location). Standardize on the Prod. Order Line location to
match the two existing correct implementations. Adds a test in CU
139981.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@alexei-dobriansky alexei-dobriansky self-assigned this Jul 8, 2026
@alexei-dobriansky alexei-dobriansky added SCM GitHub request for SCM area Subcontracting Subcontracting related activities labels Jul 8, 2026
@alexei-dobriansky alexei-dobriansky enabled auto-merge (squash) July 8, 2026 13:19
@github-actions github-actions Bot added the AL: Apps (W1) Add-on apps for W1 label Jul 8, 2026
@github-actions github-actions Bot added this to the Version 28.4 milestone Jul 8, 2026
@alexei-dobriansky alexei-dobriansky merged commit c5d9ab1 into releases/28.x Jul 9, 2026
34 checks passed
@alexei-dobriansky alexei-dobriansky deleted the bugs/641727-Subcon_SubcontractingLocationCode branch July 9, 2026 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AL: Apps (W1) Add-on apps for W1 SCM GitHub request for SCM area Subcontracting Subcontracting related activities

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants