microsoft / ALAppExtensions

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

[Bug]: Filter for related Check Ledger Entry from Bank Acconut Ledger Entry #25949

Closed lkatrei closed 8 months ago

lkatrei commented 8 months ago

Describe the issue

Hi,

we created our own functionality for the creation and handling of "Check Ledger Entry" and tried to allign it as much as possible with Business Central standard. In BC standard "Check No." and "Document No." are the same. In our case "Check No." is also filled from "Last Check No. used" from "Bank Acconut", but "Document No." is filled through a numberseries. When creating and posting a bank account ledger entry and trying to find and connect it with the created check ledger entry, the entry can not be found, as the SetRange is set on "Check No." instead of "Document No.

Expected behavior

Suggestion: the marked CheckLedgerEntry (procedure PostBankAcc in codeunit "Gen. Jnl.-Post Line" should be filtered on "Document No." instead of "Check No." (replace CheckLedgEntry.Setrange("Check No.", "Document No." with CheckLedgEntry.Setrange("Document No., "Document No.");) grafik

Steps to reproduce

Additional context

No response

I will provide a fix for a bug

JesperSchulz commented 8 months ago

That sounds like a product defect! Unfortunately, this repository is only for extensibility requests for Dynamics 365 Business Central or pull requests towards the 1st party Business Central apps. We suggest that you open a support case or file a bug to ensure that all Business Central users benefit from your catch as soon as possible:

On premises - https://support.microsoft.com/en-us/supportforbusiness/productselection?sapId=93d37907-ad94-d591-22e9-593cfa09dd3f

Cloud – contact your partner, or if you are a partner open a support incident through Partner Center - https://partner.microsoft.com/en-us/pcv/dashboard/overview