Moderator: Phil Barton
The selection of the order is no problem however, we can not get the system to open the order (visually) - programmatically.
Any help would be greatly appreciated.
Thanks in advance. I am a newbie to SoftPro.
Code: Select all
SoftPro.Select.Shell.IShell shell = GetService<SoftPro.Select.Shell.IShell>(); SoftPro.OrderTracking.Common.OrderUri orderMoniker = new SoftPro.OrderTracking.Common.OrderUri(SoftPro.OrderTracking.Common.OrderKind.Order, orderID); shell.OpenStandardEditor(orderMoniker);
Thank you for your assistance. However, I am still having a problem. When creating the OrderMoniker the OrderID guid is set in the Reserved Order Number while the Order ID value is set to 0s. When I call shell.openStandardEditor and pass the OrderMoniker to it, the system tells me "This reserved order number has already been used. Please choose another reserved order number."
I tried with a brand new guid. I also tried with an existing guid and both produced the same error. I am merely trying to open an existing order that I just created programmatically to show the user the order. What am I missing here.?.
Thank you very much for your assistance.
Again thanks for everyting. I am sorry but I have one more question in this thread. Once the order is viewable the use has asked if it would be possible to select the screen when opening. Currently the Screen type says SoftPro Screens when the order opens. We have a screen labeled BSC MyScreens. Can we direct the BSC MyScreens to be selected when the order loads? I am sorry to have to bother you with this.