Using tender in hooks

Hi, I have the following issue: I want to make a hook that search in the tenders used in the transaction to see if the customer used a credit card to the perfom an action, to do that I used th efollowing chunk of code: For Each T In Session.transaction.tenders4 'Busco el tipo de pago de credomatic If T.descriptor.Description = "credit card Then ' do something with the credit cards end if end for

The problem is seem that the code search for the different type of tenders in the table tender instead that in the transaction. Does anybody had an Issue like that? Thanks in advance for your help, Rodrigo

Reply to
ROD
Loading thread data ...

All tenders exist in every transaction. To see if they were used, you need to check their amounts. There may be another property you can check - don't remember off the top of my head...

Glenn Adams Tiber Creek C> Hi, I have the following issue: I want to make a hook that search in the

Reply to
Glenn Adams [MVP - Retail Mgmt]

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.