Location code in Copy Document
When you copy a purchase document with the standard Copy Document function, you can specify a new location to assign to the target document. This way you don't need to change the location manually on the header and on every line after copying.
- Open a purchase document (for example a purchase order, invoice or credit memo).
- Choose the Copy Document action.
- On the options page you will find the new New Location Code field, right after the vendor name.
| Field | Description |
|---|---|
| New Location Code | Location to assign to the purchase document created by the copy. You can choose a value from the list of locations. If you leave it blank, the copy keeps the locations of the source document. |
- From the target purchase document, choose Copy Document.
- Select the type and number of the document to copy and the other options as usual.
- In the New Location Code field, select the location you want.
- Choose OK.
- If a new location code is specified, it is set on the header of the target document.
- The same location code is also set on every copied line, replacing the one from the source document.
- Setting the location triggers the standard Business Central checks and updates related to a change of location.