Opening an Order

Discussions related to SoftPro Select Server development.

Moderator: Phil Barton

roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Opening an Order

Post by roteague »

I really need to move forward on this.
Robert
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Opening an Order

Post by roteague »

I got pass the AdditionalCharges error by copying the data directory to my working directory. Now, I'm getting the following error:

Code: Select all

Error executing business rule 'SoftPro.BusinessRules.Core.PayorAggregator'
Inputs:
	1. 
	2. False
, Stack Trace:    at SoftPro.BusinessRules.Base.BusinessRuleBase.Execute(Object[] inputs, ExecutionInfo ruleInfo)
   at SoftPro.Bu
Robert
Melissa McBerkowitz
Posts: 91
Joined: Wed Sep 10, 2008 3:33 pm
Location: Raleigh, NC
Contact:

Re: Opening an Order

Post by Melissa McBerkowitz »

Are you able to open this order through the client app?
Melissa McBerkowitz
VP of Product Strategy, SoftPro
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Opening an Order

Post by roteague »

Melissa McBerkowitz wrote:Are you able to open this order through the client app?
Melissa,

Yes, I can. Additionally, I created a Windows Forms application (it runs from the Select directory), which also opens the order with no problem.

I'm trying to open the order from within a WCF service, which is why I hesitate to have it run from the Select directory. My Service is called by the Order event handler. I've tried copying various dll files from the Select directory, but I haven't been able to identify anyone that allows this call to be successful.

FWIW, I'm really not at all interested in using the rules, I just want to get certain pieces of order data from the order, to update various backend systems, not to maniuplate the order in any way. We prefer to use the API, instead of going to the database directly.

Thanks,
Robert
Melissa McBerkowitz
Posts: 91
Joined: Wed Sep 10, 2008 3:33 pm
Location: Raleigh, NC
Contact:

Re: Opening an Order

Post by Melissa McBerkowitz »

You should need the SoftPro.BusinessObjects and SoftPro.BusinessRules dlls (4) in addition to the files in the Data directory, but it's not a bad idea to copy all the .dlls into your directory.
Melissa McBerkowitz
VP of Product Strategy, SoftPro
roteague
Posts: 292
Joined: Thu Sep 25, 2008 4:49 pm
Location: Honolulu, Hawaii

Re: Opening an Order

Post by roteague »

Melissa McBerkowitz wrote:You should need the SoftPro.BusinessObjects and SoftPro.BusinessRules dlls (4) in addition to the files in the Data directory, but it's not a bad idea to copy all the .dlls into your directory.
Thanks Melissa. I had the four .dlls in the directory, but it wasn't working. However, I gave up and copied all the .dlls into the directory. It works now, but seems like a lot of overkill.
Robert
Shevy
Posts: 48
Joined: Tue Dec 23, 2008 12:21 pm

Re: Opening an Order

Post by Shevy »

I am getting the same error:
Failed to load the SoftPro business rules for order
the dll is in the correct place. What can be the problem?
Thanks in advance.
Mark McKenna

Re: Opening an Order

Post by Mark McKenna »

Hi Shevy, did you see my post a few days back (May 4) in this thread regarding the *.rules files? If not, that might be your issue.
Shevy
Posts: 48
Joined: Tue Dec 23, 2008 12:21 pm

Re: Opening an Order

Post by Shevy »

Yes,
I did read it and I do have the dlls in the Select.exe directory.
What else am I missing?
THanks.
Shevy
Posts: 48
Joined: Tue Dec 23, 2008 12:21 pm

Re: Opening an Order

Post by Shevy »

I actually go it working.
I copied the Softpor.rules and data folder into my working directory.
thanks.
Post Reply