Search found 51 matches

by toddsou
Fri Mar 30, 2018 3:09 pm
Forum: General
Topic: Hosting Custom Order Rules in my own SPS API application
Replies: 3
Views: 449

Re: Hosting Custom Order Rules in my own SPS API application

Thanks for the reply, Bob. I'm hunting a memory leak attributed to the spssvc.exe, and suspect it is either one of our server packages or one of our CORs. I have put some long-looping test harnesses around the server packages' logic routines and the memory usage held steady so I feel fairly confiden...
by toddsou
Mon Mar 26, 2018 1:49 pm
Forum: General
Topic: Cloning an order results in OperationCanceledException
Replies: 3
Views: 377

Re: Cloning an order results in OperationCanceledException

Hi Bob- I did as you recommended. And once I finished putting the last COR back in place, the code worked fine, which I did not expect. Does order of execution come into play here? That is, if two CORs subscribe to the same event, is there any guarantee wrt order of execution? (e.g., First module li...
by toddsou
Mon Mar 26, 2018 1:36 pm
Forum: General
Topic: How/When are CORs loaded & executed ?
Replies: 3
Views: 380

Re: How/When are CORs loaded & executed ?

Thanks for the info, Bob.

Can you elaborate on the lifetime of the CORs IronPython interpreter/engine during these events?

Is a new engine created with each order? Or is a single instance of it reused during a SPS session ?

Regards,
Todd
by toddsou
Fri Mar 23, 2018 10:12 am
Forum: General
Topic: How/When are CORs loaded & executed ?
Replies: 3
Views: 380

How/When are CORs loaded & executed ?

Hi- I'm looking for a memory leak, and I suspect one or more of our Custom Order Rules. In order to understand how the hosting script engine and scope are created, used, and disposed within Select, can you elaborate on the timing of when things happen? Is one engine created per Select Session ? Is o...
by toddsou
Fri Mar 23, 2018 9:18 am
Forum: General
Topic: Cloning an order results in OperationCanceledException
Replies: 3
Views: 377

Cloning an order results in OperationCanceledException

Hello, I am basically trying to clone an order. However, the call to ApplyChanges throws an exception. In the catch handler, I break on the call to GetMessages() and interrogate the result via the msgs variable. There is only one entry in the Messages list. In the Immediate Window I see the followin...
by toddsou
Tue Mar 20, 2018 11:59 am
Forum: General
Topic: Hosting Custom Order Rules in my own SPS API application
Replies: 3
Views: 449

Hosting Custom Order Rules in my own SPS API application

Hi- As you know, Select offers users the ability to build Custom Order Rules using Iron Python. These rules can affect the behavior seen by the end user for such things as field validation, default values, to name a few. I want to build a small c# console app using the SPS SDK and allow it to also h...
by toddsou
Wed Jan 24, 2018 10:39 am
Forum: General
Topic: Can I provide my own Lookup table implementation for lookup "XYZ" ?
Replies: 1
Views: 279

Can I provide my own Lookup table implementation for lookup "XYZ" ?

Hi- Is it possible to extend Select such that I can provide a custom implementation for one or more interfaces that would allow Select to call my implementation for certain Lookup tables? I was looking at this post ( http://devforum.softprocorp.com/viewtopic.php?f=17&t=63 ) which described another s...
by toddsou
Mon Jan 22, 2018 3:23 pm
Forum: Installation and Setup
Topic: Registration steps for shell package that has no UI
Replies: 1
Views: 573

Registration steps for shell package that has no UI

Hello- We have a SP Select shell package which has no UI features/menus/commands, and just responds to certain Order events. When I register the shell package on a user's machine, I am following the typical 2-step pattern of: spregpkg.exe /m:register /p:MyNoUIShellPackage.dll select.exe /setup Howev...
by toddsou
Fri Jun 02, 2017 8:45 am
Forum: General
Topic: Get error "Unable to load one or more of the requested types." when building Select Console App
Replies: 4
Views: 458

Re: Get error "Unable to load one or more of the requested types." when building Select Console App

Thanks, Bob. My issue was two-fold: That is, the ex.InnerException.InnerException.InnerException.LoaderExceptions array had two entries- Microsoft.ApplicationInsights, version 2.1.0.0 IronPython, version 2.7.0.40 I assume the SDK provides neither, so I'll pull the matching versions down from a publi...
by toddsou
Thu Jan 05, 2017 4:07 pm
Forum: Integration Development
Topic: How do I audit an Overlay Order action?
Replies: 3
Views: 460

Re: How do I audit an Overlay Order action?

...and how to do that via the API ?

Thanks.

-Todd