Files
ofbiz-framework/applications/marketing/data/sfaDemoData.xml
T
Jacques Le Roux b9c3ddef08 2d part and end of an effort to remove trailing spaces
[ \t]+$ => "" (empty)
Should be easier to review when committing changes with trailing spaces removed automatically by anyedit or such tool (please refer to http://docs.ofbiz.org/x/mg)

Of course this effort to remove trailing spaces has no functional implications.

Actually, I was doing a 1st commit and as it's long to upload, I got conflicts with r763135
In the meantime I did some refactoring also in *.java and *.groovy files :
){ => ) {
if( => if (
while( => while (
}else => } else
else{ => else {
switch( => switch (
try{ => try {
}catch => } catch
catch( => catch (
}finally{ => } finally {

So these changes are also in this commit, should not be a problem anyway.


git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@763175 13f79535-47bb-0310-9956-ffa450edef68
2009-04-08 10:54:51 +00:00

60 lines
4.5 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<entity-engine-xml>
<!-- demo owner -->
<Party partyId="admin"/>
<PartyRole partyId="admin" roleTypeId="OWNER"/>
<!-- demo accounts -->
<Party partyId="sfa100" partyTypeId="PARTY_GROUP" statusId="PARTY_ENABLED"/>
<PartyGroup partyId="sfa100" groupName="A profitable Account"/>
<PartyRole partyId="sfa100" roleTypeId="_NA_"/>
<PartyRole partyId="sfa100" roleTypeId="ACCOUNT"/>
<ContactMech contactMechId="sfa100" contactMechTypeId="POSTAL_ADDRESS"/>
<ContactMech contactMechId="sfa101" contactMechTypeId="TELECOM_NUMBER"/>
<ContactMech contactMechId="sfa102" contactMechTypeId="EMAIL_ADDRESS" infoString="ofbiztest@yahoo.com"/>
<PostalAddress contactMechId="sfa100" address1="151 Madison street." city="Edison" postalCode="32451" lastUpdatedStamp="2008-05-23 11:57:40.936" lastUpdatedTxStamp="2008-05-23 11:57:39.476" createdStamp="2008-05-23 11:57:40.936" createdTxStamp="2008-05-23 11:57:39.476"/>
<TelecomNumber contactMechId="sfa101" countryCode="1" areaCode="33" contactNumber="12456" lastUpdatedStamp="2008-05-23 11:57:41.179" lastUpdatedTxStamp="2008-05-23 11:57:39.476" createdStamp="2008-05-23 11:57:41.179" createdTxStamp="2008-05-23 11:57:39.476"/>
<PartyContactMech partyId="sfa100" contactMechId="sfa100" fromDate="2000-01-01 00:00:00.000"/>
<PartyContactMech partyId="sfa100" contactMechId="sfa101" fromDate="2000-01-01 00:00:00.000"/>
<PartyContactMech partyId="sfa100" contactMechId="sfa102" fromDate="2000-01-01 00:00:00.000"/>
<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="DemoCustCompany"/>
<PartyRole partyId="DemoCustCompany" roleTypeId="ACCOUNT"/>
<Party partyId="DemoSupplier"/>
<PartyRole partyId="DemoSupplier" roleTypeId="ACCOUNT"/>
<!-- 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="EMPLOYMENT"/>
<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="EMPLOYMENT"/>
<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="EMPLOYMENT"/>
<!-- demo lead -->
<Party partyId="sfa102" partyTypeId="PARTY_GROUP" statusId="PARTY_ENABLED"/>
<PartyGroup partyId="sfa102" groupName="A promising Lead Company"/>
<PartyRole partyId="sfa102" roleTypeId="ACCOUNT_LEAD"/>
<PartyRole partyId="sfa102" roleTypeId="_NA_"/>
<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"/>
<!-- company to lead relationship -->
<PartyRelationship partyIdFrom="sfa102" roleTypeIdFrom="ACCOUNT_LEAD" partyIdTo="sfa101" roleTypeIdTo="LEAD" fromDate="2000-01-01 00:00:00.000" partyRelationshipTypeId="EMPLOYMENT"/>
<!-- owner to lead relationship -->
<PartyRelationship partyIdFrom="admin" roleTypeIdFrom="OWNER" partyIdTo="sfa101" roleTypeIdTo="LEAD" fromDate="2000-01-01 00:00:00.000" partyRelationshipTypeId="LEAD_OWNER"/>
<ContactMech contactMechId="sfa103" contactMechTypeId="EMAIL_ADDRESS" infoString="ofbiztestLead@yahoo.com"/>
<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"/>
<!-- Status Valid Change -->
<StatusValidChange statusId="PARTY_ENABLED" statusIdTo="LEAD_CONVERTED" transitionName="Convert Lead To Contact"/>
</entity-engine-xml>