WMS PCA 8.5 : Consolidate to shipment only in Created status

Technote (troubleshooting)

Problem(Abstract)

WMS PCA 8.5 : Consolidate to shipment only in Created status

Symptom

Consolidate to shipment in Created status only We are setting up a pipeline for a document type for which we will be using the transaction Consolidate to Shipment. The issue is, we don't want to keep adding releases to shipments once they are in Sent to Node status. Is there a way to configure the transaction or the shipment pipeline so that shipments in Sent to Node status are excluded from the findShipment query during consolidate to shipment?

Environment

WMS

Diagnosing the problem

Shipment sent to node is considered for consolidation.

Resolving the problem

Set the shipment's DoNotConsolidate attribute to Y during the Sent to Node.ON_SUCCESS event. This successfully prevents shipments in Sent to Node status from being considered for consolidation.