We have one VM App server (running Live, Pilot, Test) and one VM DB server (running Live, Pilot, Test, and a single live Manifest 4 DB).
We have upgraded Pilot to 10.2.400.x and are testing it. During testing, Manifest throws an error (It seems that the pack list in Pilot is conflicting with the already entered pack list from live). The resolution from Epicor is to run the below purge script (which will wipe my live Manifest tables, correct?). Does this seem like a wise thing to do? Does it matter that I wipe Manifest with this script?
declare @createdate DateTime = ‘7/07/2020 12:00:00 AM’
delete Container where [ShipmentId] in (select ShipmentId from Shipment where CreateDate < @createdate)
delete ShipmentLine where ShipmentId in (select ShipmentId from Shipment where CreateDate < @createdate)
delete ShipmentCarrierOption where ShipmentId in (select ShipmentId from Shipment where CreateDate < @createdate)
delete ShipmentHistory where ShipmentId in (select ShipmentId from Shipment where CreateDate < @createdate)
delete BOLLine where [BOLHeaderId] in (select BOLHeaderId from BOLHeader where PrimaryShipmentId in(select ShipmentId from Shipment where CreateDate < @createdate))
delete BOLHeader where PrimaryShipmentId in(select ShipmentId from Shipment where CreateDate < @createdate)
delete ShipmentAllocation where ShipmentId in(select ShipmentId from Shipment where CreateDate < @createdate)
delete ContainerContent where [ContainerId] in (select ContainerId from Container where [ShipmentId] in (select ShipmentId from Shipment where CreateDate < @createdate))
delete ContainerContentDetail where [ContainerContentId] in (select ContainerContentId from ContainerContent where [ContainerId] in (select ContainerId from Container where [ShipmentId] in (select ShipmentId from Shipment where CreateDate < @createdate)))
delete Shipment where CreateDate < @createdate