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

AL Program: how to trigger a receive posting of specific purchase line

(1) ShareShare
ReportReport
Posted on by 37

Hi all expert, by AL programming any hint how to to trigger a receive posting of specific purchase line?

Are there a trigger or function to post receive of specific purchase line by provide doc no., line no., qty to receive

Or post receive the whole purchase order but change all other line qty to receive = 0 beforehand?

Any advice welcome and thanks.

I have the same question (0)
  • Suggested answer
    DAnny3211 Profile Picture
    11,423 Super User 2026 Season 1 on at

    Hi

    I would say that you can safely latch on to this Codeunit Purch-Post event:

    In this event you reset the quantity to be received of the rows you don't want to register, leaving only the one you need valorised.

    pastedimage1666771978902v1.png

    Verify and Check my answer if it satisfied you

    DAniele

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,028 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 1,366 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 1,175 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans