ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Protection Level] Record::"Cust. Ledger Entry" - Function ShowDocuments OnBeforeShowDoc and OnAfterShowDoc remove local

Open SWE-Tina opened this issue 6 years ago • 2 comments

SWE-Tina avatar Nov 02 '20 13:11 SWE-Tina

OnBeforeShowDoc and OnAfterShowDoc are integration events and must be local. You can subscribe to these events but cannot call them directly.

AlexanderYakunin avatar Nov 09 '20 15:11 AlexanderYakunin

You are right (sorry haven't checked the request of my colleague correctly). Event OnBeforeShowDoc can be used and code placed in the subscriber with setting Ishandled = true.

SWE-Tina avatar Nov 20 '20 13:11 SWE-Tina