Skip to main content

Ubiquitous Language

As built

Derived from network/model/model.yaml. This context's service is built; the model carries its as-built contracts, and identifiers (Err... names, routes, CloudEvents types) are the names the service uses.

The terms this context speaks. Because the Vendor API is a Published Language, these words are also the words every vendor reads in the contract. Code identifiers are proposed Go names (package.Type).

This context's terms​

From contexts[vendor-connectivity].ul, plus the value objects and states the aggregates name.

TermDefinitionCode identifierNot to be confused with
VendorAn organisation operating fulfillment nodes for the network (the warehouse-systems fleet is vendor V-WS).vendor.VendorAccountNode Operator VENDOR in node-topology, which is an attribute of a node, not the account
Ack WindowThe vendor's configured time to acknowledge, between 1h and 24h.vendor.VendorAccount.AckWindow (ackWindowMinutes on the wire)ackBy, the per-order deadline it feeds
Purchase Order (PO)The instruction to one vendor node to ship one shipment group in full by requiredShipBy.po.PurchaseOrder, id poNumberCustomer order (customer-ordering); Fulfillment Assignment (order-sourcing), of which a PO is one release
PO LineOne listing and quantity on a PO, numbered lineNo.po.PoLine{lineNo, listingId, quantity}A catalogue item: the line names a Listing, not a catalogItemId
AcknowledgementThe vendor's single, whole-order accept or reject.po.AckDecision(ACCEPT|REJECT){reasonCode}A partial answer, which does not exist (ErrPartialAcknowledgement)
Reject ReasonWhy a vendor refused a PO: OUT_OF_STOCK, UNKNOWN_LISTING, CANNOT_MEET_SHIP_BY, DISCONTINUED.po.RejectReasonThe fleet's rejection reasons (see the translation table below)
Ack Window / ackByThe deadline for the acknowledgement: min(issuedAt + ackWindow, requiredShipBy - handlingTime).po.PurchaseOrder.AckByrequiredShipBy, which is later
Required Ship-ByThe pickup cutoff the PO must be ready for; the fleet calls it the CPT.po.PurchaseOrder.RequiredShipBydeliverByLatest (delivery-promise), the customer-facing date
ExpiredA PO still ISSUED past ackBy; never answered late.po.StateExpired, ExpireUnacknowledgedOrdersRejected, which is the vendor's own answer
CancelledA PO withdrawn by the network while still ISSUED.po.StateCancelled, CancelPurchaseOrderRejected or Expired
Submission / TransactionAn asynchronous vendor write and its outcome, reconciled by transactionId.submission.SubmissionThe PO's own state; a submission is the write, not the order
Submission KindACKNOWLEDGEMENT, INVENTORY, NODE_REGISTRATION, NODE_PROFILE, SHIPMENT_CONFIRMATION.submission.Kind—
Submission ErrorOne reason a transaction failed: code, message, path.submission.SubmissionErrorAn HTTP problem: a synchronous refusal never creates a transaction
notBeforereceivedAt + TX_PROCESSING_DELAY; a submission is never processed earlier.submission.Submission.NotBefore—
LabellabelRef + trackingNumber + carrier; never the address.po.LabelShipping Label in shipping-and-tracking, the aggregate that also holds the encrypted ship-to snapshot
Vendor APIThe Open Host Service of this context; its JSON schemas are the Published Language.apis/vendor-connectivity/openapi.yamlThe in-org REST of other contexts, which vendors never call
nextCursorOpaque continuation token of the PO poll.query parameter nextCursorA timestamp watermark (createdAfter)
Simulation knobsTX_PROCESSING_DELAY, TX_FAILURE_RATE, RATE_LIMIT_RPS, PO_REDELIVERY_RATE; all default to well-behaved.policy SimulationKnobsProduction configuration

Neighbour terms this context uses​

TermDefinitionCode identifier (owner)Not to be confused with
NodeOne physical building of the network, of exactly one node type.node.Node (node-topology)A vendor's own site id
Node TypeFULFILLMENT_CENTER, INBOUND_CROSS_DOCK, RETURNS_CENTER, SORTATION_CENTER, DELIVERY_STATION or AIR_HUB. A vendor registers only the first three.node.Type (node-topology)The fleet's siteRole
Operational ProfileThe node's declared operating hours, cutoffs, handling time, throughput cap and time zone, versioned by profileRevision.node.OperationalProfile (node-topology)The Scorecard, which is measured
Handling TimeDeclared time from order release to a package ready for handover.node.OperationalProfile.HandlingTime (node-topology)—
CutoffA local time by which a node declares packages ready; one pickup departure per cutoff.node.CutoffSlot (node-topology)requiredShipBy, which is one concrete cutoff instant
ListingA catalogue item offered from one node.listing.Listing (offer-availability)Catalog Item
Inventory FeedOne vendor submission of availability for one node, full or partial.feed.InventoryFeed (offer-availability)The INVENTORY Submission, which is the vendor-facing write that carries it
Availability BasisPHYSICAL, THROUGHPUT_CONSTRAINED or UNKNOWN.listing.Basis (offer-availability)—
Release (to node)Sending a group to one node; for a vendor node this issues a PO.assignment.Release (order-sourcing)—
Path LockThe point after which an assignment never changes node: the vendor's acceptance.assignment.Lock (order-sourcing)—
Tracking NumberThe network-wide unique id of one package.journey.TrackingNumber (shipping-and-tracking)labelRef
ScorecardA node's measured performance over a rolling window, with a grade.scorecard.NodeScorecard (node-performance)The Operational Profile
Declared vs MeasuredWhat a vendor says (profile) against what the network observes (scorecard).(principle)—

