Search found 78 matches

by uwdoug79
Thu Sep 17, 2015 4:07 pm
Forum: Integration Development
Topic: Titlescompany SetFormula
Replies: 17
Views: 2580

Re: Titlescompany SetFormula

Will this work ?: ILookupRow myRow = TitletableT2.Rows[0]; dynamic titlecompanyT2 = order.CreateNew("TitleCompany"); ((IList)order["Contacts"]).Add(titlecompanyT2); IOrderItem paymentinfo = titlecompanyT2.PaymentInfo; IOrderItem divert = titlecompanyT2; Guid formulaguid = new Gui...
by uwdoug79
Thu Sep 17, 2015 2:26 pm
Forum: Integration Development
Topic: Titlescompany SetFormula
Replies: 17
Views: 2580

Re: Titlescompany SetFormula

This is on the creation of a new TitleCompany during the creation of a new order. The code provided produces a "TitleCompany does not contain a definition for 'SetForumla'" error message. ILookupRow myRow = TitletableT2.Rows[0]; dynamic titlecompanyT2 = order.CreateNew("TitleCompany&q...
by uwdoug79
Mon Sep 14, 2015 6:59 pm
Forum: Integration Development
Topic: Titlescompany SetFormula
Replies: 17
Views: 2580

Re: Titlescompany SetFormula

Let me ask the question a different way then. How do i set the formula for the directproceedsto object in the api a title company?
by uwdoug79
Mon Sep 14, 2015 6:10 pm
Forum: Integration Development
Topic: Titlescompany SetFormula
Replies: 17
Views: 2580

Re: Titlescompany SetFormula

>? e.StackTrace
" at SPSGatewayCA.Send.ProcessOrders() in c:\\Users\\Doug.Hamilton\\Documents\\Visual Studio 2013\\Projects\\SPSGatewayCA\\spsGatewayCA\\Send.cs:line 678"
>
by uwdoug79
Mon Sep 14, 2015 6:05 pm
Forum: Integration Development
Topic: Titlescompany SetFormula
Replies: 17
Views: 2580

Re: Titlescompany SetFormula

>? e.Message "Object reference not set to an instance of an object." > > spsGatewayCA.exe!SPSGatewayCA.Send.ProcessOrders() Line 4086 C# spsGatewayCA.exe!SPSGatewayCA.Program.Main(string[] args) Line 50 C# [Native to Managed Transition] mscorlib.dll!System.AppDomain.nExecuteAssembly(System...
by uwdoug79
Mon Sep 14, 2015 1:04 pm
Forum: Integration Development
Topic: Titlescompany SetFormula
Replies: 17
Views: 2580

Re: Titlescompany SetFormula

The following does not work. I get an error message when trying to set the DivertProceedsTo formula. Any thoughts? When trying to set divert.SetFormula() Error Message: Object reference not set to an instance of an object ILookupRow myRow = Titletable.Rows[0]; dynamic titlecompany = order.CreateNew(...
by uwdoug79
Wed Feb 25, 2015 10:06 am
Forum: Integration Development
Topic: Adding TitleCompany to HUD 1101 Line
Replies: 6
Views: 1007

Re: Adding TitleCompany to HUD 1101 Line

Bob, I may have found a way to modify just a few lines of code to accomplish my objective. Let me know if you think this will cause an issue. I left my original line for initially creating the order and added a 2nd line to be inline with the code that you provided. (note the "order2") IOrd...
by uwdoug79
Tue Feb 24, 2015 4:52 pm
Forum: Integration Development
Topic: Adding TitleCompany to HUD 1101 Line
Replies: 6
Views: 1007

Re: Adding TitleCompany to HUD 1101 Line

ok, I think I see. The way I have my order being created at this time is not compatible with the ability to create that hud line record.

Thx,

Doug
by uwdoug79
Tue Feb 24, 2015 4:25 pm
Forum: Integration Development
Topic: Adding TitleCompany to HUD 1101 Line
Replies: 6
Views: 1007

Re: Adding TitleCompany to HUD 1101 Line

What if the order is being created as follows: IOrder order = ot.NewOrder(specTemplate); as opposed to your method dynamic order = (dynamic)iOrder; That is how my order is being created and as such : dynamic line = order.HUDs[0].Lines[1101]; gives me a definition error of "Softpro.OrderTracking...
by uwdoug79
Tue Feb 24, 2015 3:06 pm
Forum: Integration Development
Topic: Adding TitleCompany to HUD 1101 Line
Replies: 6
Views: 1007

Adding TitleCompany to HUD 1101 Line

We have a template that does not have a titlecompany listed in it for various business reasons. I need to add the Titlecompany to line 1101 on the HUD when creating the order through the API. I am planning on doing it after the titlecompany is created and using that object to set the HUDTo on the 11...