svn commit: r659848 - in /ofbiz/trunk/applications/marketing: data/sfaDemoData.xml widget/sfa/CommonScreens.xml

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

svn commit: r659848 - in /ofbiz/trunk/applications/marketing: data/sfaDemoData.xml widget/sfa/CommonScreens.xml

hansbak-2
Author: hansbak
Date: Sat May 24 09:26:32 2008
New Revision: 659848

URL: http://svn.apache.org/viewvc?rev=659848&view=rev
Log:
SFA: some more demodata and added differences in the profile display

Modified:
    ofbiz/trunk/applications/marketing/data/sfaDemoData.xml
    ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml

Modified: ofbiz/trunk/applications/marketing/data/sfaDemoData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/data/sfaDemoData.xml?rev=659848&r1=659847&r2=659848&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/data/sfaDemoData.xml (original)
+++ ofbiz/trunk/applications/marketing/data/sfaDemoData.xml Sat May 24 09:26:32 2008
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <entity-engine-xml>
-    <!-- demo account -->
+    <!-- demo accounts -->
     <Party partyId="sfa100" partyTypeId="PARTY_GROUP" statusId="PARTY_ENABLED"/>
     <PartyGroup partyId="sfa100" groupName="A profitable Account"/>
     <PartyRole partyId="sfa100" roleTypeId="_NA_"/>
@@ -16,13 +16,32 @@
     <PartyContactMechPurpose partyId="sfa100" contactMechId="sfa100" contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2000-01-01 00:00:00.000"/>
     <PartyContactMechPurpose partyId="sfa100" contactMechId="sfa101" contactMechPurposeTypeId="PRIMARY_PHONE" fromDate="2000-01-01 00:00:00.000"/>
     <PartyContactMechPurpose partyId="sfa100" contactMechId="sfa102" contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2000-01-01 00:00:00.000"/>
+    <Party partyId="DemoCustomer"/>
+    <PartyRole partyId="DemoCustomer" roleTypeId="ACCOUNT"/>
+    <Party partyId="DemoCustCompany"/>
+    <PartyRole partyId="DemoCustCompany" roleTypeId="ACCOUNT"/>
+    <Party partyId="DemoSupplier"/>
+    <PartyRole partyId="DemoSupplier" roleTypeId="ACCOUNT"/>
+    
+    <!-- demo contacts -->
+    <Party partyId="DemoCustomer1"/>
+    <PartyRole partyId="DemoCustomer1" roleTypeId="CONTACT"/>
+    <Party partyId="DemoCustomer2"/>
+    <PartyRole partyId="DemoCustomer2" roleTypeId="CONTACT"/>
+    <Party partyId="DemoCustomer3"/>
+    <PartyRole partyId="DemoCustomer3" roleTypeId="CONTACT"/>
 
+    <!-- demo lead -->
+    <Party partyId="sfa102" partyTypeId="GROUP" statusId="PARTY_ENABLED"/>
+    <PartyGroup partyId="sfa102" groupName="A promising Lead Company"/>
     <Party partyId="sfa101" partyTypeId="PERSON" statusId="PARTY_ENABLED"/>
-    <Person partyId="sfa100"/>
-    <PartyRole partyId="sfa100" roleTypeId="_NA_"/>
-    <PartyRole partyId="sfa100" roleTypeId="CONTACT"/>
+    <Person partyId="sfa101" firstName="John" lastName="Lead"/>
+    <PartyRole partyId="sfa101" roleTypeId="_NA_"/>
+    <PartyRole partyId="sfa101" roleTypeId="LEAD"/>
+    <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"/>
     
-
 </entity-engine-xml>
 
 

Modified: ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml?rev=659848&r1=659847&r2=659848&view=diff
==============================================================================
--- ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml (original)
+++ ofbiz/trunk/applications/marketing/widget/sfa/CommonScreens.xml Sat May 24 09:26:32 2008
@@ -276,10 +276,7 @@
                                         </container>
                                         <container style="profile-right">
                                             <include-screen name="FinAccounts" location="component://party/widget/partymgr/ProfileScreens.xml"/>
-                                            <include-screen name="UserLogin" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                             <include-screen name="Attributes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
-                                            <include-screen name="Visits" location="component://party/widget/partymgr/ProfileScreens.xml"/>
-                                            <include-screen name="Subscriptions" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                             <include-screen name="Content" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                             <include-screen name="Notes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                         </container>
@@ -294,15 +291,8 @@
                                         <container style="profile-left">
                                             <include-screen name="Party" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                             <include-screen name="Contact" location="component://party/widget/partymgr/ProfileScreens.xml"/>
-                                            <include-screen name="PaymentMethods" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                         </container>
                                         <container style="profile-right">
-                                            <include-screen name="FinAccounts" location="component://party/widget/partymgr/ProfileScreens.xml"/>
-                                            <include-screen name="UserLogin" location="component://party/widget/partymgr/ProfileScreens.xml"/>
-                                            <include-screen name="Attributes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
-                                            <include-screen name="Visits" location="component://party/widget/partymgr/ProfileScreens.xml"/>
-                                            <include-screen name="Subscriptions" location="component://party/widget/partymgr/ProfileScreens.xml"/>
-                                            <include-screen name="Content" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                             <include-screen name="Notes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                         </container>
                                     </widgets>
@@ -316,10 +306,8 @@
                                         <container style="profile-left">
                                             <include-screen name="Party" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                             <include-screen name="Contact" location="component://party/widget/partymgr/ProfileScreens.xml"/>
-                                            <include-screen name="PaymentMethods" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                         </container>
                                         <container style="profile-right">
-                                            <include-screen name="FinAccounts" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                             <include-screen name="UserLogin" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                             <include-screen name="Attributes" location="component://party/widget/partymgr/ProfileScreens.xml"/>
                                             <include-screen name="Visits" location="component://party/widget/partymgr/ProfileScreens.xml"/>