New request for Codeunit 700
I need to add Global function in codeunit 700. I've tried creating an Integration Event in C/AL and calling it in AL but it throws error. How to resolve these?


Have you regenerated the application symbols using C/SIDE as described here: https://docs.microsoft.com/en-us/dynamics-nav/developer/devenv-running-cside-and-al-side-by-side ?
Yes I've done that
On 16 Feb 2018 1:54 p.m., "Stanislaw Stempin" [email protected] wrote:
Have you regenerated the application symbols using C/SIDE as described here: https://docs.microsoft.com/en-us/dynamics-nav/developer/ devenv-running-cside-and-al-side-by-side ?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/AL/issues/1608#issuecomment-366171550, or mute the thread https://github.com/notifications/unsubscribe-auth/AXt_ebeE7OfTX7YwGNqJIqTzVRAQ3Kbnks5tVTstgaJpZM4SH9qe .
Can you show the signature of the new global function that you added in codeunit 700? Is it an Integration Event? Does it have parameter named RecordRef?
For the second error - you cannot have a return value for event subscribers. Delete the : Integer; part
I deleted the Integer part and it worked.