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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

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

(0) ShareShare
ReportReport
Posted on by 162

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

 

 

I have the same question (0)
  • Guy Terry Profile Picture
    28,924 Moderator on at

    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

  • Suggested answer
    Mohammad Ismail Profile Picture
    162 on at

    Thank you very much.

    at the first glance i though that .

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 522 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans