Creating a "Customer Account" using:
<entity-engine-xml>
<Party partyId="contA182165" partyTypeId="PERSON" />
<Person partyId="contA182165" firstName="John" lastName="Hays" />
<UserLogin partyId="contA182165" userLoginId="John Hays"
requirePasswordChange="Y" enabled="Y" />
<PartyRole partyId="contA182165" roleTypeId="CUSTOMER" />
<PartyRole partyId="contA182165" roleTypeId="CONTACT" />
<PartyRole partyId="contA182165" roleTypeId="BILL_TO_CUSTOMER" />
<PartyRole partyId="contA182165" roleTypeId="ACCOUNT" />
<ContactMech contactMechId="352965"
contactMechTypeId="POSTAL_ADDRESS" />
<PostalAddress contactMechId="352965" toName="John Hays"
attnName="John Hays" address1="123 Main St" city="South Jordan"
stateProvinceGeoId="UT" postalCode="84095-5037" countryGeoId="USA" />
<PartyContactMech partyId="contA182165" contactMechId="352965"
allowSolicitation="Y" fromDate="2009-04-23 21:36:54.0" />
<PartyContactMechPurpose partyId="contA182165"
contactMechId="352965" contactMechPurposeTypeId="BILLING_LOCATION"
fromDate="2009-04-23 21:36:54.0" />
<PartyContactMechPurpose partyId="contA182165"
contactMechId="352965" contactMechPurposeTypeId="GENERAL_LOCATION"
fromDate="2009-04-23 21:36:54.0" />
<BillingAccount billingAccountId="ba_contA182165"
contactMechId="352965" accountCurrencyUomId="USD" fromDate="2009-04-23
21:36:54.0" description="John Hays Billing Account" />
<BillingAccountRole billingAccountId="ba_contA182165"
partyId="contA182165" roleTypeId="BILL_TO_CUSTOMER"
fromDate="2009-04-23 21:36:54.0" />
<ContactMech contactMechId="352975"
contactMechTypeId="POSTAL_ADDRESS" />
<PostalAddress contactMechId="352975" toName="MaverickLabel.Com"
attnName="John Hays" address1="120 W. Dayton" city="Edmonds"
stateProvinceGeoId="WA" postalCode="98020" countryGeoId="USA" />
<PartyContactMechPurpose partyId="contA182165"
contactMechId="352975" contactMechPurposeTypeId="SHIPPING_LOCATION"
fromDate="2009-04-23 21:36:54.0" />
</entity-engine-xml>
The account is created with no complaints, but the contact information
is not associated with the "Party" --- the data is in the MySQL tables.
John D. Hays
Director of Information Technology
www.mavericklabel.com
120 West Dayton Street
Edmonds, WA 98020-4180