- 5 minutes to read

6. Order Delivered

Step Overview

Step 6 occurs when the order has been delivered to the customer and confirmed received. This step provides proof of delivery and marks the completion of the logistics portion of the order-to-cash cycle.

Message Details

  • Message Type: O2C.Order.Shipped/1.0
  • Domain: Logistics
  • System: WMS
  • Service: DEL-Order-Delivered
  • Direction: Send (Outgoing from WMS)
  • Format: Flat File (PSV - Pipe-Separated Values)
  • Log Status: 0 (Success) for confirmed delivery, -1337 if delivery fails
  • Timing: Typically 3-7 days after Order Packed

Business Data (Happy Path)

Same customer and product data:

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

Sample PSV Message

This is the raw message payload that would be base64-encoded in the Log Event Body field. PSV (pipe-separated values) is commonly used in logistics systems.

DeliveryConfirmationHeader
DeliveryId|DeliveryDate|CorrelationId|OrderId|CustomerID|CustomerName|ShippingAddress|DeliveryStatus
DLVY-2025-10001|2025-10-20T14:32:15Z|{PREFIX}-{DATEPART}-{SEQUENCE}|ORD-10001|CUST-001|Acme Corporation|100 Commerce Drive, Suite 100, Springfield, IL 62701|DELIVERED

DeliveryDetails
LineNumber|SKU|Description|QuantityOrdered|QuantityDelivered|Condition
1|SKU-DEMO-001|Demo Widget|1|1|GOOD

DeliveryProof
TrackingNumber|Carrier|DeliverySignature|DeliveryTime|RecipientName|ProofOfDeliveryLocation|PhotoUrl
TRK-20251016-0001|Standard Courier|ACM-AUTO-SIGN|2025-10-20T14:32:15Z|Auto-confirmed|Front Porch|https://pod.courier.example/2025/10/dlvy-10001.jpg

DeliveryFooter
OrderTotal|Currency|ReturnWindow|ReturnInstructions
99.95|USD|30|Visit returns.acme.com

Nodinite Log Event (JSON formatted)

This is the complete Log Event structure that would be sent to the Nodinite Log API. The PSV message above is base64-encoded into the Body field.

Full Nodinite Log Event

