In BC17, I have the following situation:
- Sales order was posted without a salesperson code, and therefore without a salesperson dimension;
- A sales return order is created *with* a salesperson code;
- Sales invoice lines are retrieved and populated on the sales return order.
The problem is that in this case, BC populates the salesperson code on the sales return order line from the header, but *does not* populate the relevant salesperson dimension on the lines (so we have a salesperson dimension on the header, but not on the lines). This logically results in a salesperson dimension error when posting.
This is caused by the salesperson having a dimension requirement of "Same Code". This does pose an issue, however, if the sales invoice was posted by a different salesperson than the sales return order and, in my view, it shouldn't.
In the "old" Copy Document, you had the option to either copy the header along with the lines or to recalculate the lines after transfer, either of which would ensure data consistency. This idea seems to be missing here.