Fleet translation​

The fleet's network-fulfillment is Conformist to this Published Language and translates it in its Anti-Corruption Layer. Fleet terms below are the fleet's code as of IQVO/network-fulfillment develop: the NetworkGateway port and the stub-only adapter at internal/adapters/outbound/network/ (ADR 0009 renames it to outbound/retailnetwork/). The canonical, domain-wide table is on Ubiquitous Language; this page repeats its rows and adds the protocol detail this context owns. How the seam works end to end is on WMS/WES integration; the changes the fleet needs are on Fleet changes.

Concepts and operations​

Network term (this context)warehouse-systems term (network-fulfillment)Note
Vendor APIports.NetworkGatewayThe port is the fleet's ACL boundary
Vendor V-WSthe fleetOne vendor among many
Purchase Order, poNumberNetworkOrder, NetworkRefOpaque to the fleet, never parsed
lineNoNetworkLineRefUnique within one PO
listingIdNetworkProductId, translated to SKU by ProductTranslationA listing is per node; the SKU is the fleet's
Node (nodeId)Site (siteCode)Mapping persisted in network-fulfillment, never a string convention
vendorNodeCodesiteCodeWhat the fleet sends when it registers a node
Node type FULFILLMENT_CENTER + subtypesiteRole (facility-layout ADR 0037)Per the model's fleet_site_role_mapping; see Node model
Cutoff / pickup departureCPT (CPTSchedule, process-path-management ADR 0010)The fleet's CPT is the network's pickup cutoff at that node
Handling TimecycleTimeP95 of the eligible pathDeclared from the fleet's own number
Throughput Cap / cutoff maxOrdersremaining path capacity (PathCapacityChanged)—
Listing availability + basisCapabilityOffer{advertisedQuantity, basis}PHYSICAL / THROUGHPUT_CONSTRAINED exist on both sides
requiredShipByrequiredShipBy (the CPT cutoffAt), checked by order-management FeasibleBySame instant; the fleet passes it to order-management
Label (labelRef, trackingNumber, carrier)LabelResultNo address on either side of the seam
Promise / deliver-by windownoneThe fleet never sees the delivery promise; it sees only requiredShipBy
ackByacknowledgeByThe fleet fixes receivedAt + 24h; the network's ackBy can be earlier, so the fleet must read it from the PO
GET /vendor/purchase-orders with nextCursorPollDemandThe fleet polls "since watermark"
POST /vendor/acknowledgementsSubmitAcknowledgement(accepted)Fill-or-kill on both sides; the fleet's port has no reason-code argument today
POST /vendor/inventorySubmitAvailabilityCarries the fleet's CapabilityOffer quantity and Basis
PUT /vendor/nodes/{nodeId}/profileDeclareCapabilityA documented no-op in the fleet today
POST /vendor/shipping-labelsRequestLabelReturns labelRef, trackingNumber, carrier (LabelResult)
POST /vendor/shipment-confirmationsSubmitShipmentConfirmation—
GET /vendor/transactions/{transactionId}SubmissionStatusThe network keys by transactionId; the fleet's port keys by NetworkRef, so the ACL must keep the mapping
POST /vendor/nodesno port method todayA fleet change
GET /vendor/nodes/{nodeId}/scorecardno port method today—

States and outcomes​

Network termwarehouse-systems termNote
PO ISSUEDNetworkOrder NEW—
PO ACK_PROCESSINGSUBMITTEDA commitment in flight on both sides
PO ACCEPTEDACKNOWLEDGEDThe path lock on the network side
PO REJECTEDREJECTED—
PO EXPIREDREJECTED with ACKNOWLEDGEMENT_DEADLINE_MISSEDThe fleet refuses locally and sends nothing
PO SHIPMENT_PROCESSING, SHIPPEDCONFIRMEDThe fleet has no in-flight shipment state
PO CANCELLEDno fleet stateSee the open questions on the canvas
Submission PROCESSING / SUCCESS / FAILURESubmissionStatus PENDING / SUCCESS / FAILURE—

Reason codes​

Network RejectReasonwarehouse-systems rejection reasonNote
CANNOT_MEET_SHIP_BYINFEASIBLE_DEADLINEorder-management's "not feasible" verdict
UNKNOWN_LISTINGUNTRANSLATABLE_SKUNo ProductTranslation entry for the listing
OUT_OF_STOCKnone todayThe fleet has no separate stock-out reason
DISCONTINUEDnone today—
no reason code: the PO goes EXPIREDACKNOWLEDGEMENT_DEADLINE_MISSEDNothing is sent after ackBy
no reason code: the transaction ends FAILURESUBMISSION_FAILEDThe PO returns to ISSUED on the network side and expires at ackBy unless acknowledged again

Inbound terms​

Built, ADR 0009 as realized by vendor-connectivity ADR 0005 (inbound shipments, inbound receipts and catalogue packaging). This section is the delta the seller-inbound design added to this page; where the service decided differently, the text below says so.

TermDefinitionCode identifierNot to be confused with
Inbound ReceiptA vendor's carton-level report of what arrived for one inbound shipment: per SSCC a status, the eaches received per GTIN and any compliance codes.inbound.ReceiptA purchase-order acknowledgement, which answers an order the network sent.
ownerRef (on the Vendor API)The seller of record of the cartons: the sellerId of seller-inbound (carried on the poll as sellerId, kept by the vendor as its own ownerRef), opaque to the vendor.InboundShipmentView.sellerIdThe vendor.