Inbound from Innova - Message Types

This page lists the messages Innova can send into the Inbound from Innova table (WiFi Inbound from Innova), and what Wisefish MES Connect does with each one. The mapping is in codeunit WiFiAPIs MES Get Innova Data (23014840). How the MES Transactions are posted is described in the MES Transaction documentation.

Applies to all messages

  • Nothing is done unless Innb.Innova to MES is Active is set in setup. An Innb.Innova MES Terminal must also be set up.

  • The entry is created on the setup's MES terminal. Ext. Reference = the inbound LineNo. Stock Center is mapped from ProducerID. Location is mapped from WarehouseID, or is the terminal's production location if blank.

  • ItemID is mapped to a BC item no. through Data Mapping, if Data Mapping is active.

  • If Ignore Packet Id is set, PacketID is not copied (otherwise it becomes the Trade Item Barcode).

  • When handled, the entry is moved to Flushed Inb. from Innova and linked to the MES Transaction ID. Messages with other IDs stay in the inbound table untouched.

Message types

The example bodies use the field names on the Inbound from Innova page. The values are taken from test entries in the demo company. 108 and 122 have no test data yet, so their examples are made up.

Message Type

ID (soapId)

How it works

Example body

Production (output)

107

Creates an Output MES Transaction with one line.

  • Stage = the terminal's Production Stage. Lot = LotID. Activity/posting date = ProductionDate.

  • Quantity and unit are read according to the Reading Innova Quantity setup (e.g. Masters = no. of trade items). Weight is used for irregular trade items, or for all items if Use Weight for all entries is set.

  • If DelAgreeNo (or reserveToAgreementNo) is sent, the line is reserved to that Sales Agreement line and the agreement is shown on the header.

  • Requires Transfer Innb.Innova Outputs in setup.

JSON
{
  "SoapID": "107",
  "PacketID": 991001,
  "ProducerID": "GRENIVÍK",
  "WarehouseID": "GR-A",
  "ItemID": "PEL-HER-200",
  "LotID": "XI-S1",
  "Masters": 2,
  "Weight": 40,
  "ProductionDate": "2026-10-16T00:00:00Z",
  "RegistrationDate": "2026-10-16T12:00:00Z"
}

Production of palletized and reserved item

107

Same as Production above, but the packet is placed on a pallet and reserved to a Sales Agreement line.

  • Pallet Barcode = SSCC, Pallet No. = PalletNo, Pallet Status = PalletStatus.

  • Reserved to DelAgreeNo / DelAgreeLnNo.

  • Combining: if Combine Output Entries is set, the entry is added to an existing unprocessed (On Hold) Output transaction with the same terminal, item, lot and pallet, instead of creating a new transaction. If PacketID is 0 (packets without barcodes) and a matching line exists, the quantity and weight are added to that line; otherwise a new line is added to the transaction.

JSON
{
  "SoapID": "107",
  "PacketID": 991075,
  "ProducerID": "GRENIVÍK",
  "WarehouseID": "GR-A",
  "ItemID": "PEL-HER-200",
  "LotID": "XI-S1",
  "Masters": 2,
  "Weight": 40,
  "SSCC": "035900000009910556",
  "PalletNo": "XI-P13",
  "PalletStatus": "Open",
  "DelAgreeNo": "SDA260232",
  "DelAgreeLnNo": 10000,
  "ProductionDate": "2026-10-22T00:00:00Z",
  "RegistrationDate": "2026-10-22T12:00:00Z"
}

Production credit (reversal of output)

123

Creates an Output MES Transaction marked Credit. The quantity and weight on the line are given a negative sign. The body is the same as the original 107 entry it reverses.

  • Never combined with other transactions.

  • Requires Transfer Innb.Innova Outputs in setup.

JSON
{
  "SoapID": "123",
  "PacketID": 991001,
  "ProducerID": "GRENIVÍK",
  "WarehouseID": "GR-A",
  "ItemID": "PEL-HER-200",
  "LotID": "XI-S1",
  "Masters": 2,
  "Weight": 40,
  "ProductionDate": "2026-10-16T00:00:00Z",
  "RegistrationDate": "2026-10-16T12:00:00Z"
}

Palletizing

111

The items have already been produced; this message only puts them on a pallet (and reserves them if an agreement is given). Creates a Shipment MES Transaction with one line.

  • Pallet Barcode = SSCC, Pallet No. = PalletNo. If no pallet status is sent, it is set to Open so the trade item can be added to the pallet.

  • Reserved to DelAgreeNo / reserveToAgreementNo if sent.

  • Combined per pallet in the same way as 107, if Combine Output Entries is set.

  • Requires Transfer Innb.Innova Outputs in setup.

JSON
{
  "SoapID": "111",
  "PacketID": 991043,
  "ProducerID": "GRENIVÍK",
  "WarehouseID": "GR-A",
  "ItemID": "PEL-HER-200",
  "LotID": "XI-S1",
  "Masters": 2,
  "Weight": 40,
  "SSCC": "035900000009910464",
  "PalletNo": "XI-P6",
  "ProductionDate": "2026-10-20T00:00:00Z",
  "RegistrationDate": "2026-10-20T12:00:00Z"
}

Sales line (item on a Delivery Agreement line)

120

Creates a Shipment MES Transaction with one line, reserved to the Sales Agreement line DelAgreeNo / DelAgreeLnNo. The agreement is shown on the header.

  • No separate setup switch; it is processed whenever the Innova → MES transfer is active.

JSON
{
  "SoapID": "120",
  "ItemID": "PEL-HER-200",
  "Masters": 2,
  "DelAgreeNo": "SDA260232",
  "DelAgreeLnNo": 10000
}

Receipt

108

Creates a Receipt MES Transaction with one line, for a standard BC Purchase Order (Receipt Agreements are not supported).

  • Stage = the terminal's Receiving Stage. Lot = LotID. Document = reserveToAgreementNo; the line is reserved to the purchase line reserveToAgreementLineNo.

  • Quantity: Quantity + QuantityUnit if sent; else Weight in the Innova weight unit; else Masters in the trade item unit.

  • Requires Transfer Innb.Innova Receipts in setup.

JSON
{
  "SoapID": "108",
  "ProducerID": "GRENIVÍK",
  "WarehouseID": "GR-A",
  "ItemID": "10501420",
  "LotID": "XI-R1",
  "Weight": 1250,
  "reserveToAgreementType": "BCPurchaseDoc",
  "reserveToAgreementNo": "PO-000123",
  "reserveToAgreementLineNo": 10000,
  "RegistrationDate": "2026-10-16T08:00:00Z"
}

Consumption

122

Creates a Consumption MES Transaction with one line.

  • Header lot = LotTo (the production lot). Line consumed lot = LotFrom.

  • Activity date = UsageDate, posting date = RegistrationDate. Stage is left blank (items can be consumed from any stage).

  • Quantity is read according to the Reading Innova Quantity setup.

  • Requires Transfer InbInnova Consumption in setup.

JSON
{
  "SoapID": "122",
  "PacketID": 991101,
  "ProducerID": "GRENIVÍK",
  "WarehouseID": "GR-A",
  "ItemID": "10501420",
  "LotFrom": "XI-R1",
  "LotTo": "XI-S1",
  "Masters": 1,
  "Quantity": 1,
  "Weight": 24.61,
  "UsageDate": "2026-10-16",
  "RegistrationDate": "2026-10-16T14:00:00Z"
}

Production started (In process at MES)

300

No MES Transaction is created; only a status is updated.

  • reserveToAgreementType = Delivery: MES Status on the Delivery Agreement header is set to In Process at MES.

  • reserveToAgreementType = BCPurchaseDoc: MES Status on the Purchase Order line is set to In Process at MES. If no line no. is sent, all lines on the order are updated.

  • Any other agreement type gives an error.

JSON
{
  "SoapID": "300",
  "reserveToAgreementType": "Delivery",
  "reserveToAgreementNo": "SDA260232",
  "RegistrationDate": "2026-10-22T12:00:00Z"
}

Production finished (MES finished)

301

  • reserveToAgreementType = Delivery: creates a Shipment MES Transaction without lines for the Delivery Agreement. It is processed after the other transactions for the agreement, and then sets the agreement's MES Status to MES Finished.

  • reserveToAgreementType = BCPurchaseDoc: MES Status on the Purchase Order line is set to MES Finished. If Transfer Innb.Innova Receipts is set, a Post Document MES Transaction is also created to post the Purchase Order.

  • Any other agreement type gives an error.

JSON
{
  "SoapID": "301",
  "reserveToAgreementType": "Delivery",
  "reserveToAgreementNo": "SDA260232",
  "RegistrationDate": "2026-10-22T13:00:00Z"
}