Selection Type
Entity Details
| ID | 3fb715a0-1414-471f-9bad-9454984e68c6 |
|---|---|
| Name | Selection Type |
| Type | CONCEPT |
| Module | Outbound |
| Description | The instruction given at delivery creation that decides whether a delivery note stays open for more items, closes immediately, or closes to new items while awaiting line-by-line confirmation. X leaves it open; T closes it immediately; G closes it to new items but leaves the lines awaiting confirmation. G's implemented behaviour is specific: delivery creation claims the Sales Order Items with the delivery note HEADER's own status rather than forcing 23, which is what leaves a G note at 21 or 22. On S2004 a G note sends deliverNoteClosingFlag of 1, grouped with T; X sends 0. |
| Neo4j Synced | Yes |
| Created | 2026-12-05 07:27:06 |
| Updated | 2026-12-05 07:27:06 |
Properties (JSON)
{'values': {'G': 'G - Line-By-Line Confirmation — close to new items, await confirmation', 'T': 'T - Delivery Note Closure — close immediately', 'X': 'X - Only Lines — leave the delivery note open'}, 'evidence': [{'note': 'SELECTION_TYPE_X and SELECTION_TYPE_G', 'path': 'src/main/java/com/mb/out/constants/Constant.java', 'lines': '424-425', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'SELECTION_TYPE_T', 'path': 'src/main/java/com/mb/out/constants/Constant.java', 'lines': '125', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'the enum and its labels', 'path': 'src/main/java/com/mb/out/enums/SelectionTypes.java', 'lines': '5-7', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'G claims items at the header status, not 23', 'path': 'src/main/java/com/mb/out/service/DeliveryNoteConcatenationService.java', 'lines': '185-189', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'G and T send closing flag 1, X sends 0', 'path': 'src/main/java/com/mb/out/service/DeliveryNoteConcatenationService.java', 'lines': '1979-1984', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}, {'note': 'isDubai derived from selection type G', 'path': 'src/main/java/com/mb/out/events/handler/DeliveryNoteTimerJobEventHandler.java', 'lines': '388-392', 'snapshot': 'Outbound Backend @ feature-LNS_All_Together'}], 'g_closing_flag': '1', 'x_closing_flag': '0', 'dubai_coupling_note': 'The timer task decides its Dubai path by testing whether the selection type is G and naming the result isDubai, so G stands in for the warehouse rather than being a property of the note. A second warehouse using G would silently take the Dubai path. Recorded as observed; flagged as an open question, no conclusion drawn.'}
History
Outgoing Relationships
| Type | Target | Weight |
|---|---|---|
| TRIGGERS | Shipment Confirmation | 1.0 |
Incoming Relationships
| Source | Type | Weight |
|---|---|---|
| Delivery Creation | DEPENDS_ON | 1.0 |