OrderID required

Hi,

I have posted an order transaction to the database and am firing the PrintReceipt hook. I wish to get the OrderId for this posted transaction. I am using a c# class with a process method. The method fires and I try the line:

intWorkOrderID = Session.Transaction.OrderID;

But intWorkOrderID is always zero. Any help on how I get the OrderId after posting to the database would be appreciated.

Thanks,

Warren

Reply to
Wazza
Loading thread data ...

Reply to
RetailHero(tm)

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.