---
title: "Step 5: Order Completed for Transport—Order-to-Cash Log Event Example"
description: "Explore step 5 of Order-to-Cash: warehouse order packing completion. Discover the XML message format, packing details, tracking numbers, and how Log Events track the Logistics domain transition."
---

# 5. Order Completed for Transport

**Step 5** occurs when warehouse operations have packed the order and it is ready for shipment. This step confirms that the warehouse has picked, validated, packed, and labeled all items for transport. The [Log Event][JSON formatted Log Event] for this step is the first one in the Logistics [Domain][Domains].

![Ready for Transport step of order ORD-10005 in BPM Log Search: Show Details on its event, then Context Values with the file name, order number, customer, amount, and Repository Binding, animated walkthrough (7.12)][1]  
*Animated walkthrough: in [BPM Log Search][Search log events from a BPM], open **Show Details** on the *Order Completed for Transport* event of order `ORD-10005` (Tailspin Toys), then the **Context Values** tab with the step's business data. The walkthrough shows ORD-10005; the examples below use order 1.*  

## <i class="fal fa-diagram-project" aria-hidden="true"></i> Understanding Step 5

<div class="mermaid">
graph LR
    Prev["fa:fa-calendar Step 4: Order Planned<br/>ERP (Planning)"] --> This["fa:fa-box Step 5: Order Ready<br/>WMS (Logistics)"]
    This --> Next["fa:fa-truck Step 6: Order Delivered<br/>WMS (Logistics)"]
    This -->|"Log Event<br/>O2C.Order.Ready/1.0"| LogAPI["fa:fa-cloud-arrow-down Log API"]
    style Prev fill:#2678BD
    style This fill:#E47528
    style Next fill:#2678BD
    style LogAPI fill:#3F827B
</div>

*Step 5 (orange) moves the order from Planning to Logistics: it follows the production schedule, precedes delivery (blue), and logs to the [Log API][] (teal).*

### Message Details

* **Message Type**: `O2C.Order.Ready/1.0` ([Message Types][])
* **Domain**: Logistics ([Domains][])
* **System**: WMS ([Systems][])
* **Service**: INT1337-PKG-Order-Packed ([Services][])
* **Direction**: Send (outgoing from WMS)
* **Format**: XML
* **Log Status**: `0` (Success); `-1337` on the Send event when the order stops at this step
* **Timing**: In the generated data, 30-300 seconds after Step 4

### Log Events in This Step

Step 5 logs two [Log Events][] with the same `Body`. Only the business event appears in the [BPM][BPMs], where it shows as **Ready for Transport**.

|SequenceNo (sent)|Service|Direction|EndPointName|Message Type|LogText|In BPM|
|---|---|---|---|---|---|---|
|9|INT1337-RCV-Packing-Incoming|Receive|WMS-Packing-Receive|`O2C.Forwarding/1.0`|Packing Request Received|❌ No|
|10|INT1337-PKG-Order-Packed|Send|WMS-Packing-Send|`O2C.Order.Ready/1.0`|Order Completed for Transport|✅ Yes|

The demo sends `SequenceNo` 1 to 14 per order. <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> keeps that value as the event's `ServiceInstanceSequenceNo` and gives the event its own [SequenceNo][JSON formatted Log Event], a running number in the [Log Database][Log Databases].

### Business Data (Happy Path)

The data of the order from Step 1, here order 1. Other orders carry their own customer, product, quantity, and total, the same in every step (see [Generate O2C Demo Data][O2C Demo Customers]):

* **Order ID**: `ORD-10001` (same as source order)
* **Customer ID**: `CUST-001`
* **Product SKU**: `SKU-DEMO-001`
* **Quantity**: `1`
* **Order Total**: `USD 99.95`

## <i class="fal fa-file-code" aria-hidden="true"></i> Sample XML Message

This is the raw message payload that the Log Event carries base64-encoded in its `Body` field.

```xml
<?xml version="1.0" encoding="utf-8"?>
<OrderPacking xmlns="http://schemas.Contoso.example/O2C/1.0">
  <PackingHeader>
    <PackingId>PKG-2025-10001</PackingId>
    <OrderId>ORD-10001</OrderId>
    <PackingDate>2025-10-16T16:45:30Z</PackingDate>
    <PackingStatus>COMPLETED</PackingStatus>
    <Warehouse>WH-01</Warehouse>
    <Zone>ZONE-A</Zone>
  </PackingHeader>
  <Customer>
    <CustomerId>CUST-001</CustomerId>
    <CustomerName>Contoso Corporation</CustomerName>
    <ShippingAddress>100 Commerce Drive, Suite 100, Springfield, IL 62701</ShippingAddress>
  </Customer>
  <PackedItems>
    <PackedItem>
      <LineId>1</LineId>
      <SKU>SKU-DEMO-001</SKU>
      <Description>Demo Widget</Description>
      <OrderedQuantity>1</OrderedQuantity>
      <PackedQuantity>1</PackedQuantity>
      <SerialNumber>SN-DW-202510001</SerialNumber>
      <Condition>NEW</Condition>
    </PackedItem>
  </PackedItems>
  <ShipmentInfo>
    <TrackingNumber>TRK-20251016-10001</TrackingNumber>
    <Carrier>Standard Courier</Carrier>
    <ShippingMethod>GROUND</ShippingMethod>
    <EstimatedDeliveryDate>2025-10-21</EstimatedDeliveryDate>
    <ShipmentWeight>5.0</ShipmentWeight>
    <WeightUnit>LBS</WeightUnit>
  </ShipmentInfo>
  <OrderTotal>99.95</OrderTotal>
  <Currency>USD</Currency>
</OrderPacking>
```

