Search found 1292 matches

by BobRichards
Mon May 09, 2016 5:59 pm
Forum: Integration Development
Topic: 4.1 API example for docs/reports
Replies: 13
Views: 2701

Re: 4.1 API example for docs/reports

And finally the last type of response object - IRequestRange. In this example, the document is passing multiple prompts to the program, but all we want to enter for the "Orders Received" report is the period of time specifying the last 30 days. We are ignoring all the other prompts since t...
by BobRichards
Mon May 09, 2016 5:27 pm
Forum: Integration Development
Topic: 4.1 API example for docs/reports
Replies: 13
Views: 2701

Re: 4.1 API example for docs/reports

This example shows the second of three types of responses you might need to handle cases where you are required to enter an item(s) from a list of options provided by the document prompt. In this case, we use the IRequest.ID to determine the desired response instead of the IRequest.Text as in the ot...
by BobRichards
Mon May 09, 2016 11:05 am
Forum: Shell (User Interface)
Topic: Doc Publishing in 4.5.1
Replies: 5
Views: 1500

Re: Doc Publishing in 4.5.1

I duplicated your code and I ran into the same error you found. It is a Select 4.1 error. For reasons of performance, we now pass a Stream reference around and generate the Binary property data on-the-fly from the Stream. It appears you are seeing the error "Cannot access a closed Stream" ...
by BobRichards
Thu May 05, 2016 3:37 pm
Forum: Integration Development
Topic: 4.1 API example for docs/reports
Replies: 13
Views: 2701

Re: 4.1 API example for docs/reports

If no response is "Required", then you can pass null to the Render() method and it is perfectly happy.
by BobRichards
Thu May 05, 2016 3:17 pm
Forum: Integration Development
Topic: 4.1 API example for docs/reports
Replies: 13
Views: 2701

Re: 4.1 API example for docs/reports

And here is an example where the document requires user prompts to be answered - programmatically. The responses to the document prompts are created in a separate class and passed to the Render() method. For each prompt requested, we examine the Text member and compare it against the prompt text we ...
by BobRichards
Thu May 05, 2016 2:52 pm
Forum: Shell (User Interface)
Topic: Doc Publishing in 4.5.1
Replies: 5
Views: 1500

Re: Doc Publishing in 4.5.1

Sorry to take so long.

This is not a problem with Select - there is an error in your program. You are trying to print from a MemoryStream that is only loaded when you process "All" documents. If you want to process a single document, then load the MemoryStream with a document.
by BobRichards
Thu May 05, 2016 11:45 am
Forum: Integration Development
Topic: 4.1 API example for docs/reports
Replies: 13
Views: 2701

Re: 4.1 API example for docs/reports

Here is a simple example. It opens an order and prints the Barcode Cover Sheet as a PDF. Be sure to build against .NET 4.6. (More examples coming.) using SoftPro.Documents.Client; using SoftPro.Documents.Client.Rendering; using SoftPro.OrderTracking.Client.Orders; using SoftPro.Select.Client; using ...
by BobRichards
Wed May 04, 2016 3:01 pm
Forum: Integration Development
Topic: 4.1 API example for docs/reports
Replies: 13
Views: 2701

Re: 4.1 API example for docs/reports

This is slated to be included in the next SDK accompanying Select 4.1.1. I will post a short example when it is done.
by BobRichards
Tue May 03, 2016 11:02 am
Forum: Integration Development
Topic: Server package order changes not reflected in open tab
Replies: 12
Views: 3596

Re: Server package order changes not reflected in open tab

If the order is open on a client Select session, you will not be able to open the order in the server package (or anywhere else) as writable. If the the server package is getting the order that is open on the client via handler (such as IOrderStore.OrderSaving), you are not allowed to make any chang...
by BobRichards
Wed Apr 27, 2016 10:17 am
Forum: Integration Development
Topic: AddBusinessDays method
Replies: 1
Views: 408

Re: AddBusinessDays method

Since different offices may have different business hours and some may work on Saturdays, etc., each profile is associated with an office hours object to capture this information. The steps below get the IOfficeHours object for the user's active profile and calculates the date for three business day...