OrderID required

Sep 26, 2005 1 Replies

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


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required