Gets the CContactBasic object representing the contact to whom this COrder will ship.
Namespace: Asi.iBO.CommerceAssembly: Asi.iBO (in Asi.iBO.dll) Version: 15.1.3.0
Syntax
| C# |
|---|
public CContactBasic ShipToContactBasic { get; } |
| Visual Basic |
|---|
Public ReadOnly Property ShipToContactBasic As CContactBasic Get |
| Visual C++ |
|---|
public: property CContactBasic^ ShipToContactBasic { CContactBasic^ get (); } |
Field Value
A CContactBasic object representing the contact to whom this COrder will ship.
Remarks
There are 3 ways to set the contact information on an order:
1. Set the ShipToContactId to the ContactId of a contact that already exists in the iMIS
database. In this case, the contact information for that contact will be copied to the order and can be modified
on the order by using the name and address related properties of the order. If the method SaveContactChanges()()()()
is called after changes are made, those changes will affect the contact record in the Contact Management system.
Otherwise, they will only affect the order.
2. Set the ShipToContact property to an instantiated CContact object. This contact does not have
to have been saved to the database before setting this property, but, if the contact should be saved in the Contact Management system,
that should be done before saving the order to ensure the keys all match up.
3. Set the individual name and address related fields on the order. This will create a contact that exists only
on the order (i.e., not in the Contact Management system) unless the method SaveContactChanges()()()() is called. If
SaveContactChanges()()()() is not called, this contact info may be accessed through this property.