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

Announcements

News and Announcements icon
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
    Microsoft Employee 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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 647 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 447 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 366 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans