{
    "NAME": "LASCANA-RESERV",
    "COMMKEY": 1168078707,
    "ID_RESERVATIONASSIGNMENT":20,
    "ACTUALQUANTITY": 0,
    "DELIVEREDQUANTITY": 1,
    "TARGETQUANTITY": 1,
    "COMMITEDQUANTITY": 0,
    "TIMESTAMPEXPORT": "2022-06-07"
}
S13 Major Customer Reservation
- Status
 - 
Version 0.1 published 27.09.2022
 - Approval
 - 
-
 - Comment
 - 
Die Bewirtschaftung der Daten wird durch eine Abfrage in dem Source Stream von der Oracle Datenbank durchgeführt (Source Stream).
 - Assumption
 - 
_
 
1. Stakeholder
| Role | Application | Responsible | 
|---|---|---|
Communication  | 
Integration Layer  | 
|
Leading App  | 
FLASH  | 
|
InterfaceOwner  | 
||
Producer  | 
CORE  | 
|
Consumer  | 
FLASH  | 
2. Business Context
Major Customer Reservations dienen dem Vergleich der von Grosskunden reservierten AK Mengen mit den Beständen der Standorte Südhafen und Sonnefeld. Bei einer Defferenz wird die entsprechende Menge in die Bestandsumfuhr mit aufgenommen.
3. Informationflow
4. Interface
4.1. Direction Core to FINE
4.1.1. Header
4.1.2. Datamodel
| Property | Type | Description | 
|---|---|---|
(Root)  | 
object  | 
Open Orders  | 
COMMKEY*  | 
integer  | 
Item Option Communication Key  Minimum:  0  | 
DATUM*  | 
string (date)  | 
Datum  Minimum Length:  10  | 
OFFENER_NAB*  | 
integer  | 
Offener NAB  Minimum:  0  | 
RESERVIERTER_NAB*  | 
integer  | 
Reservierter NAB  Minimum:  0  | 
REPORTZEITSTEMPEL*  | 
string (date-time)  | 
Exportzeitstempel  | 
RUN_ID*  | 
string  | 
RUN_ID  Minimum Length:  16  | 
4.1.3. Example
4.1.4. Schema
| Version | Number | File | Published on | Changes | 
|---|---|---|---|---|
current version  | 
0.1  | 
27.09.22  | 
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "$id": "https://doc.fine.gcp.osp-dev.de/registry/Stock/MajorCustomerReservation.v0.1.schema.json",
  "title": "Major Customer Reservation",
  "description": "the schema of the FINE Kafka topic 'flash.stock.majorcustomerreservation.core'",
  "properties": {
    "NAME": {
      "type": "string",
      "title": "Name",
      "description": "Name",
      "examples": ["LASCANA-RESERV"]
    },
    "COMMKEY": {
      "type": "integer",
      "minimum": 0,
      "maximum": 999999999999999999,
      "description": "Item Option Communication Key",
      "examples": [1168078707]
    },
  "ID_RESERVATIONASSIGNMENT": {
    "type": "integer",
    "minimum": 0,
    "maximum": 32767,
    "description": "Id of the reservation assignment",
    "examples": [20]
  },
    "ACTUALQUANTITY": {
      "type": "integer",
      "title": "Actual Quantity",
      "minimum": 0,
      "maximum": 2147483647,
      "description": "",
      "examples": [0]
    },
    "DELIVEREDQUANTITY": {
      "type": "integer",
      "title": "Delivered quantity",
      "minimum": 0,
      "maximum": 2147483647,
      "description": "ZZZZZZZZZZZZZZZZZZZZZZZZZZZ",
      "examples": [3]
    },
    "TARGETQUANTITY": {
      "type": "integer",
      "title": "Target Quantity",
      "minimum": 0,
      "maximum": 2147483647,
      "description": "ZZZZZZZZZZZZ",
      "examples": [3]
    },
    "COMMITEDQUANTITY": {
      "type": "integer",
      "title": "Commited Quantity",
      "minimum": 0,
      "description": "ZZZZZZZZZZ",
      "examples": [3]
    },
    "TIMESTAMPEXPORT": {
      "type": "string",
      "title": "Exportzeitstempel",
      "format": "date-time",
      "description": "Timestamp of export",
      "examples": ["2022-06-22 03:04:39.394000"]
    }
  },
  "required": [
    "NAME",
    "COMMKEY",
    "ID_RESERVATIONASSIGNMENT",
    "ACTUALQUANTITY",
    "DELIVEREDQUANTITY",
    "TARGETQUANTITY",
    "COMMITEDQUANTITY",
    "TIMESTAMPEXPORT"
  ],
  "type": "object"
}