{
  "LogAgentValueId": -5,
  "EndPointName": "WMS-Delivery-Send",
  "EndPointUri": "C:\\Integration\\WMS\\Delivery\\Out",
  "EndPointDirection": 1,
  "EndPointTypeId": 60,
  "OriginalMessageTypeName": "O2C.Order.Shipped/1.0",
  "LogDateTime": "2025-10-20T14:33:00.890Z",
  "EventDirection": 18,
  "ProcessingUser": "WMS\\DeliveryService",
  "SequenceNo": 5,
  "EventNumber": 5,
  "LogText": "Order Delivered",
  "ApplicationInterchangeId": "PIC-20251022-0001",
  "LocalInterchangeId": null,
  "LogStatus": 0,
  "ProcessName": "O2C-Logistics-Delivery",
  "ProcessingMachineName": "wms-server-01",
  "ProcessingModuleName": "WMS.DeliveryService.Confirmer",
  "ProcessingModuleType": "WindowsService",
  "ServiceInstanceActivityId": null,
  "ProcessingTime": 123,
  "Body": "RGVsaXZlcnlDb25maXJtYXRpb25IZWFkZXIKRGVsaXZlcnlJZHxEZWxpdmVyeURhdGV8Q29ycmVsYXRpb25JZHxPcmRlcklkfENvdXN0b21lcklEfENvdXN0b21lck5hbWV8U2hpcHBpbmdBZGRyZXNzfERlbGl2ZXJ5U3RhdHVzCkRMVlktMjAyNS0xMDAwMXwyMDI1LTEwLTIwVDE0OjMyOjE1WnxQSUMtMDAxLTAwMDF8T1JELTEwMDAxfENVU1QtMDAxfEFjbWUgQ29ycG9yYXRpb258MTAwIENvbW1lcmNlIERyaXZlLCBTdWl0ZSAxMDAsIFNwcmluZ2ZpZWxkLCBJTCA2MjcwMXxERUxJVkVSRUQKCkRlbGl2ZXJ5RGV0YWlscwpMaW5lTnVtYmVyfFNLVXxEZXNjcmlwdGlvbnxRdWFudGl0eU9yZGVyZWR8UXVhbnRpdHlEZWxpdmVyZWR8Q29uZGl0aW9uCjF8U0tVLURFTU8tMDAxfERlbW8gV2lkZ2V0fDF8MXxHT09ECgpEZWxpdmVyeVByb29mClRyYWNraW5nTnVtYmVyfENhcnJpZXJ8RGVsaXZlcnlTaWduYXR1cmV8RGVsaXZlcnlUaW1lfFJlY2lwaWVudE5hbWV8UHJvb2ZPZkRlbGl2ZXJ5TG9jYXRpb258UGhvdG9VcmwKVFJLLTIwMjUxMDE2LTAwMDF8U3RhbmRhcmQgQ291cmllcnxBQ00tQVVUTy1TSUdOfDIwMjUtMTAtMjBUMTQ6MzI6MTVafEF1dG8tY29uZmlybWVkfEZyb250IFBvcmNofGh0dHBzOi8vcG9kLmNvdXJpZXIuZXhhbXBsZS8yMDI1LzEwL2Rsdnktam9vMDEuanBnCgpEZWxpdmVyeUZvb3RlcgpPcmRlclRvdGFsfEN1cnJlbmN5fFJldHVybldpbmRvd3xSZXR1cm5JbnN0cnVjdGlvbnMKOTkuOTV8VVNEfDMwfFZpc2l0IHJldHVybnMuYWNtZS5jb20=",
  "Context": {
    "FileName": "ORD-10001-delivery.psv",
    "OrderNumber": "ORD-10001",
    "CustomerId": "CUST-001",
    "CustomerName": "Acme Corporation",
    "OrderAmount": "99.95",
    "DeliveryId": "DLVY-2025-10001",
    "TrackingNumber": "TRK-20251016-0001",
    "DeliveryDate": "2025-10-20T14:32:15Z",
    "ExtendedProperties/1.0#RepositoryBinding": "{\"Name\":\"Order Delivered\",\"Service\":{\"Name\":\"INT1337-DEL-Order-Delivered\",\"Direction\":\"Send\",\"System\":{\"Name\":\"WMS\"},\"Integration\":{\"Name\":\"INT1337 - Order-to-Cash\"},\"InternalServiceRelations\":[{\"Name\":\"INT1337-PKG-Order-Packed\"}],\"BPMs\":[{\"Name\":\"INT1337 - Order-to-Cash Flow\",\"ArtifactRenaming\":\"Order Delivered to Customer\",\"Domain\":{\"Name\":\"Logistics\",\"Index\":2},\"Step\":5,\"ServiceRelations\":[{\"Name\":\"INT1337-PKG-Order-Packed\",\"Direction\":\"Receive\",\"Domain\":{\"Name\":\"Logistics\",\"Index\":2},\"Step\":4,\"Label\":\"Packing Complete\",\"ConnectorStyle\":1,\"SourceAttachmentPoint\":2,\"TargetAttachmentPoint\":0}]}]}}"
  }
}

Key Points

  1. PSV Format: Pipe-separated values provide compact flat-file delivery confirmation
  2. Proof of Delivery: Includes signature, timestamp, recipient confirmation, and photo proof
  3. Logistics Completion: Marks the end of WMS involvement in the order lifecycle
  4. Correlation Maintained: Same CorrelationId ({PREFIX}-{DATEPART}-{SEQUENCE}) preserves full traceability
  5. Return Window: Included in context for post-delivery customer service scenarios
  6. Internal Service Relation: First use of InternalServiceRelations linking within same WMS system
  7. Same-Domain Flow: Remains in Logistics domain (Index 2, Step 5) for delivery confirmation

Repository Binding for Step 6

This log event includes a Repository Binding JSON that defines:

  • Service: INT1337-DEL-Order-Delivered with Direction Send
  • System: WMS (stays within Warehouse Management)
  • Integration: INT1337 - Order-to-Cash
  • InternalServiceRelations: Links to INT1337-PKG-Order-Packed within the same WMS system (internal workflow)
  • BPM: Specifies this is Step 5 in the Logistics domain (Index 2) with milestone name "Order Delivered to Customer"
  • BPM ServiceRelations: Includes an internal relation to INT1337-PKG-Order-Packed showing data flow within WMS from Step 4 with:
    • Label: "Packing Complete" - Shows the prerequisite packing step
    • ConnectorStyle: 1 - Orthogonal connector with arrow
    • SourceAttachmentPoint: 2 - Arrow originates from bottom of Step 5 (Logistics/WMS)
    • TargetAttachmentPoint: 0 - Arrow terminates at top of Step 4 (Logistics/WMS)

Step 6 represents the final logistics milestone—delivery confirmation with proof and customer receipt acknowledgment.


HTTP Request to Log API

The Log Event above would be sent as a POST request:

POST /api/v2/LogEvents HTTP/1.1
Host: nodinite-api.example.com
Content-Type: application/json
x-ms-client-tracking-id: {PREFIX}-{DATEPART}-{SEQUENCE}
Authorization: Bearer YOUR_API_KEY

{
  "LogAgentValueId": -5,
  "EndPointName": "WMS-Delivery-Send",
  ...
}