I am trying to figure out the ItemID of an item rung up using a hook. The following code shows the Description of the item. Does anyone know how to get the actual ItemID?
Public Class Test Public Function Process(ByRef Session As Object) As Boolean Dim i As Integer
For i = 1 To Session.Transaction.Entries.Count MsgBox(Session.Transaction.Entries.Element(i).Description) Next
Process = True End Function End Class
Thanks,
--Dan