bcquality/community/knowledge
waldo1001 4bd52abf98 knowledge(events): ChangeCompany leaves triggers and trigger-event subscribers running in the calling company
ChangeCompany redirects only the data access of a record variable; Learn states that triggers still run in the current company. The database trigger events are raised on every database operation and only pass RunTrigger to the subscriber, so Insert(false) after ChangeCompany still runs every subscriber in the calling company. Generated code either assumes the record 'becomes' a target-company record, or switches RunTrigger off and hand-copies the trigger logic, leaving the subscribers writing to the wrong company; none of the tested runs reached StartSession with the company parameter.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 11:20:56 +02:00
..
agents Improve partner onboarding and documentation navigation (#174) 2026-09-09 17:31:03 +02:00
appsource Add AL-focused AppSource validation guidance (#142) 2026-09-14 12:42:45 +02:00
events knowledge(events): ChangeCompany leaves triggers and trigger-event subscribers running in the calling company 2026-09-15 11:20:56 +02:00
.gitkeep Add .gitkeep files to community and microsoft directories; remove .gitkeep from samples 2026-04-17 06:03:14 +02:00