Hey everyone. Has anyone come across this error with Simphony before? We are using Gen1 Transaction Services and attempting a PostTransactionEx2Request. It looks to be a printing error but not sure what about the printing configuration would cause a threading issue.
Thanks in advance.
Thanks in advance.
Code:
& ppMenuItems‚ SimphonyPosApi_ComboMealEx[]& ppComboMeals‚ SimphonyPosApi_SvcChargeEx& pServiceChg‚ SimphonyPosApi_DiscountEx[]& pSubTotalDiscount‚ SimphonyPosApi_TmedDetailItemEx2[]& pTmedDetailEx‚ SimphonyPosApi_TotalsResponseEx& totalsResponse‚ String[]& ppCheckPrintLines‚ String[]& ppVoucherOutput‚ SimphonyPosApi_Extensibility[]& checkExtensibilityDetails),
12/06/23 10:27:39.776, 5, 0,API , 40,Simphony Pos Api: Post transaction error for check 338: OpsProcessor cannot be accessed by a thread other than the one it was started on.,
12/06/23 10:27:39.776, 5, 0,API , 40,Simphony Pos Api: Simphony POS API error message: OpsProcessor cannot be accessed by a thread other than the one it was started on.‚ Stack trace: at Micros.Ops.OpsProcessor.VerifyAccess()
at Micros.Ops.OpsProcessor.OpenRequest(OpsRequest request)
at Micros.Ops.OpsProcessor.GetPrinterFromGroup(PrinterType printerType‚ List`1 printers‚ PrinterID definedPrinter‚ PrinterGroupSelection data)
at Micros.PosCore.DataStore.DbRecords.WorkstationPrinters.FindPrinterIdInternal(PrinterType printerType‚ Boolean doLookup)
at Micros.PosCore.Printing.PrintGuestCheck.GetPrinters()
at Micros.PosCore.Printing.PrintGuestCheck.CreatePrintJob(PrintJob& job‚ Boolean& onDemand‚ Boolean& isCustReceipt)
at Micros.PosCore.Printing.GuestCheckPrinting.Print(GuestCheckPrintParameters parameters‚ PrintJob& onDemandCustomeReceiptPrintJob‚ Print2ndCheckQuestion print2ndCheckQuestion‚ Enum e‚ Boolean tfCurCnvActive)
at SimphonyPosApi.TSOPS.DoPrinting(SimphonyPosApi_GuestCheck& pGuestCheck‚ GuestCheck check‚ TenderInfo tmedInfo‚ DbEmployee empl)
at SimphonyPosApi.TSOPS.PostCheck(SimphonyPosApi_GuestCheck& pGuestCheck‚ GuestCheck check‚ Int32 tenderObjNum)
at SimphonyPosApi.TSOPS.PostNewTransaction(SimphonyPosApi_GuestCheck& pGuestCheck‚ SimphonyPosApi_MenuItemEx[]& ppMenuItems‚ SimphonyPosApi_ComboMealEx[]& ppComboMeals‚ SimphonyPosApi_SvcChargeEx& pServiceChg‚ SimphonyPosApi_DiscountEx[]& pSubTotalDiscount‚ SimphonyPosApi_TmedDetailItemEx2[]& pTmedDetailEx‚ SimphonyPosApi_TotalsResponseEx& totalsResponse‚ String[]& ppCheckPrintLines‚ String[]& ppVoucherOutput‚ SimphonyPosApi_Extensibility[]& checkExtensibilityDetails)
at SimphonyPosApi.TransactionServicesClass.PostTransactionEx2(SimphonyPosApi_GuestCheck& pGuestCheck‚ SimphonyPosApi_MenuItemEx[]& ppMenuItemsEx‚ SimphonyPosApi_ComboMealEx[]& ppComboMealsEx‚ SimphonyPosApi_SvcChargeEx& pServiceChgEx‚ SimphonyPosApi_DiscountEx[]& pSubTotalDiscountEx‚ SimphonyPosApi_TmedDetailItemEx2[]& pTmedDetailEx2‚ SimphonyPosApi_TotalsResponseEx& pTotalsResponseEx‚ String[]& ppCheckPrintLines‚ String[]& ppVoucherOutput‚ SimphonyPosApi_Extensibility[] checkExtensibilityDetails)
at SimphonyPosApi_Web.SimphonyPosAPIWeb.PostTransactionEx2(PostTransactionEx2Request request)
at SimphonyPosApi_Web.SimphonyPosAPIWeb.PostTransactionEx2(String& pGuestCheck‚ String& ppMenuItemsEx‚ String& ppComboMealsEx‚ String& pSvcChargeEx‚ String& pSubTotalDiscountEx‚ String& pTmedDetailEx2‚ String& pTotalsResponseEx‚ String& ppCheckPrintLines‚ String& ppVoucherOutput‚ String checkExtensibilityDetails),]