bcquality/community/knowledge/performance
Stefano Demiliani 8373bc4717 fix(community/performance): correct httpclient and oncompanyopen good samples
httpclient-inside-write-transaction-holds-locks.good.al
- Pass Customer.RecordId as the last argument to CreateTask so the task
  is bound to the single customer that was written, not to all customers.
- Declare TableNo = Customer on the task codeunit so the platform loads
  the bound record into Rec automatically when OnRun executes.
- Replace the FindSet loop over all customers with Rec."No.", preserving
  the one-customer scope of the original SyncCustomerLastName procedure.

oncompanyopen-subscribers-must-not-do-io.good.al
- Replace Session.GetCurrentClientType() with Session.CurrentClientType(),
  the correct platform method name.
- Fix the idempotency check: TaskScheduler.TaskExists() requires a Guid,
  not a codeunit integer ID. Store the Guid returned by CreateTask in
  IsolatedStorage (DataScope::Company) under a fixed key; on the next
  login read it back as Text, Evaluate it to Guid, and pass that Guid to
  TaskExists so the type matches the method signature.
2026-08-21 14:42:47 +02:00
..
avoid-currpage-update-in-onaftergetrecord.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
avoid-currpage-update-in-onaftergetrecord.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
avoid-currpage-update-in-onaftergetrecord.md fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
batch-number-series-instead-of-getnextno-per-row.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
batch-number-series-instead-of-getnextno-per-row.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
batch-number-series-instead-of-getnextno-per-row.md fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
changecompany-in-loop-drops-caches.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
changecompany-in-loop-drops-caches.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
changecompany-in-loop-drops-caches.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
countapprox-for-progress-not-count.bad.al fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
countapprox-for-progress-not-count.good.al fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
countapprox-for-progress-not-count.md fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
dataaccessintent-readonly-on-analytical-objects.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
dataaccessintent-readonly-on-analytical-objects.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
dataaccessintent-readonly-on-analytical-objects.md fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
guiallowed-guard-on-pages-used-as-odata.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
guiallowed-guard-on-pages-used-as-odata.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
guiallowed-guard-on-pages-used-as-odata.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
httpclient-inside-write-transaction-holds-locks.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
httpclient-inside-write-transaction-holds-locks.good.al fix(community/performance): correct httpclient and oncompanyopen good samples 2026-08-21 14:42:47 +02:00
httpclient-inside-write-transaction-holds-locks.md fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
isempty-before-findset-is-extra-round-trip.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
isempty-before-findset-is-extra-round-trip.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
isempty-before-findset-is-extra-round-trip.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
oncompanyopen-subscribers-must-not-do-io.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
oncompanyopen-subscribers-must-not-do-io.good.al fix(community/performance): correct httpclient and oncompanyopen good samples 2026-08-21 14:42:47 +02:00
oncompanyopen-subscribers-must-not-do-io.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
page-background-tasks-for-expensive-cues.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
page-background-tasks-for-expensive-cues.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
page-background-tasks-for-expensive-cues.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
pass-var-record-to-preserve-partial-load-enumerator.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
pass-var-record-to-preserve-partial-load-enumerator.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
pass-var-record-to-preserve-partial-load-enumerator.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
prefer-related-table-over-extension-on-hot-ledgers.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
prefer-related-table-over-extension-on-hot-ledgers.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
prefer-related-table-over-extension-on-hot-ledgers.md fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
query-results-bypass-primary-key-cache.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
query-results-bypass-primary-key-cache.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
query-results-bypass-primary-key-cache.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
reset-clears-partial-record-selection.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
reset-clears-partial-record-selection.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
reset-clears-partial-record-selection.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
skip-setloadfields-on-write-and-transferfields.bad.al fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
skip-setloadfields-on-write-and-transferfields.good.al fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
skip-setloadfields-on-write-and-transferfields.md fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
use-dedicated-lookup-pages-not-full-lists.bad.al fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
use-dedicated-lookup-pages-not-full-lists.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
use-dedicated-lookup-pages-not-full-lists.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
validate-on-partial-record-forces-jit.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
validate-on-partial-record-forces-jit.good.al fix(community/performance): address PR #134 review comments 2026-08-21 14:24:36 +02:00
validate-on-partial-record-forces-jit.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
visible-false-does-not-skip-page-field-cost.bad.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
visible-false-does-not-skip-page-field-cost.good.al knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00
visible-false-does-not-skip-page-field-cost.md knowledge(performance): add community rules for JIT, locks, and false positives 2026-08-20 15:57:58 +02:00