Thanks.
There is a document available from Customer Source now, which I don't think
used to be available as it is clearly labelled "Partner Only Article".
CustomerSource, Support, Knowledge Base, Retail Management, Store Operations,
Customization, you should fine it. ArticleID is 869720. There is a direct
link
in the post starting 1) Database Schema. I'm not sure if this is the elusive
Customization Guide as it is pretty brief but it has a number of downloads
available as well.
Available hook types.
0 PostTransaction
1 PrintReceipt
2 TenderBegin
3 ExportAccounting
4 AddItem
5 RefreshDisplay
6 InitializeTransaction
7 StartPOS
8 QuitPOS
9 SavePurchaseOrder
10 SaveSupplier
11 SaveCustomer
12 StartManager
13 QuitManager
14 SaveItem
15 TenderEnd
For example I think customer number is passed via paramater number 5. I am
writing a hook using hook type 1 which is working perfectly but I am
wondering if via a parameter number, the transaction number could be passed
to my DLL.
"Mick Hardy" <rms-remove-...@finnpanels.com.au> wrote in message
news:D94FBC4F-6B57-4DBC...@microsoft.com...
If you create a temporary early bound session object, you can use
intellisense or the object browser to check out all the different properties
and methods available. Even Word lets you use the intellisense feature for
properties.
'Code in Word's VBA editor with a reference to Store Operations Business Rules
Public Sub test()
Dim qs As QSRules.SessionClass
qs.Transaction.TransactionNumber
End Sub
The documentation I referenced in the previous post has a download
explaining hooks which lists the possible parameters shown below. Before I
had the document, I had no idea what the parameters were, except that
parameter 1 meant I could pass the Session object. I actually thought it
meant the number of parameters to pass and that different hooks had different
parameter lists.
The possible values of Parameter are:
0: Default - DR SMS to maintain compatibility
1: Session Object - A pointer to QSRules.Session
2: Digital Receipt - SMS - XML string of DR (SMS DTD)
3: Digital Receipt - ARTS - XML string of DR (ARTS DTD)
4: Nothing - No parameter passed
Have fun.
"Mick Hardy" <rms-remove-...@finnpanels.com.au> wrote in message
news:0D1549C4-B39C-416A...@microsoft.com...
> Apologies for misreading your first post. ;-)
>
"Mick Hardy" <rms-remove-...@finnpanels.com.au> wrote in message