bcquality/microsoft/skills/review
Michael Dieringer db9c0f275a Fix remaining correctness issues from Jesper's 2026-09-15 re-review
- use-generateguid-for-unique-test-fixture-values.md: narrowed the
  collision rule to primary-key/unique-lookup fields - an ordinary
  descriptive field carries no uniqueness constraint, so a hardcoded
  or deterministic value there isn't the anti-pattern (the article and
  its al-testing-review.md worklist cue both said "primary-key or
  descriptive field"). Also corrected GenerateRandomCode: it opens its
  target table as a temporary RecordRef that starts and stays empty,
  so its repeat/until loop always exits after one iteration and never
  retries even within a single test run - the "non-colliding within a
  test run" claim was false. It's the rightmost N characters of
  GenerateGUID()'s sequential series, so a short field's value cycles
  (Code[1] repeats every 10 calls, Code[2] every 100). Verified against
  LibraryUtility.Codeunit.al in the BCApps reference clone.
- item-ledger-entry-document-no-follows-last-shipping-no: both
  fixtures called FindSet() without consuming its optional Boolean,
  which raises a runtime error on an empty result set - the opposite
  of the article's own claimed "silently matches zero rows, no error"
  behavior. Wrapped in `if ... then;` per the existing
  guard-database-reads.good.al idiom.
- al-data-modeling-review.md: widened both not-applicable scope
  clauses (intro and outcome) to include dimension wiring, posting-
  routine structure, and Item Ledger Entry document-number lookups -
  the leaf declared itself not-applicable outside setup/master/key/
  numbering/block/audit surfaces despite having a targeted cue for
  this PR's own new article.
- Converted this PR's 8 plain-backtick "See sample: `x.good.al`."
  references (across all 4 new articles) to the READ-convention
  markdown-link form required by Knowledge-Retrieval.ps1.

Rebased onto upstream/main (one conflict in al-data-modeling-review.md
intro wording, merged).
2026-09-21 22:35:42 +02:00
..
al-appsource-review.md Add AL-focused AppSource validation guidance (#142) 2026-09-14 12:42:45 +02:00
al-breaking-changes-review.md Add bounded knowledge retrieval (#179) 2026-09-11 12:35:31 +02:00
al-code-review.md Add source-verified Finance knowledge and review domain (#57) 2026-09-21 10:20:41 +02:00
al-data-modeling-review.md Fix remaining correctness issues from Jesper's 2026-09-15 re-review 2026-09-21 22:35:42 +02:00
al-error-handling-review.md Add bounded knowledge retrieval (#179) 2026-09-11 12:35:31 +02:00
al-events-review.md knowledge(events): ChangeCompany leaves triggers and trigger-event subscribers running in the calling company (#152) 2026-09-15 12:34:28 +02:00
al-finance-review.md Add source-verified Finance knowledge and review domain (#57) 2026-09-21 10:20:41 +02:00
al-interfaces-review.md Add foundational AL developer knowledge (#195) 2026-09-21 10:15:39 +02:00
al-performance-review.md Add Job Queue reliability and scheduling guidance (#148) 2026-09-14 12:44:30 +02:00
al-privacy-review.md Add bounded knowledge retrieval (#179) 2026-09-11 12:35:31 +02:00
al-query-review.md Add query filter semantics guidance (#186) 2026-09-15 12:51:15 +02:00
al-reporting-review.md Add reporting review guidance and evaluation fixtures (#183) 2026-09-15 10:38:32 +02:00
al-scm-review.md Add SCM functional knowledge domain (#192) 2026-09-21 10:16:44 +02:00
al-security-review.md Add bounded knowledge retrieval (#179) 2026-09-11 12:35:31 +02:00
al-style-review.md Clarify locale-safe DateFormula Evaluate inputs (#193) 2026-09-21 10:16:07 +02:00
al-telemetry-review.md Add bounded knowledge retrieval (#179) 2026-09-11 12:35:31 +02:00
al-testing-review.md Fix remaining correctness issues from Jesper's 2026-09-15 re-review 2026-09-21 22:35:42 +02:00
al-ui-review.md Add foundational AL developer knowledge (#195) 2026-09-21 10:15:39 +02:00
al-upgrade-review.md Add foundational AL developer knowledge (#195) 2026-09-21 10:15:39 +02:00
al-web-services-review.md Add bounded knowledge retrieval (#179) 2026-09-11 12:35:31 +02:00