-
Posting the Output from MES Transaction Output line displays an error as follows:
BS: I have not been getting this lately, since I added one line - so I think it is gone.
If requesting support, please provide the following details to help troubleshooting:
Error message:
The record in table Trade Item Journal Line already exists. Identification fields and values: Journal Template Name='OUTPUT',Journal Batch Name='DEFAULT',Line No.='10'
Internal session ID:
2324428e-3e45-4965-b347-0bf6d1663c6f
Application Insights session ID:
6ffa476a-4731-454d-81ab-f35083b18016
Client activity id:
38dee258-e1d3-458e-b619-bb3ff3c3c678
Time stamp on error:
2026-03-10T13:15:06.9644621Z
User telemetry id:
247c4be4-2d4d-4d85-bfc1-266db83d2105
AL call stack:
"WiFiAPIs MES Post Transaction"(CodeUnit 23014823).TIJournalLine_Init line 15 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs MES Post Transaction"(CodeUnit 23014823).PostOutput line 24 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs MES Post Transaction"(CodeUnit 23014823).PostTransaction line 27 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs MES Handle Queue"(CodeUnit 23014821).HandleTransactions line 35 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs MES Handle Queue"(CodeUnit 23014821).HandleOneTransaction line 5 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs MES Transactions"(Page 23014823)."Action_Process - OnAction"(Trigger) line 13 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs Base & Setup"(Page 23014800)."Transactions - OnAction"(Trigger) line 3 - Wisefish API by WiseFish version 24.2.0.0
-
Posting a Fishing Trip from the MES Transaction line displays error as below:
BS: This is the same as 1 above.
If requesting support, please provide the following details to help troubleshooting:
Error message:
The record in table Trade Item Journal Line already exists. Identification fields and values: Journal Template Name='POSITIVE A',Journal Batch Name='DEFAULT',Line No.='10'
Internal session ID:
2324428e-3e45-4965-b347-0bf6d1663c6f
Application Insights session ID:
6ffa476a-4731-454d-81ab-f35083b18016
Client activity id:
052261a9-e3cc-4d98-b4d1-f93255e2920e
Time stamp on error:
2026-03-10T13:17:44.4695895Z
User telemetry id:
247c4be4-2d4d-4d85-bfc1-266db83d2105
AL call stack:
"WiFiAPIs MES Post Transaction"(CodeUnit 23014823).TIJournalLine_Init line 15 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs MES Post Transaction"(CodeUnit 23014823).PostReceipt_onFishingTrip line 18 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs MES Post Transaction"(CodeUnit 23014823).PostTransaction line 16 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs MES Handle Queue"(CodeUnit 23014821).HandleTransactions line 35 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs MES Handle Queue"(CodeUnit 23014821).HandleOneTransaction line 5 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs MES Transactions"(Page 23014823)."Action_Process - OnAction"(Trigger) line 13 - Wisefish API by WiseFish version 24.2.0.0
"WiFiAPIs Base & Setup"(Page 23014800)."Transactions - OnAction"(Trigger) line 3 - Wisefish API by WiseFish version 24.2.0.0
-
Currently user is allowed to add a new line to already processed transaction. There should be a check in endpoint and it should not allow user to add a new line to already processed transaction.
BS: Fixed. -
Posting the Output transaction displays an error as below: This happens because the “documentNo” used in request is not found in the system. The error message should be improved so that it displays the meaningful message about document not existing rather than document type must not be in MES.
BS: There is a different message now..
-
The Output is created through Endpoint for Delivery Agreement. When I try to post it, I get an error as follows.
BS: There was no weight on the lines, so I added it. → Then it was processed without error. You can look. I think I need to
- If it’s a regular Trade Item, just get the Weight from the Item card and calculate it.
- If it’s a irregular Trade Item, then require weight, and put it in the error handling.
I think I will ask Hannes to be sure.
When I discuss about this specific issue to Kristjan, he mentioned error as such is displayed when any of the quantities as in below screenshot is missing. May be we also need Trade Item Base Quantity for posting.