Skip to main content

Notifications

Announcements

No record found.

Business Central forum
Suggested answer

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

Posted on by 35

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.

Categories:
  • Suggested answer
    DAnny3211 Profile Picture
    DAnny3211 9,217 Moderator on at
    RE: AL Program: how to trigger a receive posting of specific purchase line

    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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,558 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,645 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans