Pick Denial
Entity Details
| ID | 2bbf5905-f070-48d0-8f48-3d125652f761 |
|---|---|
| Name | Pick Denial |
| Type | PROCESS |
| Module | Outbound |
| Description | The process by which the warehouse reports that it cannot pick what a Delivery Note promised. It acts on a Delivery Note item after delivery creation and can push quantity back to backorder or to rejected, so a line that appeared released can be back at status 04 later. Reached only through Delivery Creation — no Backorder Release realisation invokes it directly. Eligibility is bounded by status: the Delivery Note item is looked up only among the statuses the system treats as pick-denial eligible, which in this snapshot are 21 through 30 inclusive. A separate explicit skip for status 23 and above exists, but only inside the Dubai warehouse branch. See the open question recorded on the Batch Backorder Release article: the SME states the boundary is status 23, which the eligible list does not match. |
| Neo4j Synced | Yes |
| Created | 2026-10-06 19:20:59 |
| Updated | 2026-12-05 07:27:06 |
Properties (JSON)
{'evidence': [{'note': 'od_item looked up only among eligible statuses', 'path': 'src/main/java/com/mb/out/service/PickDenialService.java', 'lines': '152-153', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'PICK_DENIAL_ELIGIBLE_STATUS 21-30', 'path': 'src/main/java/com/mb/out/constants/Constant.java', 'lines': '369-370', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'Dubai-only skip at status 23 and above', 'path': 'src/main/java/com/mb/out/service/PickDenialService.java', 'lines': '156-162', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'listener, staging and dedupe', 'path': 'src/main/java/com/mb/out/kafka/listener/PickDenialS2005Listener.java', 'lines': '18-38', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'the one handler both behaviours pass through', 'path': 'src/main/java/com/mb/out/events/handler/PickDenialExceptionEventHandler.java', 'lines': '55-87', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'quantity semantics', 'path': 'src/main/java/com/mb/out/service/PickDenialService.java', 'lines': '433-456', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'the with-B and without-B paths', 'path': 'src/main/java/com/mb/out/service/PickDenialService.java', 'lines': '428-468', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}], 'synonyms': ['pick denial S2005', 'PickDenialService'], 'carried_on': 'S2005 Delivery Feedback', 'reached_from': ['Delivery Creation'], 'staging_note': 'Every S2005 message is staged in interface_staging before processing, keyed by interface, warehouse, Kafka offset and partition, so redelivery is idempotent.', 'open_question': 'SME states pick denial cannot occur once a Delivery Note moves above status 23. The eligible status list in code is 21-30, which admits 23 and above up to 30. Authority not yet settled.', 'interface_note': 'Pick denial is not a process with an interface of its own. It is one of two behaviours on S2005, reached through the same listener, event, handler and service as shipment confirmation and distinguished only by confirmationFlag and quantity.', 'eligible_statuses': ['21', '22', '23', '24', '25', '26', '27', '28', '29', '30'], 'excluded_statuses': {'31': 'ready for invoicing', '32': 'invoiced'}, 'quantity_semantics': {'qty == 0': 'full denial — status 06, C-code 72 plus a kill code by order type', 'qty == quantityOrdered': 'neither branch matches, so nothing is applied', '0 < qty < quantityOrdered': 'partial denial — the line is split and a new line carries the difference'}, 'order_option_b_note': 'Pick denial takes a different path depending on whether the line carries order option B, Backorder not allowed, with separate methods for the with-B and without-B cases. This is an independent reason Order Options is a shared concept rather than a Backorder Release detail.', 'dubai_specific_guard': 'skipped outright when the od_item status is 23 or above', 'shares_interface_with': 'Shipment Confirmation'}
History
Outgoing Relationships
| Type | Target | Weight |
|---|---|---|
| targetsMarket | Market: Switzerland | 1.0 |
| targetsMarket | Market: Spain | 1.0 |
| targetsMarket | Market: France/Belux | 1.0 |
| targetsMarket | Market: Italy | 1.0 |
| targetsMarket | Market: United Kingdom | 1.0 |
| hasCancellationCode | Kill Code C9 | 1.0 |
| hasCancellationCode | Kill Code S9 | 1.0 |
| CONSUMES | Outbound Delivery Note | 1.0 |
| PRODUCES | SO Status 04 - Backordered | 1.0 |
| boundedBy | DN Status 23 | 1.0 |
| carriedOn | S2005 Delivery Feedback | 1.0 |
| discriminatedBy | Order Option B - Backorder not allowed | 1.0 |
| hasOverview | Pick Denial — 1. Overview | 1.0 |
| hasPurpose | Pick Denial — 2. Purpose | 1.0 |
| hasScope | Pick Denial — 3. Scope | 1.0 |
| hasProcessFlow | Pick Denial — 6. Process Flow | 1.0 |
| hasInput | Pick Denial — 7. Inputs | 1.0 |
| hasOutput | Pick Denial — 7. Outputs | 1.0 |
| hasException | Pick Denial — 10. Exceptions / Edge Cases | 1.0 |
| hasKPI | Pick Denial — 11. KPIs / Metrics | 1.0 |
Incoming Relationships
| Source | Type | Weight |
|---|---|---|
| Delivery Creation | precedes | 1.0 |
| S2005 Delivery Feedback | CONTAINS | 1.0 |