Search found 78 matches

by uwdoug79
Wed Jun 11, 2014 11:27 am
Forum: Integration Development
Topic: AmbiguousLookupException
Replies: 12
Views: 1539

Re: AmbiguousLookupException

I am not sure I follow this explanation: I am also getting this exception when trying to set the zipcode field (code line 4) on a "SellingAgent" for example. I am not doing any lookups at this point. On some of the contact types I don't get this error but in this case I do. The zipcode is ...
by uwdoug79
Wed Jun 11, 2014 10:18 am
Forum: Integration Development
Topic: Adding A Property to An Order
Replies: 4
Views: 614

Re: Adding A Property to An Order

Thanks John! That worked perfectly: /// this allows you to get to the base property on a newly created order (courtesy of John Morris) /// IList props = null; IOrderItem prop = null; dynamic property = null; if (iPropertyRow == 0) { props = (IList)order["Properties"]; property = props[0]; ...
by uwdoug79
Wed Jun 11, 2014 9:44 am
Forum: Integration Development
Topic: Adding A Property to An Order
Replies: 4
Views: 614

Re: Adding A Property to An Order

Can you provide me with a few lines of code to get this started? I tried looking at various sources and the SDK help file but cant figure out what references I need to create in order to access the first property record on the order. This is how the order is being created and as I posted earlier in ...
by uwdoug79
Tue Jun 10, 2014 6:01 pm
Forum: Integration Development
Topic: Setting the marketing rep on an order contact
Replies: 25
Views: 3383

Re: Setting the marketing rep on an order contact

This is being done through the API and it is in the process of creating a new order through the API. At that point is it even looking at permissions? The user profile that is creating the order was able to set the marketing rep in the Boylan system.
by uwdoug79
Tue Jun 10, 2014 3:00 pm
Forum: Integration Development
Topic: Setting the marketing rep on an order contact
Replies: 25
Views: 3383

Re: Setting the marketing rep on an order contact

I was able to change the marketing rep value on my test contact to the matching value of the fullname field in the security user group and it then found the match it was looking for, however it uncovered another error: sUserName = Convert.ToString(myRow["Marketing Rep"]); ISecurityManager ...
by uwdoug79
Tue Jun 10, 2014 12:26 pm
Forum: Integration Development
Topic: Adding A Property to An Order
Replies: 4
Views: 614

Adding A Property to An Order

When I add a property to an order I am getting a blank property 1 record and my data is showing up in a second property record. Below is my code. It this happening because when you create an order there is already a property created/associated at index (0) and I only need to to the "createNew&q...
by uwdoug79
Mon Jun 09, 2014 4:12 pm
Forum: Integration Development
Topic: Setting the marketing rep on an order contact
Replies: 25
Views: 3383

Re: Setting the marketing rep on an order contact

Will this also be a problem when one is in uppercase and the security user is in normal case? If so, is there a way to ignore case when doing the Where clause?
by uwdoug79
Mon Jun 09, 2014 4:00 pm
Forum: Integration Development
Topic: Setting the marketing rep on an order contact
Replies: 25
Views: 3383

Re: Setting the marketing rep on an order contact

Not sure how I would do that, however, if it is by going to the Management console in SPS Select and then the Users table under Security, could it be because in that table she is listed as Lori A. Stellpflug but on the Contact records she is listed as just Lori Stellpflug ? (this is the full name fi...
by uwdoug79
Mon Jun 09, 2014 3:20 pm
Forum: Integration Development
Topic: Cameron API New Order
Replies: 39
Views: 5186

Re: Cameron API New Order

Funny, I just did that and was going to post that I figured it out after I sent you the email :D
by uwdoug79
Mon Jun 09, 2014 1:55 pm
Forum: Integration Development
Topic: Cameron API New Order
Replies: 39
Views: 5186

Re: Cameron API New Order

What was the solution on this? I am having trouble finding the right combination of syntax to save custom field data on the order's Property. The following two samples which have been posted elsewhere as solutions don't work. property.SetCustomField("CityGSACode_FNF#", sCityGSACode); // pr...