## <i class="fal fa-database" aria-hidden="true"></i> Nodinite Log Event (JSON formatted)

This step creates a Log Event that the demo sends to the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Log API][]. See [Log Event Reference][] for the O2C Log Event structure, and [JSON formatted Log Event][] for every field.

### Context Properties (Business Data)

The [Context Options][] carry the business data and the [Repository Binding][]:

```json
{
  "FileName": "ORD-10001-order-completed-for-transport.xml",
  "OrderNumber": "ORD-10001",
  "CustomerId": "CUST-001",
  "CustomerName": "Contoso Corporation",
  "OrderAmount": "99.95",
  "ExtendedProperties/1.0#RepositoryBinding": "..."
}
```

The PackingId, TrackingNumber, and carrier stay in the message body, not in the Context.

## <i class="fal fa-file-lines" aria-hidden="true"></i> View the Message in Nodinite

With the demo [Stylesheet][O2C Stylesheet] installed, users read this XML message as a packing slip. In the BPM Viewer, or a [Log View][O2C Log Views], open **Action** on the *Order Completed for Transport* event and choose **View message formatted as 'O2C - View Order Ready'**.

![Packing Slip PKG-2025-10005 rendered by the O2C - View Order Ready Stylesheet (7.13)][2]  
*The message rendered by the XSLT [Stylesheet][O2C Stylesheet]: warehouse, ship-to, carrier and tracking number, and the packed items with serial numbers.*  

## <i class="fal fa-lightbulb" aria-hidden="true"></i> Key Points for Step 5

1. **Logistics Domain Entry**: First appearance of the WMS system, bringing logistics awareness (Index 2, Step 4)
2. **Tracking Information**: The TrackingNumber enables customer visibility and last-mile tracking
3. **Domain Transition**: Major transition from the Planning to the Logistics domain
4. **XML Warehouse Format**: XML provides structured warehouse operations data (locations, picking, packing)
5. **Correlation Persistence**: The same Correlation ID keeps full traceability
6. **ServiceRelations**: The Receive event's `ExternalServiceRelations` links back to the Step 4 Send Service (`INT1337-PLN-Order-Scheduled`, ERP), showing that schedule data drives packing operations; the BPM `ServiceRelations` points forward to Step 6 (`INT1337-RCV-Order-Delivered`)

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-palette" aria-hidden="true"></i> [Order Ready Stylesheet][O2C Stylesheet] — Render this message as a packing slip  
* <i class="fal fa-arrow-right" aria-hidden="true"></i> [6. Order Delivered][] — Continue to Step 6 to see order delivery and proof of delivery  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-arrow-left" aria-hidden="true"></i> [4. Order Planned][] — Previous step showing production scheduling  
* <i class="fal fa-house" aria-hidden="true"></i> [Order-to-Cash Process Demo][] — Overview of the complete 7-step demo process  
* <i class="fal fa-file-code" aria-hidden="true"></i> [Log Event Reference][] — The O2C Log Event structure  

[1]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/O2C_Step5_OrderReady.gif
[2]:https://docs.nodinite.com/media/Documentation%20Pictures/IM/WebClient/Repository/BPMs/O2C/O2C_Stylesheet_5-Order-Ready.png

[4. Order Planned]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/4-order-planned/
[6. Order Delivered]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/6-order-shipped/
[BPMs]:https://docs.nodinite.com/repository-model/bpms/overview/
[Context Options]:https://docs.nodinite.com/core-services/log-event/features/context-options/
[Domains]:https://docs.nodinite.com/repository-model/domains/overview/
[JSON formatted Log Event]:https://docs.nodinite.com/core-services/log-event/features/json-log-event/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Databases]:https://docs.nodinite.com/administration/settings/log-databases/overview/
[Log Event Reference]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/o2c-log-event-structure/#log-event-reference
[Log Events]:https://docs.nodinite.com/core-services/log-event/overview/
[Message Types]:https://docs.nodinite.com/repository-model/message-types/overview/
[O2C Demo Customers]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/generate-o2c-demo-data/#fa-users-customers-products-and-grouping
[O2C Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[O2C Stylesheet]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/stylesheets/5-order-ready/
[Order-to-Cash Process Demo]:https://docs.nodinite.com/repository-model/bpms/examples/order-to-cash/overview/
[Repository Binding]:https://docs.nodinite.com/core-services/log-event/features/repository-binding/
[Search log events from a BPM]:https://docs.nodinite.com/getting-started/repository/bpms/search-log-events-from-a-bpm/
[Services]:https://docs.nodinite.com/repository-model/services/overview/
[Systems]:https://docs.nodinite.com/repository-model/systems/overview/