The tsoSOLine POLineKey is populated with the purchase order line key that is generated for the sales order. The purchase order does not contain any link to the sales order line, therefore no warning will occur when the purchase order is canceled - this will be an enhancement to purchase order.

When the purchase order is canceled it doesn't remove the POLineKey value from the tsoSOLine as there is no connection on the purchase order side.

Ideally, if the Purchase Order was cancelled, the Sales Order should be able to be cancelled if that was the only line item on the Sales Order.

Comments