Try our conversational search powered by Generative AI!

EPiStore: Load Order in Scheduled Job

Vote:
 

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
Vote:
 
It's an EPiServer 4.62B... any ideas?
#26091
Nov 20, 2008 9:29
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.