{
	"eventId": "ba7b43dd-8b4a-46d9-9e3d-03bb3781e06e",
	"traceId": "c24558d1-eb1f-4723-9ab6-d026014e407f",
	"spanId": null,
	"version": "2.0",
	"type": "oyster-goods-receipt-event.PURCHASE_ORDER_CREATE",
	"context": "oyster-goods-receipt-event",
	"eventTime": "2022-03-31T12:41:06.036+0200",
	"sender": "DEEPSEA_OYSTER",
	"sourceIdentifier": "D2PO",
	"data": {
		"storageNotificationId": "305106fa-2068-44b9-bca2-5afaed6f5090",
		"storageNotificationNo": "BlackWarehouse",
		"created": "2022-03-22T09:52:00.000+0100",
		"partnerId": "1234",
		"purchaseOrder": {
			"orderUUID": "189263jdueke6",
			"orderPositionUUID": "djfs73hef",
			"orderNo": "456",
			"location": "ANSBACH",
			"supplierNo": "7890",
			"handlingType": "OSS",
			"supplyLocationCode": "10",
			"orderQty": "10.35",
			"foreignDemandQty": "0.0",
			"deliveryDate": "2022-03-22T00:00:00.000+0100",
			"forecastedWarehouseArrivalDate": "2022-03-22T00:00:00.000+0100",
			"forecastedBufferedStorageDate": "2022-03-22T00:00:00.000+0100",
			"planningPeriodCode": "144"
		},
		"productIdentifier": {
			"sku": "12345",
			"itemSize": "36",
			"itemNo": "51755400",
			"fnsku": null,
			"erpProductId": null
		}
	}
}
I01 Storage Notification
- Status
 - 
Version 2.0 for ERP published 25.04.2023, Version 1.0 for WMS published 12.04.2022
 - Approval
 - 
- 
DeepSea: SST im Worksheet abgestimmt mit Oyster Fachbereich
 - 
NEON: abgestimmt mit Körber zur Umsetzung in NEON_Fein_Pflichtenheft_WEN1_ SST_v6.0
 
 - 
 - Comment
 - 
Die Anbindung von MyToys ist in Planung und im Informationsflussdiagramm mit aufgenommen.
 - Assumption
 - 
Die Avise wird nicht komplett über die SST übertragen sondern die Positionen als StorageNotification
 
