Add TableRelation field-length and RecordRef.Open Temp knowledge

- data-modeling: tablerelation-field-length-must-match-related-field
  (exact length for unconditional relations, at least the longest target
  when all relations are conditional; no compile-time diagnostic)
- testing: recordref-open-temp-parameter-defeats-real-table-checks
  (a temp-opened RecordRef is empty, so existence/uniqueness checks on it
  never see persisted rows; cross-links use-generateguid article)
- Wire both into the review leaves and register the fixture pairs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Michael Dieringer 2026-10-01 23:18:10 +02:00
parent fd59919778
commit 260d064ece
9 changed files with 248 additions and 6 deletions

View file

@ -25,6 +25,7 @@
"pictures-must-use-media-not-blob",
"report-barcodes-must-use-barcode-module-and-production-font-name",
"table-design-must-match-bc-table-type-conventions",
"tablerelation-field-length-must-match-related-field",
"transferfields-mirrored-fields-must-match-type-and-length"
]
},
@ -152,7 +153,8 @@
"test-one-when-per-test",
"transactionmodel-attribute-governs-test-transactions",
"ui-test-codeunit-naming",
"use-assert-isfalse-not-asserterror-for-boolean-checks"
"use-assert-isfalse-not-asserterror-for-boolean-checks",
"recordref-open-temp-parameter-defeats-real-table-checks"
]
},
"ui": {