Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Consuming against the correct Ledger Entry for Return Shipments

Posted on by Microsoft Employee

Hi All,

In this scenario we have created a Production Order from a  sales order which was created from a Sales Return Order. When we consume the AS Item and look at the applied entries it is consuming against old stock and no the sales return receipt it was intended to be used for.

In the picture below the Sales Return Receipt (Entry No. 707567)  had WO-15019 created for it. We can see consumption done on the AS below (Entry No. 717263).  We consume an AS with a blank variant to create the same as with an RMA variant. 

djqowjdo.JPG

In the applied entry for the Output we can see it has entry no 

lol.JPG

Where in the code can I ensure the correct entry is applied? 

Thanks

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Consuming against the correct Ledger Entry for Return Shipments

    The solution was to set the "Applies-to Entry"  within the PostFLushedComsump function Codeunit 22.

  • Suggested answer
    Ahmed Mohamed Rafik Profile Picture
    Ahmed Mohamed Rafik 3,049 User Group Leader on at
    RE: Consuming against the correct Ledger Entry for Return Shipments

    Hi Lewishhh,

    You can view the applied entries by going to the above Ribbon, you will find "Applied Entires" button, click on it to see the applied entries related to the Entry.

    If you didn't see any entries, that means it is not yet applied to any related document.

    If this answer resolve your question, you can Click Yes to Verify the answer and share it with other community members.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans