Skip to content
MIRA Insights home

MIRA news

  • Market Update
  • System Alert
  • New Feature

S2005 Delivery Feedback

Entity Details
ID 11a64a1d-0367-4467-abb7-7c5698afe84a
Name S2005 Delivery Feedback
Type SYSTEM
Module Outbound
Description The Kafka interface on which the warehouse reports back on a delivery note item. It carries BOTH pick denial and shipment confirmation: one listener, one event, one handler, one service, with the two behaviours told apart only by the confirmationFlag field and by the quantity. Payload: sstId, systemId, systemType, deliveryNo, deliveryItemNo, deliverItemNoAdd, pickingTicketNo, qty, materialNo, confirmationFlag. Messages are staged in interface_staging before processing, keyed by interface, warehouse, Kafka offset and partition, which makes redelivery idempotent. Unknown JSON fields are dropped rather than rejected. Modelled as one shared thing because a change to S2005 handling necessarily touches pick denial and shipment confirmation together — treating them separately would make any impact analysis under-report its own scope.
Neo4j Synced Yes
Created 2026-12-05 07:27:06
Updated 2026-12-05 07:27:06
Properties (JSON)
{'carries': ['Pick Denial', 'Shipment Confirmation'], 'evidence': [{'note': 'PickDenialRequest schema, confirmationFlag included', 'path': 'src/main/resources/api/outbound.yml', 'lines': '4112-4136', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'deserialise, consumer-group check, staging, dedupe', 'path': 'src/main/java/com/mb/out/kafka/listener/PickDenialS2005Listener.java', 'lines': '18-38', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'one handler branching on flag and quantity', 'path': 'src/main/java/com/mb/out/events/handler/PickDenialExceptionEventHandler.java', 'lines': '55-87', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'the quantity semantics', 'path': 'src/main/java/com/mb/out/service/PickDenialService.java', 'lines': '433-456', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'DELIVERY_CONFIRMATION_FLAG = S', 'path': 'src/main/java/com/mb/out/constants/Constant.java', 'lines': '423', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}], 'synonyms': ['S2005', 'pick denial interface', 'PickDenialS2005Listener'], 'discriminated_by': ['confirmationFlag', 'qty'], 'implemented_flags': ['S'], 'quantity_semantics': {'qty == 0': 'full pick denial — line to status 06 with C-code 72 plus a kill code', 'qty == quantityOrdered': 'matches neither branch, so nothing is applied', '0 < qty < quantityOrdered': 'partial pick denial — the line is split'}, 'unimplemented_flags_note': 'The specification defines S, E and F. Only S exists in code. Partial denial is the untagged default and full denial is inferred from a zero quantity, so E and F carry no meaning today. Recorded as an absence, not modelled as behaviour.'}
Outgoing Relationships
Type Target Weight
CONTAINS Shipment Confirmation 1.0
CONTAINS Pick Denial 1.0
CONSUMES Outbound Delivery Note 1.0
Incoming Relationships
Source Type Weight
Shipment Confirmation carriedOn 1.0
Pick Denial carriedOn 1.0