microsoft / ALAppExtensions

Repository for collaboration on Microsoft AL application add-on and localization extensions for Microsoft Dynamics 365 Business Central.
MIT License
748 stars 600 forks source link

[Bug]: VOID PO – Export (page 7000061) - Spanish Location error #26793

Open NekaneBachillerMayoral opened 4 days ago

NekaneBachillerMayoral commented 4 days ago

Describe the issue

When running the report request page VOID PO – Export (page 7000061) on a currency Payment Order you get an error caused by the currency.

The error is

Error message:
Currency Code must be equal to '' in Bank Account: No.=GRENVABAES0088USD. Current value is 'USD'.

Expected behavior

As the option of creating currency payment orders could be enabled, it is necessary to could Void de export action as well

Steps to reproduce

  1. Mark the option SEPA Non-Euro Export in the General Ledger Setup
  2. On a selected currency, mark the check Payment Orders
  3. On a bank account card fill the Currency Code field
  4. Create a Payment Order for this bank account
  5. In the payment order mark the option Export Electronic Payment
  6. Export the file of the Payment order using the button Export to File
  7. Run the Void PO - Export report
  8. Get the error VOID PO.docx

Additional context

Spanish location

I will provide a fix for a bug