com object help!

Dec 30, 2007 1 Replies

hi folks!



I am new at customizing rms. I am trying to add a new item to the POS by clicking the custom button.. curently the code that i am writing is(vb6): Public Function process(session As QSRules.SessionClass) As Boolean dim Additem as object Additem= session.Transaction.Entries.Add(0, "123", 1, 0, False, 0) process=true end function



This is working fine when i register the dll and assign the class file to the custom button



but this is what i want:



When i click the custom button a form should load and the form will have a button called "additem" and whenever i click the additem ..it should add the item to the POS..



Any kind of help will be highly appreciated.. Thanks Fez



Fez did you ever get this working from a form. I am having the same problem. When I do an additem from a form it adds it to the transaction but doesn't display the item. I know it is adding it because my transactions totals are increasing. Why won't it display it when I do the additem from the form. I even tried to hide my form before I did the additem.

Mark.

"Fez" wrote:

Join the Discussion

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

Didn't find your answer?

Ask the community — no account required