NAV 2013 Create Return related documents - sales order

Hi,

When we raise a return order we 95% of the time book the stock to the DEFECT warehouse as the items are damaged and are being scraped. We are using the return related documents to create a new sales order for the customer to send out the replacement. However this order needs the stock to come out of the MAIN warehouse. When we use the return related document, it copies across the line and is booking the order to the DEFECT warehouse. Any thoughts on how I can change this or is this standard?

Thanks :slight_smile:

Did you try changing the location on header and lines.

Well this is fine on the individual sales orders, but I need a more permanent fix so that when they create a sales order using the return related document it will automatically assign to the MAIN warehouse.

But is this going to happen for all documents or only some.

all item lines on any sales orders need to have Location code MAIN

Then you will have to customized it as required.

Change the location code of customer card as “Main Warehouse”

This

will not help, if Copy Document is used, as location will be copied from RO, not CustomerCard.

If you REALLY do not want to simply change Loc after copying (which takes a couple of seconds), only a mod can help. It is not so easy to code as it looks like --therefore will not be cheap-- and obviously will have many unwanted side effects.

What you are asking for, is not a good practice, because involves hardcoded Location code - what if you rename MAIN or add more locations in future?

I suppose that only some damaged Item(s) from initial SO happen to be returned, but if the SO is returned in full, you may consider CopyDoc from Posted SO.