Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ISO_ADM_Exporter/output/0/TASKDATA/TASKDATA.XML
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ISO11783_TaskData VersionMajor="4" VersionMinor="2" ManagementSoftwareManufacturer="AgGateway" ManagementSoftwareVersion="1.0" TaskControllerManufacturer="" TaskControllerVersion="" DataTransferOrigin="1">
<!--Export created 6/12/2025 8:49:53 PM-->
<!--Export created 7/10/2025 9:10:32 PM-->
<PGP A="PGP1" B="CropType" C="2" />
<CTP A="CTP1" B="Soybeans" C="PGP1">
<CVT A="CVT1" B="3230Enlist-E22388816X" C="PDT1" />
Expand Down
3 changes: 2 additions & 1 deletion ISO_ADM_Exporter/output/1/TASKDATA/LINKLIST.XML
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<LNK A="PDT1" B="Packaging.SeedBox.Id|844f95ac-422a-406a-91c5-65d017de2f09" />
<LNK A="PDT1" B="Packaging.SeedBox.GrossWeight|2475" />
<LNK A="PDT1" B="Packaging.SeedBox.GrossWeight.UOM|LB" />
<LNK A="PDT1" B="Packaging.SeedBox.PackageQuantity|45" />
<LNK A="PDT1" B="Packaging.SeedBox.SeedBox|45" />
<LNK A="PDT1" B="Packaging.SeedBox.PackageQuantity.UOM|BG" />
<LNK A="PDT1" B="ShipmentReference.ShipFromGLN|1100028417954" />
<LNK A="PDT1" B="ShipmentReference.ShipmentId|34343535" />
Expand All @@ -39,6 +39,7 @@
<LNK A="PDT1" B="Results.QuantitativeMeasurements.1.SeedCount|892" />
<LNK A="PDT1" B="Results.QuantitativeMeasurements.1.SeedCount.UOM|count/bg" />
<LNK A="PDT1" B="Results.QuantitativeMeasurements.1.SeedCount.Timestamp|2/8/2021 12:17:45 PM" />
<LNK A="PDT1" B="SeedTreatment.TreatmentType|Fungicide" />
<LNK A="PDT1" B="SeedTreatment.Name|Fortivent® Plus" />
<LNK A="PDT1" B="SeedTreatment.Id|1001339" />
<LNK A="PDT1" B="SeedTreatment.Substance.Name|Ethaboxam Fungicide" />
Expand Down
2 changes: 1 addition & 1 deletion ISO_ADM_Exporter/output/1/TASKDATA/TASKDATA.XML
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<ISO11783_TaskData VersionMajor="4" VersionMinor="2" ManagementSoftwareManufacturer="AgGateway" ManagementSoftwareVersion="1.0" TaskControllerManufacturer="" TaskControllerVersion="" DataTransferOrigin="1">
<!--Export created 6/12/2025 8:49:53 PM-->
<!--Export created 7/10/2025 9:10:32 PM-->
<PGP A="PGP1" B="CropType" C="2" />
<CTP A="CTP1" B="Corn" C="PGP1">
<CVT A="CVT1" B="CP2585-769MXJ4JX" C="PDT1" />
Expand Down
Binary file modified ISO_ADM_Exporter/output/1/adm/Catalog.adm
Binary file not shown.
1 change: 1 addition & 0 deletions SampleData/v4/shippedItemInstanceSwaggerGeneratedV4.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
"varietyName": "VT2P/RIB",
"itemTreatment": {
"id": "1001339",
"typeCode": "Fungicide",
"name": "Fortivent® Plus",
"substance": [
{
Expand Down
9 changes: 6 additions & 3 deletions ShippedItemInstancePlugin/Mapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,7 @@ private List<ContextItem> 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"
Expand Down Expand Up @@ -403,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));
Expand Down
4 changes: 2 additions & 2 deletions ShippedItemInstancePlugin/Models/CarrierParty.cs
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions ShippedItemInstancePlugin/Models/Classification.cs
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions ShippedItemInstancePlugin/Models/ClassificationCodes.cs
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions ShippedItemInstancePlugin/Models/ClassificationCodesCode.cs
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions ShippedItemInstancePlugin/Models/Item.cs
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions ShippedItemInstancePlugin/Models/ItemEffectiveTimePeriod.cs
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions ShippedItemInstancePlugin/Models/ItemId.cs
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions ShippedItemInstancePlugin/Models/ItemItemTreatment.cs
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
4 changes: 2 additions & 2 deletions ShippedItemInstancePlugin/Models/ItemItemTreatmentId.cs
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -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
*/
Expand Down
Loading