I like to use the TokenStoreReplacer function in a custom scheduler function sending customized e-mails.
When initializing the TokenStoreReplacer it is giving errors.
What i Found out is that it has something to do with the XSLTemplates.
It won't initialize in the scheduler logic. Is some additional logic required ?
Part of the code:
When initializing the TokenStoreReplacer it is giving errors.
What i Found out is that it has something to do with the XSLTemplates.
It won't initialize in the scheduler logic. Is some additional logic required ?
Part of the code:
OrderController octrlOrder = new OrderController();
NB_Store_OrdersInfo oOrder = octrlOrder.GetOrder(1212);
String sMerchantLanguage = SharedFunctions.GetMerchantCulture(oOrder.PortalID);
TokenStoreReplace oRep = new TokenStoreReplace(oOrder, sMerchantLanguage);