Welcome to the Event Publishers Tool for Microsoft Dynamics365 Business Central!
Enhance your AL code with our automated event publisher injection tool. With just a few clicks, you can add event publishers to your procedures, making your development process smoother and more efficient.
Features:
- Automatically adds event publishers to AL procedures.
- Handles procedures with various parameters and return types.
- Intuitive and easy to use.
Instructions:
- Download the Demo_AddEventPublishers_v2.exe file.
- Run the executable on your machine.
- Follow the on-screen prompts to select your AL files folder that can include subfolders.
- Let the tool process your files and add the necessary event publishers.
- Review the changes and integrate them into your project.
Sample Transformations:
Before:
procedure MyProcedure(Item: Record Item): Integer
begin
// Your code here
end;
After with “_XYZ” suffix included (optional):
procedure MyProcedure(Item: Record Item): Integer
var
ReturnValue: Integer;
IsHandled: Boolean;
begin
IsHandled := false;
OnBeforeMyProcedure_XYZ(Item, ReturnValue, IsHandled);
if IsHandled then
exit(ReturnValue);
// Your code here
OnAfterMyProcedure_XYZ(Item, ReturnValue);
end;
[IntegrationEvent(false, false)]
local procedure OnBeforeMyProcedure_XYZ(var Item: Record Item; var ReturnValue: Integer; var IsHandled: Boolean);
begin
end;
[IntegrationEvent(false, false)]
local procedure OnAfterMyProcedure_XYZ(var Item: Record Item; var ReturnValue: Integer);
begin
end;
Environment Limitations:
Currently, the tool is optimized for Windows environments and may not work as expected on other operating systems. Ensure you have the necessary permissions to run executables on your machine.
Download:
Download Demo_AddEventPublishers_v2.exe
Note: This is a demo version that processes up to 2 files. For the full version or any inquiries, please contact us.