From 71f062e16fe677f38a4ead7b6285711bbe1f1bdc Mon Sep 17 00:00:00 2001 From: dubnemo Date: Thu, 12 Jun 2025 20:40:15 -0500 Subject: [PATCH 1/8] GTIN --- ShippedItemInstancePlugin/Mapper.cs | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/ShippedItemInstancePlugin/Mapper.cs b/ShippedItemInstancePlugin/Mapper.cs index 96c84f7..683f055 100644 --- a/ShippedItemInstancePlugin/Mapper.cs +++ b/ShippedItemInstancePlugin/Mapper.cs @@ -546,6 +546,13 @@ private List CreateProductContextItems(ShippedItemInstance shippedI contextItems.Add(CreateContextItem("Product.VarietyName", shippedItemInstance.Item.VarietyName)); } + // gtin -- should I add this to unique identifer on product? + + if (shippedItemInstance.Item.Gtinid != null) + { + contextItems.Add(CreateContextItem("Product.GTIN", shippedItemInstance.Item.Gtinid)); + } + // item perPackage quantity, e.g., weight of a bag // if (shippedItemInstance.Item?.Packaging?.PerPackageQuantity?.Content != null && @@ -641,15 +648,6 @@ private void SetManufacturerAndBrand(ShippedItemInstance shippedItemInstance, Pr // it appears that the Add method generates the Id.ReferenceId product.BrandId = brandName.Id.ReferenceId; - // map to contentItems - // - // gtin , add this to unique identifer on product? - // - var gtin = shippedItemInstance.Item.Gtinid; - _logger.LogInformation("GTIN = " + gtin); - // - // Where is gtin used? - // // create a colleciton of Product components and add substatnce to it // var productComponents = shippedItemInstance.Item.ItemTreatment.Substance.FirstOrDefault(s => s.Name = ) // product.ProductComponents = shippedItemInstance.Item.ItemTreatment.Substance From 0717f702a63e23d9b00cf8789512d04744ee7181 Mon Sep 17 00:00:00 2001 From: dubnemo Date: Thu, 12 Jun 2025 20:51:46 -0500 Subject: [PATCH 2/8] gen output optional product info --- .../output/0/TASKDATA/LINKLIST.XML | 14 ++++++++++++++ .../output/0/TASKDATA/TASKDATA.XML | 2 +- ISO_ADM_Exporter/output/0/adm/Catalog.adm | Bin 10524 -> 10776 bytes .../output/1/TASKDATA/LINKLIST.XML | 1 + .../output/1/TASKDATA/TASKDATA.XML | 2 +- ISO_ADM_Exporter/output/1/adm/Catalog.adm | Bin 1926 -> 1958 bytes ShippedItemInstancePlugin/Mapper.cs | 10 +++++----- 7 files changed, 22 insertions(+), 7 deletions(-) diff --git a/ISO_ADM_Exporter/output/0/TASKDATA/LINKLIST.XML b/ISO_ADM_Exporter/output/0/TASKDATA/LINKLIST.XML index 76ffa85..19a3f58 100644 --- a/ISO_ADM_Exporter/output/0/TASKDATA/LINKLIST.XML +++ b/ISO_ADM_Exporter/output/0/TASKDATA/LINKLIST.XML @@ -11,6 +11,7 @@ + @@ -31,6 +32,7 @@ + @@ -51,6 +53,7 @@ + @@ -71,6 +74,7 @@ + @@ -91,6 +95,7 @@ + @@ -111,6 +116,7 @@ + @@ -129,6 +135,7 @@ + @@ -149,6 +156,7 @@ + @@ -169,6 +177,7 @@ + @@ -188,6 +197,7 @@ + @@ -208,6 +218,7 @@ + @@ -228,6 +239,7 @@ + @@ -246,6 +258,7 @@ + @@ -264,6 +277,7 @@ + diff --git a/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML b/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML index aada52f..5adb901 100644 --- a/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML +++ b/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML @@ -1,6 +1,6 @@ - + diff --git a/ISO_ADM_Exporter/output/0/adm/Catalog.adm b/ISO_ADM_Exporter/output/0/adm/Catalog.adm index 8cbbe4068dbed6a6c3a99968ac85c364c0248ad7..e468f58a3f2c6d56416237f21e508e8406276f02 100644 GIT binary patch delta 519 zcmbOeG$Uk#I3v>pw#kJ;!jp9vcM1w{@dOm*r<5j_=(&e@`Ux>ie#o+Pb0^aTM#le> z3xq@_>#=OXRJ8daizXA}*U1l+MJCI$@4{3tc|X^>&21dnj8H{vTv!xs-p?h;#P|hl z%3GeD!WeE5nmPF(m)7Qsyl)v9_fOu>e*}w?oXL)2nw!@O9D;i53>L=#y)?O#NoezD z;X1hI+eC4A9<1`KSREtdCvX6CNZ?So`Ke?PBU2wFEOVr>tJ=Q#woDD<$j?N^n?2DbB*8aH7hV&C8W685!3C6>Y>+uz8}&JBXyn4aC(hz~+Yj@TS8G65=c2FY@e(^|!WPI~}xnuH`&&t^WU*Nl_7 z$0sv%>Z6^Q# diff --git a/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML b/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML index c70cfbc..dcfe7fb 100644 --- a/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML +++ b/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML @@ -10,6 +10,7 @@ + diff --git a/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML b/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML index de7d73e..534d56f 100644 --- a/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML +++ b/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML @@ -1,6 +1,6 @@ - + diff --git a/ISO_ADM_Exporter/output/1/adm/Catalog.adm b/ISO_ADM_Exporter/output/1/adm/Catalog.adm index 81c5907e5fa59ff14a9d95d0381342528936380c..71952a9e4b69a803f99c827bab372fffbe488dd7 100644 GIT binary patch delta 59 zcmZqUU&g&kLmJOM@dDW%CJdhQ{fenNZ(1{M|;#wKQ_76wL^hC&Kl PQj@uvq&71%HM0T$&m0a9 delta 27 jcmZ3+-^Razmyzi^&t!ha>&yyVQj@irq&6!vHM0T$Yu^V6 diff --git a/ShippedItemInstancePlugin/Mapper.cs b/ShippedItemInstancePlugin/Mapper.cs index 683f055..8ad5923 100644 --- a/ShippedItemInstancePlugin/Mapper.cs +++ b/ShippedItemInstancePlugin/Mapper.cs @@ -529,26 +529,26 @@ private List CreateProductContextItems(ShippedItemInstance shippedI { contextItems.Add(CreateContextItem("Product.Type", shippedItemInstance.TypeCode)); } - if (shippedItemInstance.Item.Description != null) + if (shippedItemInstance.Item?.Description != null) { contextItems.Add(CreateContextItem("Product.Description", shippedItemInstance.Item.Description)); } - if (shippedItemInstance.Item.ProductName != null) + if (shippedItemInstance.Item?.ProductName != null) { contextItems.Add(CreateContextItem("Product.Name", shippedItemInstance.Item.ProductName)); } - if (shippedItemInstance.Item.BrandName != null) + if (shippedItemInstance.Item?.BrandName != null) { contextItems.Add(CreateContextItem("Product.BrandName", shippedItemInstance.Item.BrandName)); } - if (shippedItemInstance.Item.VarietyName != null) + if (shippedItemInstance.Item?.VarietyName != null) { contextItems.Add(CreateContextItem("Product.VarietyName", shippedItemInstance.Item.VarietyName)); } // gtin -- should I add this to unique identifer on product? - if (shippedItemInstance.Item.Gtinid != null) + if (shippedItemInstance.Item?.Gtinid != null) { contextItems.Add(CreateContextItem("Product.GTIN", shippedItemInstance.Item.Gtinid)); } From 5ec8df9921d26ce19e516c80b4f7ba919a9e5db7 Mon Sep 17 00:00:00 2001 From: dubnemo Date: Tue, 8 Jul 2025 20:40:07 -0500 Subject: [PATCH 3/8] update model to v4.1 --- .../Models/CarrierParty.cs | 4 +-- .../Models/Classification.cs | 4 +-- .../Models/ClassificationCodes.cs | 4 +-- .../Models/ClassificationCodesCode.cs | 4 +-- ShippedItemInstancePlugin/Models/Item.cs | 4 +-- .../Models/ItemEffectiveTimePeriod.cs | 4 +-- ShippedItemInstancePlugin/Models/ItemId.cs | 4 +-- .../Models/ItemItemTreatment.cs | 4 +-- .../Models/ItemItemTreatmentId.cs | 4 +-- .../ItemItemTreatmentRegistrationStatus.cs | 4 +-- .../Models/ItemItemTreatmentSubstance.cs | 4 +-- .../ItemManufacturerItemIdentification.cs | 4 +-- .../Models/ItemManufacturingParty.cs | 4 +-- .../Models/ItemPackaging.cs | 4 +-- .../Models/ItemPackagingPerPackageQuantity.cs | 4 +-- .../Models/ItemRegistrationStatus.cs | 4 +-- .../Models/ItemSubstance.cs | 4 +-- .../Models/Measurement.cs | 4 +-- .../Models/MeasurementList.cs | 6 ++-- ShippedItemInstancePlugin/Models/RelatedId.cs | 4 +-- .../Models/RelatedIdList.cs | 6 ++-- ShippedItemInstancePlugin/Models/Results.cs | 4 +-- .../Models/ResultsQuantitative.cs | 4 +-- .../Models/ShipFromParty.cs | 19 +++++++++-- .../Models/ShipFromPartyLocation.cs | 4 +-- .../Models/ShipToParty.cs | 19 +++++++++-- .../Models/ShipToPartyLocation.cs | 4 +-- .../Models/ShipToPartyLocationAddress.cs | 4 +-- ...tyLocationAddressCountrySubDivisionCode.cs | 4 +-- .../Models/ShipmentReference.cs | 34 +++++++++++++++++-- .../ShipmentReferenceDeliveredQuantity.cs | 4 +-- .../Models/ShipmentReferenceListRequest.cs | 6 ++-- .../ShipmentReferenceListRequestEntry.cs | 4 +-- .../Models/ShipmentReferenceListResponse.cs | 6 ++-- .../ShipmentReferenceListResponseEntry.cs | 4 +-- .../ShipmentReferenceShipUnitReference.cs | 4 +-- .../ShipmentReferenceShipUnitReferenceId.cs | 4 +-- .../Models/ShipmentReferenceStatus.cs | 4 +-- .../Models/ShippedItemInstance.cs | 4 +-- .../Models/ShippedItemInstanceList.cs | 6 ++-- .../Models/ShippedItemInstanceLot.cs | 4 +-- .../Models/ShippedItemInstancePackaging.cs | 4 +-- .../ShippedItemInstancePackagingQuantity.cs | 4 +-- .../Models/ShippedItemInstanceQuantity.cs | 19 +++++++++-- .../Models/ShippedItemInstanceUid.cs | 4 +-- 45 files changed, 170 insertions(+), 95 deletions(-) diff --git a/ShippedItemInstancePlugin/Models/CarrierParty.cs b/ShippedItemInstancePlugin/Models/CarrierParty.cs index 1c94f7b..8f97ff2 100644 --- a/ShippedItemInstancePlugin/Models/CarrierParty.cs +++ b/ShippedItemInstancePlugin/Models/CarrierParty.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/Classification.cs b/ShippedItemInstancePlugin/Models/Classification.cs index c179022..bf2f3f7 100644 --- a/ShippedItemInstancePlugin/Models/Classification.cs +++ b/ShippedItemInstancePlugin/Models/Classification.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ClassificationCodes.cs b/ShippedItemInstancePlugin/Models/ClassificationCodes.cs index ef36c3b..ad2ab80 100644 --- a/ShippedItemInstancePlugin/Models/ClassificationCodes.cs +++ b/ShippedItemInstancePlugin/Models/ClassificationCodes.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ClassificationCodesCode.cs b/ShippedItemInstancePlugin/Models/ClassificationCodesCode.cs index 27d6394..826537b 100644 --- a/ShippedItemInstancePlugin/Models/ClassificationCodesCode.cs +++ b/ShippedItemInstancePlugin/Models/ClassificationCodesCode.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/Item.cs b/ShippedItemInstancePlugin/Models/Item.cs index 11a1cfd..1f4e108 100644 --- a/ShippedItemInstancePlugin/Models/Item.cs +++ b/ShippedItemInstancePlugin/Models/Item.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemEffectiveTimePeriod.cs b/ShippedItemInstancePlugin/Models/ItemEffectiveTimePeriod.cs index a184fde..9e190bb 100644 --- a/ShippedItemInstancePlugin/Models/ItemEffectiveTimePeriod.cs +++ b/ShippedItemInstancePlugin/Models/ItemEffectiveTimePeriod.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemId.cs b/ShippedItemInstancePlugin/Models/ItemId.cs index ea6f251..7c351df 100644 --- a/ShippedItemInstancePlugin/Models/ItemId.cs +++ b/ShippedItemInstancePlugin/Models/ItemId.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemItemTreatment.cs b/ShippedItemInstancePlugin/Models/ItemItemTreatment.cs index 33f7b09..edce83f 100644 --- a/ShippedItemInstancePlugin/Models/ItemItemTreatment.cs +++ b/ShippedItemInstancePlugin/Models/ItemItemTreatment.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemItemTreatmentId.cs b/ShippedItemInstancePlugin/Models/ItemItemTreatmentId.cs index afa37d6..da7968c 100644 --- a/ShippedItemInstancePlugin/Models/ItemItemTreatmentId.cs +++ b/ShippedItemInstancePlugin/Models/ItemItemTreatmentId.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemItemTreatmentRegistrationStatus.cs b/ShippedItemInstancePlugin/Models/ItemItemTreatmentRegistrationStatus.cs index 69cd290..95a52a7 100644 --- a/ShippedItemInstancePlugin/Models/ItemItemTreatmentRegistrationStatus.cs +++ b/ShippedItemInstancePlugin/Models/ItemItemTreatmentRegistrationStatus.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemItemTreatmentSubstance.cs b/ShippedItemInstancePlugin/Models/ItemItemTreatmentSubstance.cs index 7ba7920..792d46b 100644 --- a/ShippedItemInstancePlugin/Models/ItemItemTreatmentSubstance.cs +++ b/ShippedItemInstancePlugin/Models/ItemItemTreatmentSubstance.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemManufacturerItemIdentification.cs b/ShippedItemInstancePlugin/Models/ItemManufacturerItemIdentification.cs index 5602695..5ecd41c 100644 --- a/ShippedItemInstancePlugin/Models/ItemManufacturerItemIdentification.cs +++ b/ShippedItemInstancePlugin/Models/ItemManufacturerItemIdentification.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemManufacturingParty.cs b/ShippedItemInstancePlugin/Models/ItemManufacturingParty.cs index 68f59e0..05a4ee9 100644 --- a/ShippedItemInstancePlugin/Models/ItemManufacturingParty.cs +++ b/ShippedItemInstancePlugin/Models/ItemManufacturingParty.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemPackaging.cs b/ShippedItemInstancePlugin/Models/ItemPackaging.cs index 60060c2..7e7d7df 100644 --- a/ShippedItemInstancePlugin/Models/ItemPackaging.cs +++ b/ShippedItemInstancePlugin/Models/ItemPackaging.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemPackagingPerPackageQuantity.cs b/ShippedItemInstancePlugin/Models/ItemPackagingPerPackageQuantity.cs index aad8500..a953343 100644 --- a/ShippedItemInstancePlugin/Models/ItemPackagingPerPackageQuantity.cs +++ b/ShippedItemInstancePlugin/Models/ItemPackagingPerPackageQuantity.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemRegistrationStatus.cs b/ShippedItemInstancePlugin/Models/ItemRegistrationStatus.cs index 5511225..09c283d 100644 --- a/ShippedItemInstancePlugin/Models/ItemRegistrationStatus.cs +++ b/ShippedItemInstancePlugin/Models/ItemRegistrationStatus.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ItemSubstance.cs b/ShippedItemInstancePlugin/Models/ItemSubstance.cs index 7dfbd44..57697b4 100644 --- a/ShippedItemInstancePlugin/Models/ItemSubstance.cs +++ b/ShippedItemInstancePlugin/Models/ItemSubstance.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/Measurement.cs b/ShippedItemInstancePlugin/Models/Measurement.cs index 847f657..ed864ea 100644 --- a/ShippedItemInstancePlugin/Models/Measurement.cs +++ b/ShippedItemInstancePlugin/Models/Measurement.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/MeasurementList.cs b/ShippedItemInstancePlugin/Models/MeasurementList.cs index 0a3831f..46d4cb5 100644 --- a/ShippedItemInstancePlugin/Models/MeasurementList.cs +++ b/ShippedItemInstancePlugin/Models/MeasurementList.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -69,7 +69,7 @@ public bool Equals(MeasurementList other) if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; - return false && base.Equals(other); + return false; } /// diff --git a/ShippedItemInstancePlugin/Models/RelatedId.cs b/ShippedItemInstancePlugin/Models/RelatedId.cs index 7f0c1a5..d6af08a 100644 --- a/ShippedItemInstancePlugin/Models/RelatedId.cs +++ b/ShippedItemInstancePlugin/Models/RelatedId.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/RelatedIdList.cs b/ShippedItemInstancePlugin/Models/RelatedIdList.cs index b824941..6adc03d 100644 --- a/ShippedItemInstancePlugin/Models/RelatedIdList.cs +++ b/ShippedItemInstancePlugin/Models/RelatedIdList.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -69,7 +69,7 @@ public bool Equals(RelatedIdList other) if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; - return false && base.Equals(other); + return false; } /// diff --git a/ShippedItemInstancePlugin/Models/Results.cs b/ShippedItemInstancePlugin/Models/Results.cs index d18eef1..286bdfa 100644 --- a/ShippedItemInstancePlugin/Models/Results.cs +++ b/ShippedItemInstancePlugin/Models/Results.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ResultsQuantitative.cs b/ShippedItemInstancePlugin/Models/ResultsQuantitative.cs index d7b3df6..b8b64cd 100644 --- a/ShippedItemInstancePlugin/Models/ResultsQuantitative.cs +++ b/ShippedItemInstancePlugin/Models/ResultsQuantitative.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShipFromParty.cs b/ShippedItemInstancePlugin/Models/ShipFromParty.cs index e429ce6..c46f21d 100644 --- a/ShippedItemInstancePlugin/Models/ShipFromParty.cs +++ b/ShippedItemInstancePlugin/Models/ShipFromParty.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -47,6 +47,13 @@ public partial class ShipFromParty : IEquatable [DataMember(Name="name")] public string Name { get; set; } + /// + /// Gets or Sets AccountId + /// + + [DataMember(Name="accountId")] + public string AccountId { get; set; } + /// /// Gets or Sets Location /// @@ -65,6 +72,7 @@ public override string ToString() sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); + sb.Append(" AccountId: ").Append(AccountId).Append("\n"); sb.Append(" Location: ").Append(Location).Append("\n"); sb.Append("}\n"); return sb.ToString(); @@ -117,6 +125,11 @@ public bool Equals(ShipFromParty other) Name != null && Name.Equals(other.Name) ) && + ( + AccountId == other.AccountId || + AccountId != null && + AccountId.Equals(other.AccountId) + ) && ( Location == other.Location || Location != null && @@ -140,6 +153,8 @@ public override int GetHashCode() hashCode = hashCode * 59 + Id.GetHashCode(); if (Name != null) hashCode = hashCode * 59 + Name.GetHashCode(); + if (AccountId != null) + hashCode = hashCode * 59 + AccountId.GetHashCode(); if (Location != null) hashCode = hashCode * 59 + Location.GetHashCode(); return hashCode; diff --git a/ShippedItemInstancePlugin/Models/ShipFromPartyLocation.cs b/ShippedItemInstancePlugin/Models/ShipFromPartyLocation.cs index 2517a79..9e48654 100644 --- a/ShippedItemInstancePlugin/Models/ShipFromPartyLocation.cs +++ b/ShippedItemInstancePlugin/Models/ShipFromPartyLocation.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShipToParty.cs b/ShippedItemInstancePlugin/Models/ShipToParty.cs index 894178f..1ee9e24 100644 --- a/ShippedItemInstancePlugin/Models/ShipToParty.cs +++ b/ShippedItemInstancePlugin/Models/ShipToParty.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -33,6 +33,13 @@ public partial class ShipToParty : IEquatable [DataMember(Name="typeCode")] public string TypeCode { get; set; } + /// + /// Gets or Sets Id + /// + + [DataMember(Name="id")] + public string Id { get; set; } + /// /// Gets or Sets Name /// @@ -63,6 +70,7 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class ShipToParty {\n"); sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" Id: ").Append(Id).Append("\n"); sb.Append(" Name: ").Append(Name).Append("\n"); sb.Append(" AccountId: ").Append(AccountId).Append("\n"); sb.Append(" Location: ").Append(Location).Append("\n"); @@ -107,6 +115,11 @@ public bool Equals(ShipToParty other) TypeCode != null && TypeCode.Equals(other.TypeCode) ) && + ( + Id == other.Id || + Id != null && + Id.Equals(other.Id) + ) && ( Name == other.Name || Name != null && @@ -136,6 +149,8 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (TypeCode != null) hashCode = hashCode * 59 + TypeCode.GetHashCode(); + if (Id != null) + hashCode = hashCode * 59 + Id.GetHashCode(); if (Name != null) hashCode = hashCode * 59 + Name.GetHashCode(); if (AccountId != null) diff --git a/ShippedItemInstancePlugin/Models/ShipToPartyLocation.cs b/ShippedItemInstancePlugin/Models/ShipToPartyLocation.cs index b310d16..25bccdb 100644 --- a/ShippedItemInstancePlugin/Models/ShipToPartyLocation.cs +++ b/ShippedItemInstancePlugin/Models/ShipToPartyLocation.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShipToPartyLocationAddress.cs b/ShippedItemInstancePlugin/Models/ShipToPartyLocationAddress.cs index 1256ef1..f04830d 100644 --- a/ShippedItemInstancePlugin/Models/ShipToPartyLocationAddress.cs +++ b/ShippedItemInstancePlugin/Models/ShipToPartyLocationAddress.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShipToPartyLocationAddressCountrySubDivisionCode.cs b/ShippedItemInstancePlugin/Models/ShipToPartyLocationAddressCountrySubDivisionCode.cs index d3642d9..201d2e6 100644 --- a/ShippedItemInstancePlugin/Models/ShipToPartyLocationAddressCountrySubDivisionCode.cs +++ b/ShippedItemInstancePlugin/Models/ShipToPartyLocationAddressCountrySubDivisionCode.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShipmentReference.cs b/ShippedItemInstancePlugin/Models/ShipmentReference.cs index 842796e..c4d83bf 100644 --- a/ShippedItemInstancePlugin/Models/ShipmentReference.cs +++ b/ShippedItemInstancePlugin/Models/ShipmentReference.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -33,6 +33,20 @@ public partial class ShipmentReference : IEquatable [DataMember(Name="id")] public string Id { get; set; } + /// + /// Gets or Sets TypeCode + /// + + [DataMember(Name="typeCode")] + public string TypeCode { get; set; } + + /// + /// Gets or Sets Note + /// + + [DataMember(Name="note")] + public string Note { get; set; } + /// /// Gets or Sets Status /// @@ -140,6 +154,8 @@ public override string ToString() var sb = new StringBuilder(); sb.Append("class ShipmentReference {\n"); sb.Append(" Id: ").Append(Id).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); + sb.Append(" Note: ").Append(Note).Append("\n"); sb.Append(" Status: ").Append(Status).Append("\n"); sb.Append(" LineNumberId: ").Append(LineNumberId).Append("\n"); sb.Append(" ShipUnitReference: ").Append(ShipUnitReference).Append("\n"); @@ -195,6 +211,16 @@ public bool Equals(ShipmentReference other) Id != null && Id.Equals(other.Id) ) && + ( + TypeCode == other.TypeCode || + TypeCode != null && + TypeCode.Equals(other.TypeCode) + ) && + ( + Note == other.Note || + Note != null && + Note.Equals(other.Note) + ) && ( Status == other.Status || Status != null && @@ -279,6 +305,10 @@ public override int GetHashCode() // Suitable nullity checks etc, of course :) if (Id != null) hashCode = hashCode * 59 + Id.GetHashCode(); + if (TypeCode != null) + hashCode = hashCode * 59 + TypeCode.GetHashCode(); + if (Note != null) + hashCode = hashCode * 59 + Note.GetHashCode(); if (Status != null) hashCode = hashCode * 59 + Status.GetHashCode(); if (LineNumberId != null) diff --git a/ShippedItemInstancePlugin/Models/ShipmentReferenceDeliveredQuantity.cs b/ShippedItemInstancePlugin/Models/ShipmentReferenceDeliveredQuantity.cs index 0327088..58e65ed 100644 --- a/ShippedItemInstancePlugin/Models/ShipmentReferenceDeliveredQuantity.cs +++ b/ShippedItemInstancePlugin/Models/ShipmentReferenceDeliveredQuantity.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShipmentReferenceListRequest.cs b/ShippedItemInstancePlugin/Models/ShipmentReferenceListRequest.cs index 091a5cd..b2d4a8c 100644 --- a/ShippedItemInstancePlugin/Models/ShipmentReferenceListRequest.cs +++ b/ShippedItemInstancePlugin/Models/ShipmentReferenceListRequest.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -69,7 +69,7 @@ public bool Equals(ShipmentReferenceListRequest other) if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; - return false && base.Equals(other); + return false; } /// diff --git a/ShippedItemInstancePlugin/Models/ShipmentReferenceListRequestEntry.cs b/ShippedItemInstancePlugin/Models/ShipmentReferenceListRequestEntry.cs index f4e3da2..00e5c08 100644 --- a/ShippedItemInstancePlugin/Models/ShipmentReferenceListRequestEntry.cs +++ b/ShippedItemInstancePlugin/Models/ShipmentReferenceListRequestEntry.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShipmentReferenceListResponse.cs b/ShippedItemInstancePlugin/Models/ShipmentReferenceListResponse.cs index ebd3364..c847b57 100644 --- a/ShippedItemInstancePlugin/Models/ShipmentReferenceListResponse.cs +++ b/ShippedItemInstancePlugin/Models/ShipmentReferenceListResponse.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -69,7 +69,7 @@ public bool Equals(ShipmentReferenceListResponse other) if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; - return false && base.Equals(other); + return false; } /// diff --git a/ShippedItemInstancePlugin/Models/ShipmentReferenceListResponseEntry.cs b/ShippedItemInstancePlugin/Models/ShipmentReferenceListResponseEntry.cs index 6dcadbc..c3c5861 100644 --- a/ShippedItemInstancePlugin/Models/ShipmentReferenceListResponseEntry.cs +++ b/ShippedItemInstancePlugin/Models/ShipmentReferenceListResponseEntry.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShipmentReferenceShipUnitReference.cs b/ShippedItemInstancePlugin/Models/ShipmentReferenceShipUnitReference.cs index 765e356..95e48d4 100644 --- a/ShippedItemInstancePlugin/Models/ShipmentReferenceShipUnitReference.cs +++ b/ShippedItemInstancePlugin/Models/ShipmentReferenceShipUnitReference.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShipmentReferenceShipUnitReferenceId.cs b/ShippedItemInstancePlugin/Models/ShipmentReferenceShipUnitReferenceId.cs index 62dde9e..bfaed09 100644 --- a/ShippedItemInstancePlugin/Models/ShipmentReferenceShipUnitReferenceId.cs +++ b/ShippedItemInstancePlugin/Models/ShipmentReferenceShipUnitReferenceId.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShipmentReferenceStatus.cs b/ShippedItemInstancePlugin/Models/ShipmentReferenceStatus.cs index 4cb384f..5bcd84b 100644 --- a/ShippedItemInstancePlugin/Models/ShipmentReferenceStatus.cs +++ b/ShippedItemInstancePlugin/Models/ShipmentReferenceStatus.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShippedItemInstance.cs b/ShippedItemInstancePlugin/Models/ShippedItemInstance.cs index 8b2723a..080ad7a 100644 --- a/ShippedItemInstancePlugin/Models/ShippedItemInstance.cs +++ b/ShippedItemInstancePlugin/Models/ShippedItemInstance.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShippedItemInstanceList.cs b/ShippedItemInstancePlugin/Models/ShippedItemInstanceList.cs index b379e46..25d5f96 100644 --- a/ShippedItemInstancePlugin/Models/ShippedItemInstanceList.cs +++ b/ShippedItemInstancePlugin/Models/ShippedItemInstanceList.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -69,7 +69,7 @@ public bool Equals(ShippedItemInstanceList other) if (ReferenceEquals(null, other)) return false; if (ReferenceEquals(this, other)) return true; - return false && base.Equals(other); + return false; } /// diff --git a/ShippedItemInstancePlugin/Models/ShippedItemInstanceLot.cs b/ShippedItemInstancePlugin/Models/ShippedItemInstanceLot.cs index 3c00f2e..1677990 100644 --- a/ShippedItemInstancePlugin/Models/ShippedItemInstanceLot.cs +++ b/ShippedItemInstancePlugin/Models/ShippedItemInstanceLot.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShippedItemInstancePackaging.cs b/ShippedItemInstancePlugin/Models/ShippedItemInstancePackaging.cs index deb1664..4b66598 100644 --- a/ShippedItemInstancePlugin/Models/ShippedItemInstancePackaging.cs +++ b/ShippedItemInstancePlugin/Models/ShippedItemInstancePackaging.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShippedItemInstancePackagingQuantity.cs b/ShippedItemInstancePlugin/Models/ShippedItemInstancePackagingQuantity.cs index ed5bc45..8b7d11c 100644 --- a/ShippedItemInstancePlugin/Models/ShippedItemInstancePackagingQuantity.cs +++ b/ShippedItemInstancePlugin/Models/ShippedItemInstancePackagingQuantity.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ diff --git a/ShippedItemInstancePlugin/Models/ShippedItemInstanceQuantity.cs b/ShippedItemInstancePlugin/Models/ShippedItemInstanceQuantity.cs index 582d469..30f898a 100644 --- a/ShippedItemInstancePlugin/Models/ShippedItemInstanceQuantity.cs +++ b/ShippedItemInstancePlugin/Models/ShippedItemInstanceQuantity.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ @@ -41,6 +41,13 @@ public partial class ShippedItemInstanceQuantity : IEquatable + /// Gets or Sets TypeCode + /// + + [DataMember(Name="typeCode")] + public string TypeCode { get; set; } + /// /// Returns the string presentation of the object /// @@ -51,6 +58,7 @@ public override string ToString() sb.Append("class ShippedItemInstanceQuantity {\n"); sb.Append(" Content: ").Append(Content).Append("\n"); sb.Append(" UnitCode: ").Append(UnitCode).Append("\n"); + sb.Append(" TypeCode: ").Append(TypeCode).Append("\n"); sb.Append("}\n"); return sb.ToString(); } @@ -96,6 +104,11 @@ public bool Equals(ShippedItemInstanceQuantity other) UnitCode == other.UnitCode || UnitCode != null && UnitCode.Equals(other.UnitCode) + ) && + ( + TypeCode == other.TypeCode || + TypeCode != null && + TypeCode.Equals(other.TypeCode) ); } @@ -113,6 +126,8 @@ public override int GetHashCode() hashCode = hashCode * 59 + Content.GetHashCode(); if (UnitCode != null) hashCode = hashCode * 59 + UnitCode.GetHashCode(); + if (TypeCode != null) + hashCode = hashCode * 59 + TypeCode.GetHashCode(); return hashCode; } } diff --git a/ShippedItemInstancePlugin/Models/ShippedItemInstanceUid.cs b/ShippedItemInstancePlugin/Models/ShippedItemInstanceUid.cs index 874d4e9..b1211b7 100644 --- a/ShippedItemInstancePlugin/Models/ShippedItemInstanceUid.cs +++ b/ShippedItemInstancePlugin/Models/ShippedItemInstanceUid.cs @@ -1,9 +1,9 @@ /* * AgGateway In-Field Product Id * - * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. + * Allows the Retailer to send information about the actual product shipped to the Farmer, including shipment identifer, product identifiers, seed lot id, mixture batch id, seed treatment and product composition. Allows the Farmer (via a mobile application or FMIS), or the Farmer's equipment manufacturer application (aka OEM Platform, e.g., Deere Operations Center, AGCO Fuse, CNH AFS, etc.) to retrieve the Product shipped by a Retailer using GET /setupfiles. V4.1 Allows shipments from the farm to the retailer/ elevator / processor as these roles are reversed as the shipFromParty is the farmer and shipToParty is the commodity processor or elevator for storage. This improves the process for receipts at the elevator. * - * OpenAPI spec version: V4 + * OpenAPI spec version: V4.1 * Contact: wg01@aggateway.org * Generated by: https://github.com/swagger-api/swagger-codegen.git */ From 5d637cceaeaffec1d270eda0fbf3a3b838e55c7d Mon Sep 17 00:00:00 2001 From: dubnemo Date: Tue, 8 Jul 2025 20:56:51 -0500 Subject: [PATCH 4/8] resolve issue 18 package quantity type code --- .../output/0/TASKDATA/TASKDATA.XML | 2 +- .../output/1/TASKDATA/LINKLIST.XML | 2 +- .../output/1/TASKDATA/TASKDATA.XML | 2 +- ISO_ADM_Exporter/output/1/adm/Catalog.adm | Bin 1958 -> 1950 bytes ShippedItemInstancePlugin/Mapper.cs | 3 +-- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML b/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML index 5adb901..a5a7650 100644 --- a/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML +++ b/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML @@ -1,6 +1,6 @@ - + diff --git a/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML b/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML index dcfe7fb..32814d8 100644 --- a/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML +++ b/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML @@ -24,7 +24,7 @@ - + diff --git a/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML b/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML index 534d56f..7130bd2 100644 --- a/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML +++ b/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML @@ -1,6 +1,6 @@ - + diff --git a/ISO_ADM_Exporter/output/1/adm/Catalog.adm b/ISO_ADM_Exporter/output/1/adm/Catalog.adm index 71952a9e4b69a803f99c827bab372fffbe488dd7..0784bf9a7542bc24de5b0f4f134d6bea836d955b 100644 GIT binary patch delta 44 vcmZ3+KaYO{FC%0BW;xnE|j)3XA{% diff --git a/ShippedItemInstancePlugin/Mapper.cs b/ShippedItemInstancePlugin/Mapper.cs index 8ad5923..c390a3e 100644 --- a/ShippedItemInstancePlugin/Mapper.cs +++ b/ShippedItemInstancePlugin/Mapper.cs @@ -275,8 +275,7 @@ private List CreateProductInstanceSpecificContextItems(ShippedItemI // need SII model point release change - Quantity.TypeCode added (preferred) // or Package.Quantity as an array // - contextItem.NestedItems.Add(CreateContextItem(shippedItemInstance.Packaging.TypeCode + - ".PackageQuantity" + contextItem.NestedItems.Add(CreateContextItem(shippedItemInstance.Packaging.TypeCode +"." + shippedItemInstance.Packaging.TypeCode , shippedItemInstance.Quantity.Content.ToString())); contextItem.NestedItems.Add(CreateContextItem(shippedItemInstance.Packaging.TypeCode + ".PackageQuantity.UOM" From 3f822aed663037280058ce1656093393556b6abf Mon Sep 17 00:00:00 2001 From: dubnemo Date: Thu, 10 Jul 2025 21:11:46 -0500 Subject: [PATCH 5/8] ItemTreatment typeCode mapped fungicide etc --- .../output/0/TASKDATA/TASKDATA.XML | 2 +- .../output/1/TASKDATA/LINKLIST.XML | 1 + .../output/1/TASKDATA/TASKDATA.XML | 2 +- ISO_ADM_Exporter/output/1/adm/Catalog.adm | Bin 1950 -> 1978 bytes ...shippedItemInstanceSwaggerGeneratedV4.json | 1 + ShippedItemInstancePlugin/Mapper.cs | 6 +++++- 6 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML b/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML index a5a7650..bcf3bdb 100644 --- a/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML +++ b/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML @@ -1,6 +1,6 @@ - + diff --git a/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML b/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML index 32814d8..a9c9ec0 100644 --- a/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML +++ b/ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML @@ -39,6 +39,7 @@ + diff --git a/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML b/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML index 7130bd2..5f1a88b 100644 --- a/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML +++ b/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML @@ -1,6 +1,6 @@ - + diff --git a/ISO_ADM_Exporter/output/1/adm/Catalog.adm b/ISO_ADM_Exporter/output/1/adm/Catalog.adm index 0784bf9a7542bc24de5b0f4f134d6bea836d955b..3ccfb872ed89f496f4c085e43567dbfc3ef6e36a 100644 GIT binary patch delta 65 zcmbQozl(nZFC*jX&3ufGth&pYxOjt8Q&U2UQWHyZQ}arcq_}wDoRG?bR3T2c(!BJ{ N5v2F5ckO)Rd5-)Wnk9)Vz|-HEec_0L&8$D*ylh diff --git a/SampleData/v4/shippedItemInstanceSwaggerGeneratedV4.json b/SampleData/v4/shippedItemInstanceSwaggerGeneratedV4.json index 9e6cd57..9a53b6a 100644 --- a/SampleData/v4/shippedItemInstanceSwaggerGeneratedV4.json +++ b/SampleData/v4/shippedItemInstanceSwaggerGeneratedV4.json @@ -84,6 +84,7 @@ "varietyName": "VT2P/RIB", "itemTreatment": { "id": "1001339", + "typeCode": "Fungicide", "name": "Fortivent® Plus", "substance": [ { diff --git a/ShippedItemInstancePlugin/Mapper.cs b/ShippedItemInstancePlugin/Mapper.cs index c390a3e..02ebb36 100644 --- a/ShippedItemInstancePlugin/Mapper.cs +++ b/ShippedItemInstancePlugin/Mapper.cs @@ -402,7 +402,11 @@ private ContextItem CreateItemTreatmentContextItem(ShippedItemInstance shippedIt { ItemItemTreatment seedTreatment = shippedItemInstance.Item.ItemTreatment; ContextItem seedTreatmentContextItem = CreateContextItem("SeedTreatment", null); - if (seedTreatment.Name != null && seedTreatment.Id != null) + if (seedTreatment?.TypeCode != null) + { + seedTreatmentContextItem.NestedItems.Add(CreateContextItem("TreatmentType", seedTreatment.TypeCode)); + } + if (seedTreatment?.Name != null && seedTreatment?.Id != null ) { seedTreatmentContextItem.NestedItems.Add(CreateContextItem("Name", seedTreatment.Name)); seedTreatmentContextItem.NestedItems.Add(CreateContextItem("Id", seedTreatment.Id)); From 581759b6e7700ace8ad92722ec82d59b107dfae7 Mon Sep 17 00:00:00 2001 From: dubnemo Date: Wed, 16 Jul 2025 16:59:39 -0500 Subject: [PATCH 6/8] adapt std 0.9.7 text file generation --- ISO_ADM_Exporter/ISO_ADM_Exporter.csproj | 1 + ISO_ADM_Exporter/Program.cs | 7 +- .../output/0/TASKDATA/TASKDATA.XML | 2 +- ISO_ADM_Exporter/output/0/adapt.json | 1493 +++++++++++++++++ .../output/1/TASKDATA/TASKDATA.XML | 2 +- ISO_ADM_Exporter/output/1/adapt.json | 472 ++++++ 6 files changed, 1973 insertions(+), 4 deletions(-) create mode 100644 ISO_ADM_Exporter/output/0/adapt.json create mode 100644 ISO_ADM_Exporter/output/1/adapt.json diff --git a/ISO_ADM_Exporter/ISO_ADM_Exporter.csproj b/ISO_ADM_Exporter/ISO_ADM_Exporter.csproj index 22d12b7..1692b72 100644 --- a/ISO_ADM_Exporter/ISO_ADM_Exporter.csproj +++ b/ISO_ADM_Exporter/ISO_ADM_Exporter.csproj @@ -10,6 +10,7 @@ + diff --git a/ISO_ADM_Exporter/Program.cs b/ISO_ADM_Exporter/Program.cs index 266cb58..2444d5d 100644 --- a/ISO_ADM_Exporter/Program.cs +++ b/ISO_ADM_Exporter/Program.cs @@ -21,6 +21,7 @@ static void Main(string[] args) AgGateway.ADAPT.ISOv4Plugin.Plugin isoPlugin = new AgGateway.ADAPT.ISOv4Plugin.Plugin(); AgGateway.ADAPT.ADMPlugin.Plugin admPlugin = new AgGateway.ADAPT.ADMPlugin.Plugin(); + AgGateway.ADAPT.StandardPlugin.Plugin standardPlugin = new AgGateway.ADAPT.StandardPlugin.Plugin(); ; int countModel = models.Count; @@ -34,9 +35,11 @@ static void Main(string[] args) Directory.CreateDirectory(folder); isoPlugin.Export(models[i], folder, p); - Console.WriteLine("Wrote ISO file to " + folder); + Console.WriteLine("Wrote ISO files to " + folder); admPlugin.Export(models[i], folder, p); - Console.WriteLine("Wrote ADM file to " + folder); + Console.WriteLine("Wrote ADM files to " + folder); + standardPlugin.Export(models[i], folder, p); + Console.WriteLine("Wrote ADAPT Std files to " + folder); } } diff --git a/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML b/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML index bcf3bdb..4a481ca 100644 --- a/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML +++ b/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML @@ -1,6 +1,6 @@ - + diff --git a/ISO_ADM_Exporter/output/0/adapt.json b/ISO_ADM_Exporter/output/0/adapt.json new file mode 100644 index 0000000..f02002b --- /dev/null +++ b/ISO_ADM_Exporter/output/0/adapt.json @@ -0,0 +1,1493 @@ +{ + "catalog": { + "brands": [ + { + "id": { + "referenceId": "-3" + }, + "name": "Beck's" + }, + { + "id": { + "referenceId": "-17" + }, + "name": "AgriGold" + } + ], + "crops": [ + { + "id": { + "referenceId": "-2", + "uniqueIds": [ + { + "idSource": "USDA", + "idText": "S", + "idTypeCode": "STRING" + } + ] + }, + "name": "Soybeans" + }, + { + "id": { + "referenceId": "-7", + "uniqueIds": [ + { + "idSource": "USDA", + "idText": "C", + "idTypeCode": "STRING" + } + ] + }, + "name": "Corn" + } + ], + "customDataTypeDefinitions": [ + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.Type", + "name": "Product.Type ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.Description", + "name": "Product.Description ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.Name", + "name": "Product.Name ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.BrandName", + "name": "Product.BrandName ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.VarietyName", + "name": "Product.VarietyName ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.GTIN", + "name": "Product.GTIN ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Type", + "name": "Type ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Codes", + "name": "Codes ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.Classification", + "name": "Product.Classification ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "LotIdentifier", + "name": "LotIdentifier ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShipFromGLN", + "name": "ShipFromGLN ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShipmentId", + "name": "ShipmentId ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShippingContainer.Type", + "name": "ShippingContainer.Type ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "name": "ShippingContainer.Id. USDOT_Number ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Carrier.SCAC", + "name": "Carrier.SCAC ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShipmentReference", + "name": "ShipmentReference ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "InFieldProductID.API.Path.id", + "name": "InFieldProductID.API.Path.id ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Name", + "name": "Name ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Id", + "name": "Id ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "SeedTreatment", + "name": "SeedTreatment ()" + } + ], + "description": "/home/dubnemo/ShippedItemInstancePlugin/SampleData/v4/2022-BecksShipment-DTtestV4.json", + "farms": [], + "fields": [], + "growers": [ + { + "id": { + "referenceId": "-4", + "uniqueIds": [ + { + "idSource": "RetailerERPAccount", + "idText": "13", + "idTypeCode": "STRING" + } + ] + }, + "name": "Jeremy Wilson" + } + ], + "products": [ + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "3230Enlist SDBX ESCALATE SDS+ BEANS" + }, + { + "definitionCode": "Product.Name", + "valueText": "3230Enlist" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "3230Enlist" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "E22388816X" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6af79ed0-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ESCALATE SDS+" + }, + { + "definitionCode": "Id", + "valueText": "ESCALATE SDS+" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-2", + "id": { + "referenceId": "-1" + }, + "name": "3230Enlist-E22388816X", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "3510Enlist SDBX ESCALATE BEANS" + }, + { + "definitionCode": "Product.Name", + "valueText": "3510Enlist" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "3510Enlist" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "F2212127X" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6b072f30-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ESCALATE" + }, + { + "definitionCode": "Id", + "valueText": "ESCALATE" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-2", + "id": { + "referenceId": "-5" + }, + "name": "3510Enlist-F2212127X", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "XL 6081AM BAG ESCALATE MED FLAT CORN" + }, + { + "definitionCode": "Product.Name", + "valueText": "XL 6081AM " + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "XL 6081AM " + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "S116FF" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6b167170-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ESCALATE" + }, + { + "definitionCode": "Id", + "valueText": "ESCALATE" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-7", + "id": { + "referenceId": "-6" + }, + "name": "XL 6081AM -S116FF", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "XL 6241QR BAG ESCALATE MED FLAT CORN" + }, + { + "definitionCode": "Product.Name", + "valueText": "XL 6241QR " + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "XL 6241QR " + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "S260FF" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6b25dac0-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ESCALATE" + }, + { + "definitionCode": "Id", + "valueText": "ESCALATE" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-7", + "id": { + "referenceId": "-8" + }, + "name": "XL 6241QR -S260FF", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "6374VT2P BAG ESCALATE MED FLAT CORN" + }, + { + "definitionCode": "Product.Name", + "valueText": "6374VT2P B" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "6374VT2P B" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "S65FF" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6b354410-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ESCALATE" + }, + { + "definitionCode": "Id", + "valueText": "ESCALATE" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-7", + "id": { + "referenceId": "-9" + }, + "name": "6374VT2P B-S65FF", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "6414VT2P BAG ESCALATE MED FLAT CORN" + }, + { + "definitionCode": "Product.Name", + "valueText": "6414VT2P B" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "6414VT2P B" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "E181FF" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6b44ad60-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ESCALATE" + }, + { + "definitionCode": "Id", + "valueText": "ESCALATE" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "0", + "id": { + "referenceId": "-10" + }, + "name": "6414VT2P B-E181FF", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "3830Enlist SDBX ESCALATE SDS+ BEANS" + }, + { + "definitionCode": "Product.Name", + "valueText": "3830Enlist" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "3830Enlist" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "F22121214X" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6b53efa0-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ESCALATE SDS+" + }, + { + "definitionCode": "Id", + "valueText": "ESCALATE SDS+" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-2", + "id": { + "referenceId": "-11" + }, + "name": "3830Enlist-F22121214X", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "4320Enlist SDBX EXCALATE SDS+ BEANS" + }, + { + "definitionCode": "Product.Name", + "valueText": "4320Enlist" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "4320Enlist" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "A22242312X" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6b6358f0-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ESCALATE SDS+" + }, + { + "definitionCode": "Id", + "valueText": "ESCALATE SDS+" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-2", + "id": { + "referenceId": "-12" + }, + "name": "4320Enlist-A22242312X", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "4030Enlist SDBX ESCALATE SDS+ BEANS" + }, + { + "definitionCode": "Product.Name", + "valueText": "4030Enlist" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "4030Enlist" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6b729b30-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ESCALATE SDS+" + }, + { + "definitionCode": "Id", + "valueText": "ESCALATE SDS+" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-2", + "id": { + "referenceId": "-13" + }, + "name": "4030Enlist-B2227251X", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "3030Enlist SDBX ESCALATE SDS+ BEANS" + }, + { + "definitionCode": "Product.Name", + "valueText": "3030Enlist" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "3030Enlist" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "E2238579X" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6b820480-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ESCALATE SDS+" + }, + { + "definitionCode": "Id", + "valueText": "ESCALATE SDS+" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-2", + "id": { + "referenceId": "-14" + }, + "name": "3030Enlist-E2238579X", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-3", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "4030Enlist SDBX ILEVO TWO BEANS" + }, + { + "definitionCode": "Product.Name", + "valueText": "4030Enlist" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "Beck's" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "4030Enlist" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "B2223136XI" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6b9194e0-cc35-11ee-b08c-81db61397719" + }, + { + "contextItems": [ + { + "definitionCode": "Name", + "valueText": "ILEVO" + }, + { + "definitionCode": "Id", + "valueText": "ILEVO" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-2", + "id": { + "referenceId": "-15" + }, + "name": "4030Enlist-B2223136XI", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-17", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "A6544-VT2RIB" + }, + { + "definitionCode": "Product.Name", + "valueText": "A6544" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "AgriGold" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "A6544" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "EF06466361" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6ba0d720-cc35-11ee-b08c-81db61397719" + } + ], + "cropId": "-7", + "id": { + "referenceId": "-16" + }, + "name": "A6544-EF06466361", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-17", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "A64516-VT2RIB" + }, + { + "definitionCode": "Product.Name", + "valueText": "A64516" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "AgriGold" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "A64516" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "EF09168506" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6bb04070-cc35-11ee-b08c-81db61397719" + } + ], + "cropId": "-7", + "id": { + "referenceId": "-18" + }, + "name": "A64516-EF09168506", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + }, + { + "brandId": "-17", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "A64259-VT2RIB" + }, + { + "definitionCode": "Product.Name", + "valueText": "A64259" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "AgriGold" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "A64259" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "II36062097" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1369458675000" + }, + { + "definitionCode": "ShipmentId", + "valueText": "7302" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id. USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "6bbf82b0-cc35-11ee-b08c-81db61397719" + } + ], + "cropId": "-7", + "id": { + "referenceId": "-19" + }, + "name": "A64259-II36062097", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + } + ] + }, + "documents": { + "workRecords": [] + }, + "rootSchemaVersion": "2.0.0" +} \ No newline at end of file diff --git a/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML b/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML index 5f1a88b..5007126 100644 --- a/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML +++ b/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML @@ -1,6 +1,6 @@ - + diff --git a/ISO_ADM_Exporter/output/1/adapt.json b/ISO_ADM_Exporter/output/1/adapt.json new file mode 100644 index 0000000..9699fe7 --- /dev/null +++ b/ISO_ADM_Exporter/output/1/adapt.json @@ -0,0 +1,472 @@ +{ + "catalog": { + "brands": [ + { + "id": { + "referenceId": "-23" + }, + "manufacturerId": "-22", + "name": "CROPLAN" + } + ], + "crops": [ + { + "id": { + "referenceId": "-21", + "uniqueIds": [ + { + "idSource": "USDA", + "idText": "C", + "idTypeCode": "STRING" + } + ] + }, + "name": "Corn" + } + ], + "customDataTypeDefinitions": [ + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.Type", + "name": "Product.Type ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.Description", + "name": "Product.Description ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.Name", + "name": "Product.Name ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.BrandName", + "name": "Product.BrandName ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.VarietyName", + "name": "Product.VarietyName ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.GTIN", + "name": "Product.GTIN ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.PerPackageQuantity", + "name": "Product.PerPackageQuantity ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.PerPackageQuantity.UOM", + "name": "Product.PerPackageQuantity.UOM ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Type", + "name": "Type ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Codes", + "name": "Codes ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Product.Classification", + "name": "Product.Classification ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "LotIdentifier", + "name": "LotIdentifier ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShipUnitTypeCode", + "name": "ShipUnitTypeCode ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "SeedBox.Id", + "name": "SeedBox.Id ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "SeedBox.GrossWeight", + "name": "SeedBox.GrossWeight ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "SeedBox.GrossWeight.UOM", + "name": "SeedBox.GrossWeight.UOM ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "SeedBox.SeedBox", + "name": "SeedBox.SeedBox ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "SeedBox.PackageQuantity.UOM", + "name": "SeedBox.PackageQuantity.UOM ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Packaging", + "name": "Packaging ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShipFromGLN", + "name": "ShipFromGLN ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShipmentId", + "name": "ShipmentId ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShippingContainer.Type", + "name": "ShippingContainer.Type ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShippingContainer.Id.USDOT_Number", + "name": "ShippingContainer.Id.USDOT_Number ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Carrier.SCAC", + "name": "Carrier.SCAC ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "ShipmentReference", + "name": "ShipmentReference ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "InFieldProductID.API.Path.id", + "name": "InFieldProductID.API.Path.id ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "AgGateway", + "name": "AgGateway ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "RelatedIdentifiers", + "name": "RelatedIdentifiers ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "encodingSchemaId", + "name": "encodingSchemaId ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "DataMatrixId", + "name": "DataMatrixId ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "schemaAgencyId", + "name": "schemaAgencyId ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "EncodedIdentification", + "name": "EncodedIdentification ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "QuantitativeMeasurements.1", + "name": "QuantitativeMeasurements.1 ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Results", + "name": "Results ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "TreatmentType", + "name": "TreatmentType ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Name", + "name": "Name ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Id", + "name": "Id ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "Substance", + "name": "Substance ()" + }, + { + "dataDefinitionBaseTypeCode": "TEXT", + "dataDefinitionStatusCode": "INVALID", + "definitionCode": "SeedTreatment", + "name": "SeedTreatment ()" + } + ], + "description": "/home/dubnemo/ShippedItemInstancePlugin/SampleData/v4/shippedItemInstanceSwaggerGeneratedV4.json", + "farms": [], + "fields": [], + "growers": [ + { + "id": { + "referenceId": "-24", + "uniqueIds": [ + { + "idSource": "RetailerERPAccount", + "idText": "12345", + "idTypeCode": "STRING" + } + ] + }, + "name": "Farmer Bob" + } + ], + "manufacturers": [ + { + "id": { + "referenceId": "-22" + }, + "name": "WinField United" + } + ], + "products": [ + { + "brandId": "-23", + "contextItems": [ + { + "definitionCode": "Product.Type", + "valueText": "SEED" + }, + { + "definitionCode": "Product.Description", + "valueText": "VT DoublePro RIB Complete Relative Maturity 85 days" + }, + { + "definitionCode": "Product.Name", + "valueText": "CP2585" + }, + { + "definitionCode": "Product.BrandName", + "valueText": "CROPLAN" + }, + { + "definitionCode": "Product.VarietyName", + "valueText": "VT2P/RIB" + }, + { + "definitionCode": "Product.GTIN", + "valueText": "00888346580291" + }, + { + "definitionCode": "Product.PerPackageQuantity", + "valueText": "55" + }, + { + "definitionCode": "Product.PerPackageQuantity.UOM", + "valueText": "LB" + }, + { + "contextItems": [ + { + "definitionCode": "Type", + "valueText": "Crop" + }, + { + "definitionCode": "Codes" + } + ], + "definitionCode": "Product.Classification", + "valueText": "" + }, + { + "definitionCode": "LotIdentifier", + "valueText": "769MXJ4JX" + }, + { + "contextItems": [ + { + "definitionCode": "ShipUnitTypeCode", + "valueText": "SeedBox" + }, + { + "definitionCode": "SeedBox.Id", + "valueText": "844f95ac-422a-406a-91c5-65d017de2f09" + }, + { + "definitionCode": "SeedBox.GrossWeight", + "valueText": "2475" + }, + { + "definitionCode": "SeedBox.GrossWeight.UOM", + "valueText": "LB" + }, + { + "definitionCode": "SeedBox.SeedBox", + "valueText": "45" + }, + { + "definitionCode": "SeedBox.PackageQuantity.UOM", + "valueText": "BG" + } + ], + "definitionCode": "Packaging" + }, + { + "contextItems": [ + { + "definitionCode": "ShipFromGLN", + "valueText": "1100028417954" + }, + { + "definitionCode": "ShipmentId", + "valueText": "34343535" + }, + { + "definitionCode": "ShippingContainer.Type", + "valueText": "Semi-Trailer" + }, + { + "definitionCode": "ShippingContainer.Id.USDOT_Number", + "valueText": "12345678" + }, + { + "definitionCode": "Carrier.SCAC", + "valueText": "NA" + } + ], + "definitionCode": "ShipmentReference" + }, + { + "definitionCode": "InFieldProductID.API.Path.id", + "valueText": "0-539f82b1-df6e-11e9-b486-5ce0c51e62ce" + }, + { + "contextItems": [ + { + "definitionCode": "AgGateway", + "valueText": "AGIIS" + } + ], + "definitionCode": "RelatedIdentifiers" + }, + { + "contextItems": [ + { + "definitionCode": "encodingSchemaId", + "valueText": "DataMatrix" + }, + { + "definitionCode": "DataMatrixId", + "valueText": "0-539f82b1-df6e-11e9-b486-5ce0c51e62ce" + }, + { + "definitionCode": "schemaAgencyId", + "valueText": "GS1" + } + ], + "definitionCode": "EncodedIdentification" + }, + { + "contextItems": [ + { + "definitionCode": "QuantitativeMeasurements.1" + } + ], + "definitionCode": "Results" + }, + { + "contextItems": [ + { + "definitionCode": "TreatmentType", + "valueText": "Fungicide" + }, + { + "definitionCode": "Name", + "valueText": "Fortivent® Plus" + }, + { + "definitionCode": "Id", + "valueText": "1001339" + }, + { + "definitionCode": "Substance", + "valueText": "" + } + ], + "definitionCode": "SeedTreatment" + } + ], + "cropId": "-21", + "id": { + "referenceId": "-20" + }, + "manufacturerId": "-22", + "name": "CP2585-769MXJ4JX", + "productFormCode": "SOLID", + "productStatusCode": "ACTIVE", + "productTypeCode": "NOT_SPECIFIED" + } + ] + }, + "documents": { + "workRecords": [] + }, + "rootSchemaVersion": "2.0.0" +} \ No newline at end of file From 1a8b61d80d60949a834f56670731793affaa3ac9 Mon Sep 17 00:00:00 2001 From: dubnemo Date: Fri, 8 Aug 2025 07:14:31 -0500 Subject: [PATCH 7/8] remove ADAPT Std 0.9.7 from ISO_ADM_Exporter test case --- ISO_ADM_Exporter/ISO_ADM_Exporter.csproj | 2 +- ISO_ADM_Exporter/Program.cs | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ISO_ADM_Exporter/ISO_ADM_Exporter.csproj b/ISO_ADM_Exporter/ISO_ADM_Exporter.csproj index 1692b72..b363db7 100644 --- a/ISO_ADM_Exporter/ISO_ADM_Exporter.csproj +++ b/ISO_ADM_Exporter/ISO_ADM_Exporter.csproj @@ -10,7 +10,7 @@ - + diff --git a/ISO_ADM_Exporter/Program.cs b/ISO_ADM_Exporter/Program.cs index 2444d5d..7217eb6 100644 --- a/ISO_ADM_Exporter/Program.cs +++ b/ISO_ADM_Exporter/Program.cs @@ -21,7 +21,7 @@ static void Main(string[] args) AgGateway.ADAPT.ISOv4Plugin.Plugin isoPlugin = new AgGateway.ADAPT.ISOv4Plugin.Plugin(); AgGateway.ADAPT.ADMPlugin.Plugin admPlugin = new AgGateway.ADAPT.ADMPlugin.Plugin(); - AgGateway.ADAPT.StandardPlugin.Plugin standardPlugin = new AgGateway.ADAPT.StandardPlugin.Plugin(); + // AgGateway.ADAPT.StandardPlugin.Plugin standardPlugin = new AgGateway.ADAPT.StandardPlugin.Plugin(); ; int countModel = models.Count; @@ -38,8 +38,8 @@ static void Main(string[] args) Console.WriteLine("Wrote ISO files to " + folder); admPlugin.Export(models[i], folder, p); Console.WriteLine("Wrote ADM files to " + folder); - standardPlugin.Export(models[i], folder, p); - Console.WriteLine("Wrote ADAPT Std files to " + folder); + // standardPlugin.Export(models[i], folder, p); + // Console.WriteLine("Wrote ADAPT Std files to " + folder); } } From 1acf57e18d91b96f00e8627fcaf0dc93cd779807 Mon Sep 17 00:00:00 2001 From: dubnemo Date: Fri, 8 Aug 2025 07:21:33 -0500 Subject: [PATCH 8/8] test output good --- ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML | 2 +- ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML b/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML index 4a481ca..1ab66e0 100644 --- a/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML +++ b/ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML @@ -1,6 +1,6 @@ - + diff --git a/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML b/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML index 5007126..81b5362 100644 --- a/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML +++ b/ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML @@ -1,6 +1,6 @@ - +