Qsrules itemcode

Nov 29, 2005 1 Replies

can somebody please help me how to get an items look up code that was added in transaction through QSRules. thank you very much shoby


Public Function Process(mySession As SessionClass) As Boolean Dim ilc As String Dim ikey As Integer Dim added As Object ikey = mySession.Transaction.Entries.Count If ikey 0 Then ' Assign ilc = the last item added to the transaction ilc = mySession.Transaction.Entries.Element(ikey).Item.ItemLookupCode MsgBox "the ItemLookupCode is: " & ilc Else Process = False Exit Function End If End Function

Rob

"Shoby" 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