1. Stakeholder
| Role | Application | Responsible | 
|---|---|---|
Communication  | 
Integration Layer  | 
|
Leading App  | 
Inbound  | 
|
InterfaceOwner  | 
||
Producer  | 
Oyster  | 
|
Producer  | 
OBS  | 
MyToys  | 
Consumer  | 
FLASH  | 
|
Consumer  | 
kMotion  | 
|
Consumer  | 
KR1  | 
|
Consumer  | 
COBRA  | 
|
Consumer  | 
2. Business Context
Es wird unterschieden zwischen PurchaseOrder als Lieferantenauftrag und einer Avise (Advice). Daneben wird im Rahmen von Deepsea auch eine Einlagerungsauftag aufgebaut. Dieser entspricht unserem Verständnis nach der Avise. Somit beschreibt die Avise eine Anlieferung die bald am Lager ankommen wird. Darin wird auf eine PurchaseOrder verwiesen. Eine PurchaseOrder kann n Avisen haben. Eine Avise kann aus mehreren Lieferscheinen bestehen. Eine Avise kann nach ihrer Art (Type) unterschieden werden Lieferavise, Umfuhr, Retoureavise.
3. Informationflow
4. Interface
4.1. Direction ERP to FINE
4.1.1. Header
This interface uses the Service Header
Special expresion for this interface:
| Fieldname | Expresion | 
|---|---|
type  | 
oyster-goods-receipt-event.PURCHASE_ORDER_CREATE  | 
oyster-goods-receipt-event.PURCHASE_ORDER_UPDATE  | 
|
oyster-goods-receipt-event.PURCHASE_ORDER_CONFIRM  | 
|
oyster-goods-receipt-event.PURCHASE_ORDER_CANCEL  | 
|
context  | 
STORAGE_NOTIFICATION  | 
4.1.2. Datamodel
| Property | Type | Description | 
|---|---|---|
(Root)  | 
object  | 
|
eventId*  | 
string (uuid)  | 
UUID for this event  Minimum Length:  36  | 
traceId*  | 
string (uuid)  | 
UUID for all events in a call hierarchy It's like a order number, the will used for alle activities around the order.  Minimum Length:  36  | 
spanId*  | 
string (uuid)  | 
UUID for all events in a call hierarchy  Minimum Length:  36  | 
version*  | 
string  | 
Json schema version  Minimum Length:  3  | 
eventTime*  | 
string (date-time)  | 
Event time  | 
context*  | 
string  | 
The name of the responsible context  Maximum Length:  20  | 
type*  | 
string  | 
Type  | 
sender*  | 
string  | 
Sender  | 
sourceIdentifier*  | 
string  | 
SourceIdentifier  | 
instance  | 
string  | 
Instance  | 
data*  | 
object  | 
|
storageNotificationId*  | 
string  | 
Storage Notification Id  Maximum Length:  36  | 
storageNotificationNo*  | 
string  | 
Storage Notification Number  | 
created*  | 
string (date-time)  | 
Created Date  | 
updated*  | 
string (date-time)  | 
Updated Time  | 
partnerId*  | 
string  | 
Partner Id  | 
purchaseOrder*  | 
object  | 
|
orderUUID*  | 
string  | 
Order UUID  | 
orderPositionUUID*  | 
string  | 
Order Position UUID  | 
orderNo*  | 
string  | 
Order Number  | 
location*  | 
string  | 
Storage Location  | 
sourceLocation  | 
string  | 
Source/Original location  Maximum Length:  15  | 
handlingType*  | 
string  | 
Handling Type  | 
supplyLocationCode*  | 
string  | 
Supply Location Code  | 
deliveryDate*  | 
string (date)  | 
Delivery Date  Maximum Length:  10  | 
forecastedWarehouseArrivalDate  | 
string (date)  | 
Forecasted Warehouse Arrival Date  Maximum Length:  10  | 
forecastedBufferedStorageDate  | 
string (date)  | 
Forecasted Buffered Storage Date  Maximum Length:  10  | 
foreignDemandQty  | 
string  | 
Foreign Demand Quantity  | 
planningPeriodCode*  | 
string  | 
Planning Period Code  | 
supplierNo*  | 
string  | 
Supplier Number  | 
orderQty*  | 
number  | 
Order Quantity  | 
fullyDelivered  | 
boolean  | 
Fully delivered  | 
noFurtherStockReceiptsExpected  | 
boolean  | 
No further stock receipts expected  | 
productIdentifier*  | 
object  | 
|
erpProductId*  | 
string  | 
¨Erp Product Id  Maximum Length:  36  | 
FNSKU  | 
string  | 
FNSKU  | 
sku*  | 
string  | 
¨Sku  Maximum Length:  36  | 
itemNo*  | 
string  | 
Item Number  Maximum Length:  16  | 
itemSize*  | 
string  | 
Item Size  Maximum Length:  16  | 
4.1.3. Enumeration
Field: handlingType
| Meta Value | Description | Short Value | 
|---|---|---|
Abwicklungsart OSS  | 
||
wholesale  | 
||
wholesalelight  | 
4.1.4. Example
4.1.5. Schema
| Version | Number | File | Published on | Changes | 
|---|---|---|---|---|
current version  | 
2.0  | 
12.04.2022  | 
||
previous version  | 
||||
coming version  | 
4.2. Direction FINE to WMS
4.2.1. Header
This interface uses the Service Header
Special expresion for this interface:
| Fieldname | Expresion | 
|---|---|
type  | 
PURCHASE_ORDER_CREATE  | 
PURCHASE_ORDER_UPDATE  | 
|
PURCHASE_ORDER_CONFIRM  | 
|
PURCHASE_ORDER_CANCEL  | 
|
context  | 
STORAGE_NOTIFICATION  | 
4.2.2. Datamodel
| Property | Type | Description | 
|---|---|---|
(Root)  | 
object  | 
|
eventId*  | 
string (uuid)  | 
UUID for this event  Minimum Length:  36  | 
traceId*  | 
string (uuid)  | 
UUID for all events in a call hierarchy It's like a order number, the will used for alle activities around the order.  Minimum Length:  36  | 
spanId*  | 
string (uuid)  | 
UUID for all events in a call hierarchy  Minimum Length:  36  | 
version*  | 
string  | 
Json schema version  Minimum Length:  3  | 
eventTime*  | 
string (date-time)  | 
Event time  | 
context*  | 
string  | 
The name of the responsible context  Maximum Length:  20  | 
type*  | 
string  | 
Type  | 
sender*  | 
string  | 
Sender  | 
sourceIdentifier*  | 
string  | 
SourceIdentifier  | 
instance  | 
string  | 
Instance  | 
data*  | 
object  | 
|
storageNotificationId*  | 
string  | 
Storage Notification Id  Maximum Length:  36  | 
storageNotificationNo*  | 
string  | 
Storage Notification Number  | 
createDate*  | 
string (date-time)  | 
Created Date  | 
modifyDate  | 
string (date-time)  | 
Modify Date  | 
partnerId*  | 
string  | 
Partner Id  | 
location*  | 
string  | 
Storage Location  | 
sourceLocation  | 
string  | 
Source/Original location  Maximum Length:  15  | 
purchaseOrder*  | 
object  | 
|
orderUUID*  | 
string  | 
Order UUID  | 
orderPositionUUID*  | 
string  | 
Order Position UUID  | 
orderNumber*  | 
string  | 
Order Number  | 
handlingType*  | 
string  | 
Handling Type  | 
supplyLocationCode*  | 
string  | 
Supply Location Code  | 
deliveryDate*  | 
string (date)  | 
Delivery Date  Maximum Length:  10  | 
forecastedWarehouseArrivalDate  | 
string (date)  | 
Forecasted Warehouse Arrival Date  Maximum Length:  10  | 
forecastedBufferedStorageDate  | 
string (date)  | 
Forecasted Buffered Storage Date  Maximum Length:  10  | 
foreignDemandQty  | 
string  | 
Foreign Demand Quantity  | 
planningPeriodCode*  | 
string  | 
Planning Period Code  | 
supplierNumber*  | 
string  | 
Supplier Number  | 
quantity*  | 
number  | 
Order Quantity  | 
fullyDelivered  | 
boolean  | 
Fully delivered  | 
noFurtherStockReceiptsExpected  | 
boolean  | 
No further stock receipts expected  | 
ownerCompany  | 
string  | 
Owner Company (BDF)  Maximum Length:  30  | 
product*  | 
object  | 
|
logisticProductId*  | 
string  | 
¨Logistic Product Id  Maximum Length:  30  | 
erpProductId*  | 
string  | 
¨Erp Product Id  Maximum Length:  36  | 
FNSKU  | 
string  | 
FNSKU  | 
sku*  | 
string  | 
¨Sku  Maximum Length:  36  | 
itemNumber*  | 
string  | 
Item Number  Maximum Length:  16  | 
itemSize*  | 
string  | 
Item Size  Maximum Length:  16  | 
4.2.3. Enumeration
Field: handlingType
| Meta Value | Description | Short Value | 
|---|---|---|
Abwicklungsart OSS  | 
||
wholesale  | 
||
wholesalelight  | 
4.2.4. Example
{
    "eventId": "b7731f51-fa96-43e8-9035-46221d31fd26",
    "traceId": "4b8cce05-51a6-412e-89a0-sdfsdfsdfsdf",
    "spanId": "4b8cce05-51a6-412e-89a0-sdfsdfsdfsdf",
    "version": "1.0",
    "eventTime": "2018-11-28T08:25:56.523+0000",
    "context": "oyster-goods-receipt-event",
    "type": "PURCHASE_ORDER_CREATE",
    "sender": "fine-inbound",
    "sourceIdentifier": "D2PO",
    "instance": "instance",
    "data": {
      "storageNotificationId": "23548bfa-3d69-4080-90d1-37c4157bbe6a",
      "storageNotificationNo": "BD52FD46S2",
      "createDate": "2022-01-17T14:30:25.523+0000",
      "modifyDate": "2022-01-17T14:30:25.523+0000",
      "partnerId": "10000",
      "location": "ANSBACH",
      "purchaseOrder": {
        "orderUUID": "da087ed3-0802-4c48-bfb8-6f95dd254589",
        "orderPositionUUID": "7db820fb-d61b-4438-ac2d-d0fd8b6d36ca",
        "orderNumber": "57322",
        "handlingType": "WHS",
        "supplyLocationCode": "10",
        "deliveryDate": "2022-01-20",
        "forecastedWarehouseArrivalDate": "2022-01-25",
        "forecastedBufferedStorageDate": "2022-01-26",
        "foreignDemandQty": "0",
        "planningPeriodCode": "145",
        "supplierNumber": "11223",
        "quantity": 10
      },
      "product": {
        "logisticProductId": "123456789",
        "erpProductId": "123456789",
        "FNSKU": "AB12345678",
        "sku": "208d8205-510e-479b-bba1-6d8c3dd99354",
        "itemNumber": "51755400",
        "itemSize": "36"
      }
    }
  }
4.2.5. Schema
| Version | Number | File | Published on | Changes | 
|---|---|---|---|---|
current version  | 
1.0  | 
12.04.22  | 
||
previous version  | 
||||
coming version  |