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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Trying to create a vendor purchase invoice but Suggested Line Items mapping going wrong?

(0) ShareShare
ReportReport
Posted on by 10

Hello,

I am using the outlook add-in for Microsoft business central (on premises) to create a vendor purchase invoice. I am trying to utilize the "Suggested Line Items" feature which reads the email body and grabs the item details and creates lines from those details. Currently, It is only mapping 'Item Name', 'Item Description' and 'quantity' and it is ignoring rest of the details. For my scenario, getting the 'item unit price' is very crucial which is missing out in the Suggested line items. 
What I want to know is if the suggested line item actually fetches the unit price or its just the three headers i.e item name, description and quantity? 
and if it fetches the unit price, what type of email body template should I use?
I just can't seem to figure out how the text is being parsed here. The add-in documentation wasn't very helpful on this topic.
A little help would be appreciated.
Thank you.


pastedimage1672315951990v1.png

I have the same question (0)
  • Suggested answer
    Marco Mels Profile Picture
    on at

    Hello,

    There is a fair amount of logic which parses and determines which items to promote as suggested lines in AL, part of based application:

    OfficeLineGeneration.Codeunit.al

    You or your partner might consider subscribing to the OnBeforeCreateLinesBasedOnQuantityReferences event and control better which text is promoted to which items.

    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

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 3,226

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 2,047 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,257 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans