Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Procedure and event request] Report 394: Suggest Employee Payments - IncludeEmployee procedure #27904

Open
rubi-rtr opened this issue Jan 9, 2025 · 0 comments

Comments

@rubi-rtr
Copy link

rubi-rtr commented Jan 9, 2025

Describe the request

We would like to request the addition of a new procedure in Suggest Employee Payments, similar to the "IncludeVendor" procedure in Suggest Vendor Payments.

Image

Image

` local procedure IncludeEmployee(Employee: Record Employee; EmployeeBalance: Decimal) Result: Boolean
begin
Result := EmployeeBalance> 0;

    OnAfterIncludeEmployee(Employee, EmployeeBalance, Result);
end;`

[IntegrationEvent(false, false)] local procedure OnAfterIncludeEmployee(Employee: Record Employee; EmployeeBalance: Decimal; var Result: Boolean) begin end;

Thank you!

Additional context

The reason for this request is that we need to add an additional boolean filter, and we believe this is the most suitable place, as we have already implemented a similar solution for Suggest Vendor Payments.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant