Author: hansbak
Date: Sat May 24 22:56:09 2008 New Revision: 659920 URL: http://svn.apache.org/viewvc?rev=659920&view=rev Log: add relationships to SFA demo data Modified: ofbiz/trunk/applications/marketing/data/sfaDemoData.xml ofbiz/trunk/applications/party/data/PartyTypeData.xml Modified: ofbiz/trunk/applications/marketing/data/sfaDemoData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/data/sfaDemoData.xml?rev=659920&r1=659919&r2=659920&view=diff ============================================================================== --- ofbiz/trunk/applications/marketing/data/sfaDemoData.xml (original) +++ ofbiz/trunk/applications/marketing/data/sfaDemoData.xml Sat May 24 22:56:09 2008 @@ -26,18 +26,23 @@ <!-- demo contacts --> <Party partyId="DemoCustomer1"/> <PartyRole partyId="DemoCustomer1" roleTypeId="CONTACT"/> + <PartyRelationship partyIdFrom="sfa100" roleTypeIdFrom="ACCOUNT" partyIdTo="DemoCustomer1" roleTypeIdTo="CONTACT" fromDate="2000-01-01 00:00:00.000" partyRelationshipTypeId="CONTACT_REL"/> <Party partyId="DemoCustomer2"/> <PartyRole partyId="DemoCustomer2" roleTypeId="CONTACT"/> + <PartyRelationship partyIdFrom="DemoCustCompany" roleTypeIdFrom="ACCOUNT" partyIdTo="DemoCustomer2" roleTypeIdTo="CONTACT" fromDate="2000-01-01 00:00:00.000" partyRelationshipTypeId="CONTACT_REL"/> <Party partyId="DemoCustomer3"/> <PartyRole partyId="DemoCustomer3" roleTypeId="CONTACT"/> - + <PartyRelationship partyIdFrom="DemoCustCompany" roleTypeIdFrom="ACCOUNT" partyIdTo="DemoCustomer3" roleTypeIdTo="CONTACT" fromDate="2000-01-01 00:00:00.000" partyRelationshipTypeId="CONTACT_REL"/> + <!-- demo lead --> - <Party partyId="sfa102" partyTypeId="GROUP" statusId="PARTY_ENABLED"/> + <Party partyId="sfa102" partyTypeId="PARTY_GROUP" statusId="PARTY_ENABLED"/> <PartyGroup partyId="sfa102" groupName="A promising Lead Company"/> + <PartyRole partyId="sfa102" roleTypeId="ACCOUNT_LEAD"/> <Party partyId="sfa101" partyTypeId="PERSON" statusId="PARTY_ENABLED"/> <Person partyId="sfa101" firstName="John" lastName="Lead"/> <PartyRole partyId="sfa101" roleTypeId="_NA_"/> <PartyRole partyId="sfa101" roleTypeId="LEAD"/> + <PartyRelationship partyIdFrom="sfa102" roleTypeIdFrom="ACCOUNT_LEAD" partyIdTo="sfa101" roleTypeIdTo="LEAD" fromDate="2000-01-01 00:00:00.000" partyRelationshipTypeId="LEAD_REL"/> <ContactMech contactMechId="sfa103" contactMechTypeId="EMAIL_ADDRESS" infoString="[hidden email]"/> <PartyContactMech partyId="sfa101" contactMechId="sfa103" fromDate="2000-01-01 00:00:00.000"/> <PartyContactMechPurpose partyId="sfa101" contactMechId="sfa103" contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2000-01-01 00:00:00.000"/> Modified: ofbiz/trunk/applications/party/data/PartyTypeData.xml URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/data/PartyTypeData.xml?rev=659920&r1=659919&r2=659920&view=diff ============================================================================== --- ofbiz/trunk/applications/party/data/PartyTypeData.xml (original) +++ ofbiz/trunk/applications/party/data/PartyTypeData.xml Sat May 24 22:56:09 2008 @@ -145,6 +145,7 @@ <!-- top level role types --> <RoleType description="Account" hasTable="N" parentTypeId="" roleTypeId="ACCOUNT"/> + <RoleType description="Account Lead" hasTable="N" parentTypeId="" roleTypeId="ACCOUNT_LEAD"/> <RoleType description="Administrator" hasTable="N" parentTypeId="" roleTypeId="ADMIN"/> <RoleType description="Agent" hasTable="N" parentTypeId="" roleTypeId="AGENT"/> <RoleType description="Automated Agent" hasTable="N" parentTypeId="" roleTypeId="AUTOMATED_AGENT_ROLE"/> @@ -250,7 +251,8 @@ <!-- NOTE: The partyRelationshipName describes the TO party, ie A is a customer of B, so A is the partyTo and B is the partyFrom --> <PartyRelationshipType description="" hasTable="N" parentTypeId="" partyRelationshipName="Agent" partyRelationshipTypeId="AGENT" roleTypeIdValidFrom="" roleTypeIdValidTo=""/> <PartyRelationshipType description="" hasTable="N" parentTypeId="" partyRelationshipName="Child" partyRelationshipTypeId="CHILD" roleTypeIdValidFrom="" roleTypeIdValidTo=""/> - <PartyRelationshipType description="" hasTable="N" parentTypeId="" partyRelationshipName="Contact" partyRelationshipTypeId="CONTACT_REL" roleTypeIdValidFrom="" roleTypeIdValidTo=""/> + <PartyRelationshipType description="" hasTable="N" parentTypeId="" partyRelationshipName="Contact Relation" partyRelationshipTypeId="CONTACT_REL" roleTypeIdValidFrom="" roleTypeIdValidTo=""/> + <PartyRelationshipType description="" hasTable="N" parentTypeId="" partyRelationshipName="Lead Relation" partyRelationshipTypeId="LEAD_REL" roleTypeIdValidFrom="" roleTypeIdValidTo=""/> <PartyRelationshipType description="" hasTable="N" parentTypeId="" partyRelationshipName="Lead Owner" partyRelationshipTypeId="LEAD_OWNER" roleTypeIdValidFrom="" roleTypeIdValidTo=""/> <PartyRelationshipType description="" hasTable="N" parentTypeId="" partyRelationshipName="Customer" partyRelationshipTypeId="CUSTOMER_REL" roleTypeIdValidFrom="CUSTOMER" roleTypeIdValidTo=""/> <PartyRelationshipType description="" hasTable="N" parentTypeId="" partyRelationshipName="Distributor" partyRelationshipTypeId="DISTRIBUTION_CHANNEL" roleTypeIdValidFrom="" roleTypeIdValidTo=""/> |
Free forum by Nabble | Edit this page |