Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

wrong return lot id when created return sales order by using arrival overview

Posted on by 160

I have a sales order (sales order number 000833) with one line of quantity 10, 5 pcs picked from B-01, and 5 pcs from B-02.

Image no.01 shown the sales order line transaction before post item arrival.

66382.png

 51148.png

I created a return sales order by using return sales order functionality with quantity 7.

When start arrival from arrival overview form, a new arrival journal will be created.

 

If we review the original sales order line transaction

Image no (2)

 51148.png

AX will try to match the quantity with asc with batch number, and fill return lot ID.

 

Now in the arrival journal I split the line of 7 by 4 because I want to return 3 pcs from B-01 and 4 pcs from B-02

If I will choose the batch it will show, the following (image no (3))

5417.png

Which is the transaction form original sales order (Mismatch with what I want ), I will ignaore the reference and quantity and choose B-01, B-02.

Then I will packing slip, and invoice the return sales order.

3681.png

Note> if we will check the return sales order AX, will automatically will divide the quantity as item arrival??????????? why

Now If we will see the original sales order the transaction still the same ???????????

Wrong behave

Image (4)

 

If I check the created sales order for return sales order , it will show the corrected transaction

6761.png3681.png

 

 

Many questions will be asked

  • Why ax divide the return sales order, and how I can distinguish between user input and AX?
  • The transaction from the original sales order is wrong with return lot id?????
  • From the original sales order how can I know which batch is returned , as example above B-01 5 PCS AS sold, 3 PCS returned?????????????
  • If I will delete the arrival journal AX will keep the two line which is different from what I created ? one line with quantity 7

 

 

  • Suggested answer
    Mohammad Ismail Profile Picture
    Mohammad Ismail 160 on at
    RE: wrong return lot id when created return sales order by using arrival overview

    Thank you very much.

    at the first glance i though that .

  • Guy Terry Profile Picture
    Guy Terry 28,621 Super User 2024 Season 2 on at
    RE: wrong return lot id when created return sales order by using arrival overview

    Hi

    Why do you think it is important that AX is assigning the Return Lot Ids to the transactions in the way you want. What do you think will go wrong if it does it the way it does?

    I'm not sure there is an easy way to determine from the original sales order whether it has been returned, and if it has, which batches were returned. When you use Find a sales order to create the lines on a Return order, the lines on the Return order have the LotId of the original order line to which they relate (field is SalesLine.InventTransIdReturn). Since both of the lines on your Return order are linked to a single original order line, they will both have the same value in InventTransIdReturn. So the link is there, just not easily visible through the front end.

    I think it is worth mentioning that if you create another Return order, for the remaining 3 (and if you use Find a sales order to create the Return order line), and you try to receive all 3 against B-02, AX will block you, since you cannot return 4 + 3 if you only sold 5:

    ReturnError.jpg

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,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans