EPiStore: Load Order in Scheduled Job

 

I've created a Scheduled Job that exports orders from EPiStore, and when I start the job manually it works fine, but when it's triggered automatically it gets a null reference on the following line:

Order _order = Order.Load(pkid);

pkid is the same id as when I run it manually, so the order exists.

How do I solve this?

/Jakob

 

#26057 Nov 19, 2008 10:12