bcquality/microsoft/knowledge
Michael Dieringer faa0bceb86 Fix remaining correctness issues from Jesper's 2026-09-15 re-review
- dimension-management-wiring: SaveDefaultDim's third argument is the
  shortcut dimension number (1-8), not the field's AL field ID; the
  fixture passed FieldNo(...) = 10. GetDefaultDimID's InheritFromDimSetID
  must be 0 when recomputing after the linking record changes, not the
  document's existing Dimension Set ID (which would retain the previous
  customer's leftover dimensions). Verified against
  DimensionManagement.Codeunit.al and BankDepositHeader.Table.al in the
  BCApps reference clone.
- check-post-line-batch-pattern: "Post Line writes exactly one line to
  the ledger" overclaimed - Gen. Jnl.-Post Line alone calls InsertGLEntry
  from a dozen call sites (balancing entry, VAT, currency rounding,
  deferrals) and can write several G/L Entries per journal line.
  Reworded to "posts exactly one journal line" and softened the
  "distinct, non-overlapping responsibilities" absolute.
- namespace-must-be-verified-from-source.bad.al: dropped the "resolves
  in a local build, fails in VS Code" comment (taught an inherent
  compiler/language-server disagreement that isn't real); reframed as
  stale/cached symbols, matching the prose fix already made.
- file-datatype-saas.good.al: replaced the deprecated 5-argument
  UploadIntoStream overload with the current 2-argument one, and
  actually staged through TempBlob as the article's own Best Practice
  instructs (the declared TempBlob variable was previously unused).
- test-data-must-be-random-and-complete: no longer treats a
  short-but-valid value as defective merely for being "underfilled" -
  AL field lengths are maxima, not minimums. Scoped to missing values
  or a scenario with an explicit length/format requirement (e.g. a
  truncation test). Updated the al-testing-review.md routing cue to
  match.
- stored-derived-fields-must-not-be-exposed-directly: stopped mandating
  source-field exposure as part of the core pattern: the good fixture
  exposed only one of the derived value's two inputs (Hours Used, not
  Budgeted Hours), making the claimed "so the consumer can verify it"
  impossible. Reframed as an optional, all-or-nothing addition and
  fixed the fixture to expose both inputs.

Rebased onto upstream/main to resolve conflicts in
al-breaking-changes-review.md, al-data-modeling-review.md,
al-performance-review.md, and al-style-review.md against merged PRs
#148 and #153; all sides' worklist tokens/cues retained.
2026-09-21 22:26:51 +02:00
..
appsource Fix remaining correctness issues from Jesper's 2026-09-15 re-review 2026-09-21 22:26:51 +02:00
breaking-changes Address second round of Jesper Schulz-Wedde's review on PR #156 2026-09-21 22:26:33 +02:00
data-modeling Fix remaining correctness issues from Jesper's 2026-09-15 re-review 2026-09-21 22:26:51 +02:00
error-handling Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
events knowledge(events): ChangeCompany leaves triggers and trigger-event subscribers running in the calling company (#152) 2026-09-15 12:34:28 +02:00
finance Add source-verified Finance knowledge and review domain (#57) 2026-09-21 10:20:41 +02:00
interfaces Add foundational AL developer knowledge (#195) 2026-09-21 10:15:39 +02:00
performance Address Jesper Schulz-Wedde's review on PR #156 2026-09-21 22:25:26 +02:00
privacy Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
query Add query filter semantics guidance (#186) 2026-09-15 12:51:15 +02:00
reporting Add reporting review guidance and evaluation fixtures (#183) 2026-09-15 10:38:32 +02:00
scm Add SCM functional knowledge domain (#192) 2026-09-21 10:16:44 +02:00
security Merge pull request #187 from microsoft/dcenic-validate-unauthenticated-responses 2026-09-16 09:50:14 +02:00
style Fix remaining correctness issues from Jesper's 2026-09-15 re-review 2026-09-21 22:26:51 +02:00
telemetry Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
testing Fix remaining correctness issues from Jesper's 2026-09-15 re-review 2026-09-21 22:26:51 +02:00
ui Add foundational AL developer knowledge (#195) 2026-09-21 10:15:39 +02:00
upgrade Add foundational AL developer knowledge (#195) 2026-09-21 10:15:39 +02:00
web-services Fix remaining correctness issues from Jesper's 2026-09-15 re-review 2026-09-21 22:26:51 +02:00
.gitkeep Add .gitkeep files to community and microsoft directories; remove .gitkeep from samples 2026-04-17 06:03:14 +02:00