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

Codeunit 12216 "Service Declaration Mgt. IT" event OnBeforeAddLines - filters on var VATEntry #28195

Open
NoemiAlpestreHorsa opened this issue Feb 21, 2025 · 0 comments

Comments

@NoemiAlpestreHorsa
Copy link

Describe the request

In Codeunit 12216 "Service Declaration Mgt. IT" the event "OnBeforeAddLines" uses the same VAT Entry variable for two loops with different logics, resulting in the loss of the filters applied in the first loop.

This is the second loop, which searches for the VAT entries of the related transactions. It should use a second VAT Entry variable.
The same error is present in the purchases section as well.

Image

Image

Additional context

The loss of filters in the main VAT entries loop causes only a single Service Declaration line to be generated.

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