Need Help!! How to access Tender Code property

Hi,

I am integrating PCCharge and MS RMS. I want to process credit card transactions through PCCharge from RMS. i am using a DLL to connect PCCharge and RMS through RMS hook. Now, I am using the TenderEnum.tenderCreditCard property to check whether the current transaction is a Credit Card transaction or not. But I want to check the TenderCode rather than TenderEnum for my program... but I am not able to find a propery to check for the TenderCode in Customization Guide of the RMS... Can anyone help me in this regard?

Thank you, Srikanth.

Reply to
Srikanth
Loading thread data ...

You may be able to do something with Descriptor.Key - not sure if that is an internal key or the Tender.ID... You can access Descriptor.ScanCode and Descriptor.Description, both of which should be unique values.

Reply to
Glenn Adams [MVP - Retail Mgmt]

All the options you specified below didn't solve my problem Glenn, I have the question in detail so that I'll be able to tell you exactly what I want to do... And here it is... I am using Descriptor.TenderType property to retrieve all the Tender types like Credit, Debit, etc for my program. And in that program I'm using the "Others" Tender type and I want to invoke some piece of the code only for a specific Tender Code. The reason why I want to do this is because, the Other Types can be anything and the Tender Code is the only option for me and that is the only way that I found to distinguish my condition. I am setting a particular Tender Code in Store Operations Manager, and I want to check for this tender code for the Tender EndHook in my program... Now my program is checking for all the tender codes which come under Others Tender Type using the following statement...

------------------------------------------------------------ Dim obj as Object

For each obj In mySession.Transaction.Tenders If (obj.Descriptor.TenderType = TenderEnum.tenderOther) Then ' Code to perform when the condition is met End If Next

But, I want to check like this... Dim obj as Object

For each obj In mySession.Transaction.Tenders

If (obj.Descriptor.TenderCode = "TC") Then ' Code to perform when the condition is met End If

Next

---------------------------------------------------------------- But, unfortunately, I couldn't use the TenderCode property because the Descriptor class doesn't have a property called TenderCode... How do I get the TenderCode for a particular Tender? Thank you very much Glenn, I've sent you this to your email address also, so sorry for the confusion...

---Srikanth ( snipped-for-privacy@gmail.com)

Glenn Adams [MVP - Retail Mgmt] wrote:

Reply to
Srikanth

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.