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

ETP-648: Collection error generated when cancelling an invoice related to several collections. #519

Open
juanfunes1996 opened this issue Oct 30, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@juanfunes1996
Copy link

Error's description

Payment error when canceling an invoice related to multiple orders. When generating the payment through the function APRM_GEN_PAYMENTSCHEDULE_INV, which belongs to the standard, it is observed that the issue does not occur during the accounting entry but rather during the generation of the payment lines, as it does not correctly link the orders with each line.

Steps to reproduce the error

  • Create several orders and make a payment of €10 for each one.
  • Generate an invoice that links both orders.
  • Cancel the generated invoice.
  • Observe the generated payment and its lack of relation with the orders.
  • Account for the payment and verify the entry generated in the clearing account.
  • Perform the same operation with an invoice related to a single order to verify the expected behavior.

I attach videos to the task

Expected behavior

When canceling an invoice related to multiple orders, the system should generate the payment correctly, maintaining the relationship between each payment line and the corresponding order.

Affected Version

Etendo Core: 24.3.1

Solution Design (optional)

Other test cases

Given:
When:
Then:

@juanfunes1996 juanfunes1996 added the bug Something isn't working label Oct 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant