diff --git a/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14-ev.json b/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14-ev.json index 41ae5d56ea..fbbc43be1d 100644 --- a/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14-ev.json +++ b/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14-ev.json @@ -2522,12 +2522,12 @@ }, { "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f", - "bpnl" : "BPNL000000000UKM", + "bpnl" : "BPNL000000000DWF", "urn:samm:io.catenax.batch:3.0.0#Batch" : [ { "localIdentifiers" : [ { - "value" : "BPNL000000000UKM", + "value" : "BPNL000000000DWF", "key" : "manufacturerId" }, { @@ -2546,6 +2546,27 @@ "nameAtManufacturer" : "Sealant" } } + ], + "urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f", + "customers" : [ + "BPNL000000000UKM" + ], + "parentItems" : [ + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4070e", + "quantity" : { + "value" : 1, + "unit" : "unit:piece" + }, + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z", + "businessPartner" : "BPNL000000000UKM", + "isOnlyPotentialParent" : false + } + ] + } ] }, { @@ -2616,12 +2637,12 @@ }, { "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f", - "bpnl" : "BPNL000000000DWF", + "bpnl" : "BPNL000000000UKM", "urn:samm:io.catenax.batch:3.0.0#Batch" : [ { "localIdentifiers" : [ { - "value" : "BPNL000000000DWF", + "value" : "BPNL000000000UKM", "key" : "manufacturerId" }, { @@ -2640,6 +2661,27 @@ "nameAtManufacturer" : "Sealant" } } + ], + "urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f", + "customers" : [ + "BPNL000000000DWF" + ], + "parentItems" : [ + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f", + "quantity" : { + "value" : 1, + "unit" : "unit:piece" + }, + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z", + "businessPartner" : "BPNL000000000DWF", + "isOnlyPotentialParent" : false + } + ] + } ] } ] diff --git a/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14.json b/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14.json index 671fe1ae29..6e87008469 100644 --- a/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14.json +++ b/tx-backend/testdata/CX_Testdata_MessagingTest_v0.0.14.json @@ -2522,12 +2522,12 @@ }, { "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f", - "bpnl" : "BPNL00000003CML1", + "bpnl" : "BPNL00000003CNKC", "urn:samm:io.catenax.batch:3.0.0#Batch" : [ { "localIdentifiers" : [ { - "value" : "BPNL00000003CML1", + "value" : "BPNL00000003CNKC", "key" : "manufacturerId" }, { @@ -2546,6 +2546,27 @@ "nameAtManufacturer" : "Sealant" } } + ], + "urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fca4f", + "customers" : [ + "BPNL00000003CML1" + ], + "parentItems" : [ + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4070e", + "quantity" : { + "value" : 1, + "unit" : "unit:piece" + }, + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z", + "businessPartner" : "BPNL00000003CML1", + "isOnlyPotentialParent" : false + } + ] + } ] }, { @@ -2606,7 +2627,7 @@ "unit" : "unit:litre" }, "hasAlternatives" : true, - "businessPartner" : "BPNL00000003CNKC", + "businessPartner" : "BPNL00000003CML1", "createdOn" : "2022-02-03T14:48:54.709Z", "lastModifiedOn" : "2022-02-03T14:48:54.709Z" } @@ -2616,12 +2637,12 @@ }, { "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f", - "bpnl" : "BPNL00000003CNKC", + "bpnl" : "BPNL00000003CML1", "urn:samm:io.catenax.batch:3.0.0#Batch" : [ { "localIdentifiers" : [ { - "value" : "BPNL00000003CNKC", + "value" : "BPNL00000003CML1", "key" : "manufacturerId" }, { @@ -2640,6 +2661,27 @@ "nameAtManufacturer" : "Sealant" } } + ], + "urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt" : [ + { + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f", + "customers" : [ + "BPNL00000003CNKC" + ], + "parentItems" : [ + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f", + "quantity" : { + "value" : 1, + "unit" : "unit:piece" + }, + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z", + "businessPartner" : "BPNL00000003CNKC", + "isOnlyPotentialParent" : false + } + ] + } ] } ] diff --git a/tx-backend/testdata/import-test-data-0DWF_v0.0.14.json b/tx-backend/testdata/import-test-data-0DWF_v0.0.14.json index b3c7dbb365..6951cf266d 100644 --- a/tx-backend/testdata/import-test-data-0DWF_v0.0.14.json +++ b/tx-backend/testdata/import-test-data-0DWF_v0.0.14.json @@ -1071,7 +1071,7 @@ "unit" : "unit:piece" }, "hasAlternatives" : true, - "businessPartner" : "BPNL000000000DWF", + "businessPartner" : "BPNL000000000UKM", "createdOn" : "2022-02-03T14:48:54.709Z", "lastModifiedOn" : "2022-02-03T14:48:54.709Z" } diff --git a/tx-backend/testdata/import-test-data-0UKM_v0.0.14.json b/tx-backend/testdata/import-test-data-0UKM_v0.0.14.json index 3ff2bc9a13..8bc274a72a 100644 --- a/tx-backend/testdata/import-test-data-0UKM_v0.0.14.json +++ b/tx-backend/testdata/import-test-data-0UKM_v0.0.14.json @@ -1335,6 +1335,66 @@ } } ] + }, + { + "assetMetaInfo" : { + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f" + }, + "submodels" : [ + { + "aspectType" : "urn:samm:io.catenax.batch:3.0.0#Batch", + "payload" : { + "localIdentifiers" : [ + { + "value" : "BPNL000000000UKM", + "key" : "manufacturerId" + }, + { + "value" : "BID12345678", + "key" : "batchId" + } + ], + "manufacturingInformation" : { + "date" : "2022-02-04T14:48:54.000Z", + "country" : "HUN" + }, + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f", + "partTypeInformation" : { + "manufacturerPartId" : "123-0.740-5656-A", + "partClassification" : [ + { + "classificationStandard" : "classificationStandard", + "classificationID" : "classificationID", + "classificationDescription" : "classificationDescription" + } + ], + "nameAtManufacturer" : "Sealant" + } + } + }, + { + "aspectType" : "urn:samm:io.catenax.single_level_usage_as_built:3.0.0#SingleLevelUsageAsBuilt", + "payload" : { + "catenaXId" : "urn:uuid:e3b2f5e2-5be5-4ea6-98f0-6876de0fcb5f", + "customers" : [ + "BPNL000000000DWF" + ], + "parentItems" : [ + { + "catenaXId" : "urn:uuid:254604ab-2153-45fb-8cad-54ef09f4080f", + "quantity" : { + "value" : 1, + "unit" : "unit:piece" + }, + "createdOn" : "2023-02-03T14:48:54.709Z", + "lastModifiedOn" : "2023-02-03T14:48:54.709Z", + "businessPartner" : "BPNL000000000DWF", + "isOnlyPotentialParent" : false + } + ] + } + } + ] } ] }