Skip to content

Fix assembly cost test isolation - #10099

Open
Predrag Maricic (PredragMaricic) wants to merge 2 commits into
mainfrom
bugs/644569-fix-assembly-cost-test
Open

Fix assembly cost test isolation#10099
Predrag Maricic (PredragMaricic) wants to merge 2 commits into
mainfrom
bugs/644569-fix-assembly-cost-test

Conversation

@PredragMaricic

@PredragMaricic Predrag Maricic (PredragMaricic) commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • create only the General Posting Setup combinations used by CalcAssemblyStdCostDoesNotDistortAssemblyOutputActualCost
  • populate and persist purchase, inventory, and manufacturing accounts for those combinations
  • disable localization-specific document total validation for this value-entry scenario
  • restore Purchases & Payables Setup through the existing setup-storage lifecycle

Root cause

The test updated accounts on existing General Posting Setup records but did not create the exact posting-group combinations generated by purchase and assembly documents. It also inherited Check Doc. Total Amounts from localization data, causing unrelated failures.

This changes test setup only. Product code is unchanged.

Fixes AB#644569

Create only the posting setup combinations used by the test and disable localization-specific document total validation for the scenario.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@github-actions github-actions Bot added the SCM GitHub request for SCM area label Aug 10, 2026
@github-actions github-actions Bot added this to the Version 29.0 milestone Aug 10, 2026
Populate and persist purchase, inventory, and manufacturing accounts for each targeted General Posting Setup combination.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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