I am trying to access the Itemlookup code for an item when an item is added to my screen (using hook 4).. The code I currently have loops through all the items I have on the screen. All I want is the ItemLookupCode for the item added to the screen
Currently this works but loops through all my items on the screen.
Dim E As Object ' QSRules.TransactionEntry
For Each E In Session.Transaction.Entries LookupCode = E.Item.ItemLookupCode Next E
Could someone help modify this.
TIA