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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Simphony Extension Application - Add a payment to a check that is not selected "Open" on the workstation

ItsShipo

Programmer
Feb 28, 2025
1
I would like to close a check or add a payment to a specific check using the checkGuid, if I use OpsContext the check has to be opened on the workstation so I can post the payment, but I want an external function to close the check using its GUID.
Dim OpenChecks As New OpsCommand(OpsCommandType.PickUpCheckByGuid)

OpenChecks.Text = "1d4b9dc9dc0545a09cd671c962242b0000021566"
OpsContext.QueueCommand(OpenChecks)
OpsContext.ProcessCommand(OpenChecks)

Dim TMCommand As New OpsCommand(OpsCommandType.Payment)

TMCommand.Text = "100"
TMCommand.Number = 3002
OpsContext.QueueCommand(TMCommand)
OpsContext.ProcessCommand(TMCommand)


Dim SendCommand As New OpsCommand(OpsCommandType.TenderMedia)
SendCommand.Number = 1001
OpsContext.QueueCommand(SendCommand)
OpsContext.ProcessCommand(SendCommand)

I get error message "There is no transaction in progress"
 
It's not a possible case... You won't be able to pass it through GUID, if you want to close in this manner then you require to use the TSAPI
 

Part and Inventory Search

Sponsor

Back
Top