Home Page link  

Hook to modify price at POS

 

Point-Of-Sale Software - - MS Point Of Sale software discussed here

 Post an article  get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content  add this group's latest topics to your Google content  YahooMyWeb Yahoo!  Google Google  Windows Live Favorites Windows Live  del.icio.us del.icio.us  digg digg  Add to Netscape Netscape
Subject Author Date
Hook to modify price at POS DIDI 08-08-2008
Posted by DIDI on August 8, 2008, 10:18 am
Please log in for more thread options


Hello

I would like to modify the price automaticaly at the pos when quantity is
modified on the POS
To do that i would like to use Hooks and VB6


i do a little VB to test

the hook i use is REFRESHDISPLAY

the vb program is

Public Function Process(objSession As Object) As Boolean

Dim entryCount, Ikey As Integer
Ikey = objSession.Transaction.Entries.Count

For entryCount = 1 To Ikey
LItemID = objSession.Transaction.Entries.Element(entryCount).Item.ID
objSession.Transaction.Entries.Element(entryCount).SetPrice(33)

msgbox "OK"
next

Process = True
End function

The problem is that the fist time i go through he doesn't modify the price
on the pos but the red flash is coming up.
If i enter an other quantity then the price is updated to 33

I have to go through twice

Thanks for your help

Best regards
Didier



Posted by DIDI on August 13, 2008, 4:41 am
Please log in for more thread options


I don't know why the price is not change on the screen.

Hello no idea ?




"DIDI" wrote:

> Hello
>
> I would like to modify the price automaticaly at the pos when quantity is
> modified on the POS
> To do that i would like to use Hooks and VB6
>
>
> i do a little VB to test
>
> the hook i use is REFRESHDISPLAY
>
> the vb program is
>
> Public Function Process(objSession As Object) As Boolean
>
> Dim entryCount, Ikey As Integer
> Ikey = objSession.Transaction.Entries.Count
>
> For entryCount = 1 To Ikey
> LItemID = objSession.Transaction.Entries.Element(entryCount).Item.ID
> objSession.Transaction.Entries.Element(entryCount).SetPrice(33)
>
> msgbox "OK"
> next
>
> Process = True
> End function
>
> The problem is that the fist time i go through he doesn't modify the price
> on the pos but the red flash is coming up.
> If i enter an other quantity then the price is updated to 33
>
> I have to go through twice
>
> Thanks for your help
>
> Best regards
> Didier
>
>

Similar ThreadsPosted
modify price with Hook with qsrules August 19, 2008, 10:04 am
Hook at print time. Hook #1 August 9, 2005, 2:21 pm
CAN YOU MODIFY A Z REPORT June 4, 2005, 7:28 pm
Trying to modify the xreport June 17, 2005, 1:29 pm
Trying to modify XML X-REPORT June 17, 2005, 1:34 pm
Modify Code July 5, 2005, 2:01 pm
Modify Z Report May 3, 2006, 11:01 am
Modify Store ID May 25, 2006, 4:07 am
modify receipt July 6, 2007, 9:12 pm
Modify Item Screen August 9, 2005, 4:50 am

Contact Us | Privacy Policy
This site is not affiliated with Intuit - makers of Quickbooks and Quicken software
This site is not affiliated with Sage Software - makers of Peachtree accounting software
XML SitemapXML Sitemap