What am I missing?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

What am I missing?

JohnHays
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: What am I missing?

BJ Freeman
the way I find out is I put each line thru one at a time through the
webtools import
it give me the error if I am out of sequence or missing something for
that line


John Hays sent the following on 4/23/2009 3:03 PM:

> 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
>
>

Reply | Threaded
Open this post in threaded view
|

Re: What am I missing?

JohnHays
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: What am I missing?

David E Jones-3

When you say 'the contact information is not associated with the  
"Party"', what exactly do you mean by that? Which page(s) did you go  
to (URLs are helpful) and what did you see there that was different  
than what you expected?

-David


On Apr 23, 2009, at 5:09 PM, John Hays wrote:

>
> Did that, no errors, no happiness.
>
> On Apr 23, 2009, at 3:53 PM, BJ Freeman wrote:
>
>> the way I find out is I put each line thru one at a time through the
>> webtools import
>> it give me the error if I am out of sequence or missing something for
>> that line
>>
>>
>> John Hays sent the following on 4/23/2009 3:03 PM:
>>> 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
>>>
>>>
>>
>

Reply | Threaded
Open this post in threaded view
|

Re: What am I missing?

JohnHays
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: What am I missing?

David E Jones-3

The entity that ties a ContactMech to a Party is PartyContactMech, and  
it looks like in your records the fromDate="2009-04-23 22:57:38.0".

Is that in the future in your part of the world? If so then it won't  
show up... until late tonight anyway.

-David


On Apr 23, 2009, at 5:38 PM, John Hays wrote:

> If I upload the XML either as a file or line by line through the XML  
> import tool -- the account is created.
>
> When I navigate to https://localhost:8443/partymgr/control/viewprofile?partyId=contA12899 
>  the "Personal Information" is populated, as is the "User Name" but  
> nothing appears in the "Contact Information" ...  if I login through  
> the ecommerce site and add contact information, it shows up.
>
> The associated Billing Account exists at https://localhost:8443/accounting/control/EditBillingAccount?billingAccountId=ba_contA12899 
>  with the following
>
>
> Billing Account ID ba_contA12899 cannot change without re-creating
> Account Limit
> Account Currency Uom Id USD
> Description Gordon Hays Billing Account
> Contact Mech Id 13570 Billing Address; Add Party/Role first, then  
> select from drop-down
> From Date View Calendar
> Thru Date View Calendar
> Party Billed To Lookup
> Available Balance $0.00This is the amount which can be used for new  
> orders.
>  
> Using the following XML...
>
>  <Party partyId="contA12899" partyTypeId="PERSON" />
>  <Person partyId="contA12899" firstName="Gordon" lastName="Hays" />
>  <UserLogin partyId="contA12899" userLoginId="GHays"  
> requirePasswordChange="Y" enabled="Y" />
>  <PartyRole partyId="contA12899" roleTypeId="CUSTOMER" />
>  <PartyRole partyId="contA12899" roleTypeId="CONTACT" />
>  <PartyRole partyId="contA12899" roleTypeId="BILL_TO_CUSTOMER" />
>  <PartyRole partyId="contA12899" roleTypeId="ACCOUNT" />
>  <ContactMech contactMechId="13570"  
> contactMechTypeId="POSTAL_ADDRESS" />
>  <PostalAddress contactMechId="13570" toName="Gordon Hays"  
> attnName="Gordon Hays" address1="11319 Amboy St" city="Spring Hill"  
> stateProvinceGeoId="FL" postalCode="34609" countryGeoId="USA" />
>  <PartyContactMech partyId="contA12899" contactMechId="13570"  
> allowSolicitation="Y" fromDate="2009-04-23 22:57:38.0" />
>  <PartyContactMechPurpose partyId="contA12899" contactMechId="13570"  
> contactMechPurposeTypeId="BILLING_LOCATION" fromDate="2009-04-23  
> 22:57:38.0" />
>  <PartyContactMechPurpose partyId="contA12899" contactMechId="13570"  
> contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2009-04-23  
> 22:57:38.0" />
>  <BillingAccount billingAccountId="ba_contA12899"  
> contactMechId="13570" accountCurrencyUomId="USD"  
> fromDate="2009-04-23 22:57:38.0" description="Gordon Hays Billing  
> Account" />
>  <BillingAccountRole billingAccountId="ba_contA12899"  
> partyId="contA12899" roleTypeId="BILL_TO_CUSTOMER"  
> fromDate="2009-04-23 22:57:38.0" />
>  <PartyContactMechPurpose partyId="contA12899" contactMechId="13570"  
> contactMechPurposeTypeId="SHIPPING_LOCATION" fromDate="2009-04-23  
> 22:57:38.0" />
>
>
> On Apr 23, 2009, at 4:12 PM, David E Jones wrote:
>
>>
>> When you say 'the contact information is not associated with the  
>> "Party"', what exactly do you mean by that? Which page(s) did you  
>> go to (URLs are helpful) and what did you see there that was  
>> different than what you expected?
>>
>> -David
>>
>
>
>

Reply | Threaded
Open this post in threaded view
|

Re: What am I missing?

JohnHays
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|

Re: What am I missing?

JohnHays
In reply to this post by David E Jones-3
CONTENTS DELETED
The author has deleted this message.