Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Micros/Simphony Transactions Service error when posting

Status
Not open for further replies.

SaberPOS

Programmer
Mar 12, 2021
12
US
Hey everyone. I was hoping maybe someone might be able to point me in the right direction with Transaction Services.

I'm trying to do an integration with Simphony First Edition 1.71 using transaction service. Unfortunately I keep getting an error when trying to Post new checks or to add items to existing checks. Everything else is working fine, like grabbing checks or menu items. But when I try to add something new I get the errors below. I thought this was a setting in the RVC Parameters>Posting and Control but It doesn't seem to have helped any. Has anyone seen this before or know where I should look next?

I also included the log file from TS.
Thanks!


3/25/2021 1:33:50 PM - ERROR - Operation [Write Check and Post Totals] failed.
An exception has been caught in CheckFuncs.WriteCheckWithTotalsPosting().
Message: Exception of type 'Micros.LES.EGateway.MemoryStreamSerializer+SerializerException' was thrown.
Stack Trace: at Micros.LES.EGateway.MemoryStreamSerializer.Serialize(Stream s, String str)
at Micros.TotalsPosting.CGwCheckTotal_3.Serialize(Stream s)
at Micros.TotalsPosting.CGwCheckTotal.Serialize(Stream s)
at Micros.TotalsPosting.CGwCheck.Serialize(Stream s)
at Micros.TotalsPosting.CGwWriteCheckReq.Serialize(Stream s)
at Micros.TotalsPosting.CGwWriteCheckPostSaleReq.Serialize(Stream s)
at Simphony.TS.Ops.CheckFuncs.WriteCheckWithTotalsPosting(Check check, Int64 rvcDbId, Int64 workstationDbId, TransactionStatus transStatus, String checkPostingServer, Int32 decimalPlaces, SaleDbInfo saleDbInfo, BaseTotals baseTotals, CheckSummaryTotals summaryTotals, PropertyParameters propParams, RvcParameters rvcParams)

3/25/2021 1:33:50 PM - INFO - A TsException has been caught while processing a transaction. An attempt will be made to unwind operations.
3/25/2021 1:33:50 PM - INFO - Transaction Services experienced an error and cannot continue to process this request.
Reason: Operation [Write Check and Post Totals] failed.
An exception has been caught in CheckFuncs.WriteCheckWithTotalsPosting().
Message: Exception of type 'Micros.LES.EGateway.MemoryStreamSerializer+SerializerException' was thrown.
Stack Trace: at Micros.LES.EGateway.MemoryStreamSerializer.Serialize(Stream s, String str)
at Micros.TotalsPosting.CGwCheckTotal_3.Serialize(Stream s)
at Micros.TotalsPosting.CGwCheckTotal.Serialize(Stream s)
at Micros.TotalsPosting.CGwCheck.Serialize(Stream s)
at Micros.TotalsPosting.CGwWriteCheckReq.Serialize(Stream s)
at Micros.TotalsPosting.CGwWriteCheckPostSaleReq.Serialize(Stream s)
at Simphony.TS.Ops.CheckFuncs.WriteCheckWithTotalsPosting(Check check, Int64 rvcDbId, Int64 workstationDbId, TransactionStatus transStatus, String checkPostingServer, Int32 decimalPlaces, SaleDbInfo saleDbInfo, BaseTotals baseTotals, CheckSummaryTotals summaryTotals, PropertyParameters propParams, RvcParameters rvcParams)

Error Code: InternalProcessingError


3/25/2021 2:04:03 PM - ERROR - Operation [Create Check] failed.
An exception has been caught in CheckFuncs.CreateCheckInDb().
Message: Exception of type 'Micros.LES.EGateway.MemoryStreamSerializer+SerializerException' was thrown.
Stack Trace: at Micros.LES.EGateway.MemoryStreamSerializer.Serialize(Stream s, String str)
at Micros.TotalsPosting.CGwCreateCheckReq.Serialize(Stream s)
at Simphony.TS.Ops.CheckFuncs.CreateCheckInDb(Check check, PropertyParameters propertyParams, RvcParameters rvcParams, TSEmployee empl, String checkPostingServer)

3/25/2021 2:04:03 PM - INFO - A TsException has been caught while processing a transaction. An attempt will be made to unwind operations.
3/25/2021 2:04:03 PM - INFO - Transaction Services experienced an error and cannot continue to process this request.
Reason: Operation [Create Check] failed.
An exception has been caught in CheckFuncs.CreateCheckInDb().
Message: Exception of type 'Micros.LES.EGateway.MemoryStreamSerializer+SerializerException' was thrown.
Stack Trace: at Micros.LES.EGateway.MemoryStreamSerializer.Serialize(Stream s, String str)
at Micros.TotalsPosting.CGwCreateCheckReq.Serialize(Stream s)
at Simphony.TS.Ops.CheckFuncs.CreateCheckInDb(Check check, PropertyParameters propertyParams, RvcParameters rvcParams, TSEmployee empl, String checkPostingServer)

Error Code: InternalProcessingError
 
Can you post your request payload? It looks like the serializer barfed.
 
Thanks for responding. I was able to get this figured out with the help of CathalMF. Turned out to be a missing empty XML tag. <GuestCheckRef/>. Once that was included I was able to get useful responses back from transaction services enough to get it fully up and running.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top