web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Bug when sending a purchase order by email

(0) ShareShare
ReportReport
Posted on by

Hi,

I just found a Bug in the existing standard v19.4 Business Central code in the SendEmailInBackground() procedure of the Report Selections table.

The problem is that when a Purchase Order is sent by email to the Vendor, the ParamString filled in the Job Queue Entry is something like this string in ES version '6|106001|Pedido compra|10000|0||Vendor' and when it reaches this procedure, it has been shortened until it is equal to '0||Vendor', but since it does not coincide exactly with the literal 'Vendor' it spects, the email with the Purchase Order PDF ends up being sent to the Customer's email with the same No. as the Vendor's Order.

You can see the next debugger capture:

pastedimage1648465355713v1.png

Fortunately, I have been able to correctly intercept and modify this string in the OnSendEmailInBackgroundOnAfterGetJobQueueParameters() event, but it is a Bug that should be corrected as soon as possible due to the importance of sending an email to a totally wrong mailbox.

I have the same question (0)
  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    Hi

    Thanks for report this #bug here. Can you please ask your partner to report this bug to Microsoft?

  • JFuentes Profile Picture
    on at

    Hi MahGah,

    I am a senior Functional & Technical consultant currently working in an Spanish BC Partner, but I don't know how or where report the Bugs like this I am finding...

    In the past I have worked for an End-Customer with a proprietary solutions development license and had the exact same problem...

    I think Microsoft should open a channel to communicate BC Bugs to the entire developer community, whether or not they work for a Partner.

    Finally, the only place I've found where report this bugs is here... I hope someone in Microsoft can read it and solve this Bug.

  • Suggested answer
    MahGah Profile Picture
    15,529 on at

    Hi JFuentes

    thanks for info. I agree with you that all developers should be able to report a bug and not a partner. I have found the following link that only works for partner. But again looks like it is not straight forward process.

    I hope someone from Microsoft provide extra info here

    docs.microsoft.com/.../technical-support

  • JFuentes Profile Picture
    on at

    Hi Marco Mels ,  

    could you scale up this bug to BC Team please?

  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    The typical way to report bugs to Microsoft is not via community. The process is written here:

    docs.microsoft.com/.../technical-support

    If your company has a support plan, the owner of the partner contract should know how to raise support requests to Microsoft. This is usually done via Partner Center. I agree that this process is sometimes confusing as there are different partner contracts out there.

    Technical Consultants may want to report bugs internally within partner org first and then the contact person / contract owner can create a support request on your behalf. Not everyone is entitled within a partner org to reach out to Microsoft unless you have permissions to do so. This is how a lot of partners reach out to us and the process works fine. We may need to ask you to verify the scenario in an unmodified CRONUS company first without any extensions and also in latest CU (if possible).

    Thank you.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

News and Announcements

Season of Giving Solutions is Here!

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,630

#2
Khushbu Rajvi. Profile Picture

Khushbu Rajvi. 800 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 789 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans