Search found 867 matches

by BobRichards
Sun May 03, 2020 9:43 pm
Forum: Server
Topic: Select Server Event Notification Registration and Filters
Replies: 0
Views: 1361

Select Server Event Notification Registration and Filters

Let's discuss event notifications. Select has several that can be used to alert external services, run server handlers, or provide emails when the event occurs. In this case we will use the OrderChangedEvent. This event is triggered whenever a user saves an order. Here is an example notification XML...
by BobRichards
Fri May 01, 2020 5:19 pm
Forum: Integration Development
Topic: Error attempting to get event notification subscriptions on command line with "sps.exe events"
Replies: 0
Views: 1595

Error attempting to get event notification subscriptions on command line with "sps.exe events"

The SoftPro Select Server Utility (sps.exe) can be used to display the current list of events that are registered with the server on the command line. There is a potential bug in the code that may cause the utility to throw an exception. Unhandled Exception: System.NullReferenceException: Object ref...
by BobRichards
Wed Apr 29, 2020 11:52 am
Forum: Integration Development
Topic: Setting the Trust Account for an order via the API
Replies: 23
Views: 4133

Re: Setting the Trust Account for an order via the API

A TrustAccount.ID is a guid value that we store as a string. You will have to do a lookup of the trust account name to get the guid. IAccountsManager accountsManager = SelectServer.GetService<IAccountsManager>(); ITrustAccountInfo trustAccountInfo = accountsManager.TrustAccounts .Where(x => x.Code =...
by BobRichards
Wed Apr 29, 2020 11:40 am
Forum: Integration Development
Topic: Management Console - Users
Replies: 7
Views: 1842

Re: Management Console - Users

You can see the users that are in the editable mode: SELECT * FROM core.SecurityIdentity s JOIN core.SecurityIdentityProperty p ON s.ID = p.SecurityIdentityID WHERE p.Name = 'AllowUserOverride' AND p.Value = 'true' But if the Edit checkbox is reset, the original values do not return. I even forced a...
by BobRichards
Mon Apr 27, 2020 4:17 pm
Forum: Shell (User Interface)
Topic: Order Buttons constantly being Queried
Replies: 5
Views: 1126

Re: Order Buttons constantly being Queried

Not to stir the pot but we keep the invoke/query handlers active. I'm curious about why your handlers were slowing the system down. We are in and out of the handlers very quickly. You can't reach out to the database or get non-cached data from the mid-tier or it will really slow the system down. As ...
by BobRichards
Mon Apr 27, 2020 1:30 pm
Forum: Shell (User Interface)
Topic: Order Buttons constantly being Queried
Replies: 5
Views: 1126

Re: Order Buttons constantly being Queried

Where do my assumptions break down? Previously you wrote a shell package with buttons with invoke handlers and you could enable/disable. Now you have added to that package the capability to detect when the user changes windows. If the user selects an Order, you can get the order. You can determine i...
by BobRichards
Mon Apr 27, 2020 12:00 pm
Forum: Integration Development
Topic: Management Console - Users
Replies: 7
Views: 1842

Re: Management Console - Users

This was trickier than I initially thought. Good job pressing for a better answer. I found a developer that works in this area. When the box is checked for an Active Directory user, it means that you want to modify previously written information synced from AD with a different value. While checked, ...
by BobRichards
Fri Apr 24, 2020 8:57 am
Forum: Integration Development
Topic: Management Console - Users
Replies: 7
Views: 1842

Re: Management Console - Users

The ability to create/update/delete user information is controlled by a permission in the SPAdmin Management Console. The separate permission settings can be applied to groups and/or users. (Location in SPAdmin: Security/Permissions, Permissions/SPAdmin/Users/Groups) I *believe* the purpose of this ...
by BobRichards
Sun Apr 19, 2020 3:07 pm
Forum: Shell (User Interface)
Topic: Order Buttons constantly being Queried
Replies: 5
Views: 1126

Re: Order Buttons constantly being Queried

I can only assume the control event handlers are doing what they are supposed to do. In an event driven application, many user interactions can generate flurries of events that are seamlessly handled in the background due the lightweight objects being passed (and usually being ignored by objects tha...
by BobRichards
Fri Apr 17, 2020 8:57 pm
Forum: Integration Development
Topic: Add a Task
Replies: 1
Views: 877

Re: Add a Task

That is really close! You must create a new "ChecklistTask" or "RequestedTask" and add it to the Tasks collection like you are doing.