I am trying to remove an item that is on the pos store operations screen. I am using the following code and it is giving me a "Type mismatch" error:
Dim objDeleted As Object Set objDeleted Session.Transaction.Entries.Remove(Session.Transaction.Entries(1))
I have also tried to define objDeleted as a transactionentry & transactionentires and take off the "Set" and I get "Object variable or With block variable not set" error. Has anyone been successful in removing an item and if so could you provide the code snippit?
Thanks, Robert