M_InOut.copyfrom not pulling complete data

Description

Created a new SO with HQ Transit warehouse and the DS flag set to "Y", Shipper = "UPS". Completed record
Generate PO from SO process with Drop Ship = "Y" in the parameters along with my SO
Verified on the PO that DS= "Y" and Shipper = "UPS", completed PO
Created new MR, used the 'Create lines from' button and selected correct PO, verified DS flag = "Y", completed record
From the "Process" icon, selected the 'Generate Invoice From Receipt'
Opened the new Invoice, verified data and completed record.
From the SO, zoomed to the Shipment (Customer) record, on there the "Shipper" changed from 'UPS' to 'Pickup' and the DS flag now = "N".

Adding comments from Dirk Niemeyer (thank you for your help)

As far as I can see in the sources MInOut.createDropShipment is called
when completing the Receipt and flag DropShipment is set.

This is using MInOut.copyFrom to create the customer shipment which
seems not to copy DeliveryViaRule and related data.

Also createDropShipment is explicitely setting isDropShip to false.
Otherwise you would see the field DropShipBusinessPartner with the
related fields for location and contact in the customer shipment - which
makes no sense to me.

Here is the link to the group chat. https://groups.google.com/forum/#!msg/idempiere/eboUIsHkUpo/yQ_Eck0dj9IJ

Environment

None

Activity

Show:
PatricG
June 25, 2020, 9:11 AM

reproduced by Patric Massing

I followed the instructions above.

Assignee

Unassigned

Reporter

Jason Martin

Labels

Tested By

None

Affects versions

Priority

Major
Configure