ForwardingAddress

Discussions concerning general integration topics.

Moderator: Phil Barton

Post Reply
shawnregan
Posts: 22
Joined: Tue Dec 11, 2018 10:03 am

ForwardingAddress

Post by shawnregan »

I am looking for information on the LocationInfo object. I cannot locate anything on it in the SDK help and I need to set a Contact.ForwardingAddress.
BobRichards
Posts: 1376
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: ForwardingAddress

Post by BobRichards »

Each Buyer and Seller contact has a "ForwardingAddress" property that is of type LocationInfo. This object contains three user writable objects - Address, Fax, and Phone. By setting the buyer/seller's "ForwardingAddressType" to one of the values from the SDK (None, SameAsPropertyAddress, or SameAsCurrentAddress) you can change the LocationInfo value.

You can write to any of the fields at any time, but to reduce confusion on the part of the operator, it makes the most sense to set the "ForwardingAddressType" to "ForwardingAddressType.None" then set the individual fields (i.e. forwardingAddress.Phone = "919-123-1234").
Bob Richards, Senior Software Developer, SoftPro
Post Reply