Does anyone know if there is a way to tell the additem hook in RMS to cancel adding an item? Currently I have a display box shown with additional information when an item is added. If the user selects cancel, I do not want the item to show up on the transaction. Does anyone have any experience with developing this sort of functionality?
RMS Additem hook
Jul 13, 2006
4 Replies
Does anyone know if there is a way to tell the additem hook in RMS to cancel adding an item? Currently I have a display box shown with additional information when an item is added. If the user selects cancel, I do not want the item to show up on the transaction. Does anyone have any experience with developing this sort of functionality?
Hello,
You can send the DELETE key to RMS w> Does anyone know if there is a way to tell the additem hook in RMS to
'Process = False' inserted into your code at the right spot will cancel the addition of the item to your transaction, you'll need to post a little more detail, at least for me, about how your code is set up, to know where or how to insert this command
hth kevin
"Noe" wrote:
hi,
You can use this code. session.transaction.entries.remove(session.transaction.entries.count - 1). This will remove the last item you wanted to delete at the transaction screen. Please refer to the RMS customization guide. You can download this documents at Microsoft website.
H> 'Process = False' inserted into your code at the right spot will cancel the
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required