1) For example, if we create a Sales Order with Delivery Via (deliveryviarule) set to 'Shipper', then we use that SO to create a PO (by 'Generate PO From Sales Order' function), then we see that the PO now has its deliveryviarule field set to 'Pickup'. It seems like this should instead carry over the deliveryviarule value from the SO to the PO, and I wonder if just some code should be added to the OrderPOCreate class to make this happen, or if there was a business reason to not do so...?
2) Also, I have a related question about the c_order.ordertype field:
Although I can see the c_order.deliveryviarule values for SO or PO within the Postgres tables, I noticed that it does not display on the PO WTF.
I see that its Display Logic is set as "@OrderType@='SO' | @OrderType@='PO'" while the c_order.ordertype value seems to always be NULL.
(BUT this does not explain to me why I can see 'Delivery Via' on the SO WTF, when Display Logic is set as "@OrderType@='SO'", but again c_order.ordertype is NULL)
I looked at the SchemaSpy description for c_order.ordertype field:
"Type of Order: MRP records grouped by source (Sales Order, Purchase Order, Distribution Order, Requisition)"
...but that still has me confused why I always see c_order.ordertype as NULL, but the Display Logic for c_order.deliveryviarule doesn't seem to be consistent for PO vs SO.
I hope that makes sense - I'm feeling very confused over here, if anyone can help shed light for us.
Thank you,
Carlin