Collecting additional sale information in custom tables

Sep 19, 2005 3 Replies

Hi there



I'm current developing an addon for RMS that requires extra information to be collected for certain items in a sale, namely, a job number and a cost. I have created my own TransactionEntry table, called myTransactionEntry, which links to the RMS TransactionEntry table using the ID field. I'm hooking the AddItem method to collect the extra info with my own form and storing the info in a Session variable until the PrintReceipt hook fires upon which I write the values into my Table. The Transaction.Entries(n).PostID gives me the key to link the tables.



My problem is that I would like to persist the extra information into my table when the user puts the transaction on hold and then recalls it later. I can't see where to hook into the program to do this.



Any ideas would be appreciated.



Nothing fires when a transaction is put on hold. The first event after you enter the Transaction Comment is "Initialize Transaction" - I don't know if the Session variables are cleared before or after this event. I think your only option is to write an add-in that replaces the Transaction Hold function and is called from a custom POS Button.

You might want to change your work flow so that the data is collected on TenderBegin or TenderEnd rather than AddItem

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required