Hi Good day to everyone. Can anybody knows how to use this one
Public Function GetCurrentEntry(Session As QSRules.SessionClass _
) As TransactionEntry
Set GetCurrentEntry = Session.Transaction.Entries( _
Session.Transaction.CurrentEntryKey)
End Function
using sessionclass on the public function process. Basically i what i need is to get a particular item on the transaction grid by selecting any item on the grid and check this on the database. in the middle of a transaction. Thank you
*This post is locked for comments
First of all, you need to declare a public function like this (I used VB.Net here)
Public Function Process(ByVal POSSession As Object) As Boolean
Dim GetCurrentEntry As Object
GetCurrentEntry = POSSession.Transaction.Entries(POSSession.Transaction.CurrentEntryKey)
return true
End Function
Compile code as DLL, register in your system, call class from POS button as AssemblyName.Classname.
Please do following in your code
declare an object say GetCurrentEntry As Object
GetCurrentEntry = POSSession.Transaction.Entries(POSSession.Transaction.CurrentEntryKey)
Do necessary on this GetCurrentEntry object. I mean like this
GetCurrentEntry.ExtendedPrice or GetCurrentEntry.Item.ItemLookupCode etc.
hope this will make sense
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,818 Super User 2024 Season 2
Martin Dráb 229,147 Most Valuable Professional
nmaenpaa 101,156