svn commit: r816083 [1/4] - in /ofbiz/trunk: applications/commonext/ applications/commonext/config/ applications/commonext/data/ applications/commonext/data/helpdata/ applications/commonext/documents/ applications/commonext/script/ applications/commone...

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

svn commit: r816083 [1/4] - in /ofbiz/trunk: applications/commonext/ applications/commonext/config/ applications/commonext/data/ applications/commonext/data/helpdata/ applications/commonext/documents/ applications/commonext/script/ applications/commone...

hansbak-2
Author: hansbak
Date: Thu Sep 17 07:43:05 2009
New Revision: 816083

URL: http://svn.apache.org/viewvc?rev=816083&view=rev
Log:
added a 'setup' component to create a system from seed data only. After the required data is created with this component it is possible to enter a salesorder and quickship it and create an invoice successfully. The 'setup' component will only show in the tab selection if there is no accounting organization. Check the ofbiz document for more info or look in the file applications/commonext/documents/Setup.xml. Created and sponsored by Antwebsystems. Programmed by employee Tukkata

Added:
    ofbiz/trunk/applications/commonext/config/SetupUiLabels.xml   (with props)
    ofbiz/trunk/applications/commonext/data/GlAccountData.xml   (with props)
    ofbiz/trunk/applications/commonext/data/ProductStoreData.xml   (with props)
    ofbiz/trunk/applications/commonext/data/SetupData.xml   (with props)
    ofbiz/trunk/applications/commonext/data/ShippingData.xml   (with props)
    ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP.xml   (with props)
    ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_firstproduct.xml   (with props)
    ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_initialsetup.xml   (with props)
    ofbiz/trunk/applications/commonext/documents/Setup.xml   (with props)
    ofbiz/trunk/applications/commonext/script/org/ofbiz/setup/
    ofbiz/trunk/applications/commonext/script/org/ofbiz/setup/SetupEvents.xml   (with props)
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/FindFacility.groovy   (with props)
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProdCatalog.groovy   (with props)
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/actions/GetProductStoreAndWebSite.groovy   (with props)
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/controller.xml   (with props)
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/WEB-INF/web.xml   (with props)
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/index.jsp   (with props)
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/EditFacility.ftl   (with props)
    ofbiz/trunk/applications/commonext/webapp/ofbizsetup/organization/viewcontact.ftl   (with props)
    ofbiz/trunk/applications/commonext/widget/ofbizsetup/
    ofbiz/trunk/applications/commonext/widget/ofbizsetup/CommonScreens.xml   (with props)
    ofbiz/trunk/applications/commonext/widget/ofbizsetup/Menus.xml   (with props)
    ofbiz/trunk/applications/commonext/widget/ofbizsetup/ProfileScreens.xml   (with props)
    ofbiz/trunk/applications/commonext/widget/ofbizsetup/SetupForms.xml   (with props)
    ofbiz/trunk/applications/commonext/widget/ofbizsetup/SetupScreens.xml   (with props)
Modified:
    ofbiz/trunk/applications/commonext/data/CommonExtHelpData.xml
    ofbiz/trunk/applications/commonext/documents/ApacheOfbizUser.xml
    ofbiz/trunk/applications/commonext/documents/CommonExt.xml
    ofbiz/trunk/applications/commonext/ofbiz-component.xml
    ofbiz/trunk/applications/commonext/script/changeOrgPartyId.groovy
    ofbiz/trunk/framework/common/widget/CommonScreens.xml
    ofbiz/trunk/themes/bizznesstime/includes/appbar.ftl
    ofbiz/trunk/themes/bluelight/includes/appbar.ftl
    ofbiz/trunk/themes/flatgrey/includes/appbar.ftl

Added: ofbiz/trunk/applications/commonext/config/SetupUiLabels.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/config/SetupUiLabels.xml?rev=816083&view=auto
==============================================================================
--- ofbiz/trunk/applications/commonext/config/SetupUiLabels.xml (added)
+++ ofbiz/trunk/applications/commonext/config/SetupUiLabels.xml Thu Sep 17 07:43:05 2009
@@ -0,0 +1,124 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<resource xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+    <property key="SetupCompanyName">
+        <value xml:lang="en">OFBiz: Setup Component </value>
+    </property>
+    <property key="SetupCompanySubtitle">
+        <!--value xml:lang="ar">جزء من عائلة أوفبيز للبرمجيات الحرة</value-->
+        <value xml:lang="ar">جزء من عائلة أوفبيز للتطبيقات الحرة للتسيير</value>
+        <value xml:lang="de">Teil der Open For Business Familie von Open Source Software</value>
+        <value xml:lang="en">Part of the Open For Business Family of Open Source Software</value>
+        <!--value xml:lang="es">Parte de la familia "Open for Bussiness" de Software Libre</value-->
+        <value xml:lang="es">Parte de la familia de software Open For Business de código abierto</value>
+        <value xml:lang="fr">Un module de la famille Open For Business, logiciel libre de gestion d'entreprise.</value>
+        <value xml:lang="it">Part of the Open For Business Family of Open Source Software</value>
+        <!--value xml:lang="nl">Onderdeel van de Open For Business'-suite</value-->
+        <value xml:lang="nl">Deel van de Open For Business-suite van Open Source Software</value>
+        <value xml:lang="pt_BR">Parte da família OfBiz de software de fonte aberta</value>
+        <!--value xml:lang="pt_PT">Parte do Software de Fonte Aberta para Grupos Abertos Para o Negócio</value-->
+        <value xml:lang="pt_PT">Parte da família OfBiz de software de fonte aberta</value>
+        <!--value xml:lang="ro">Parte accesibila pentru Business Family of Open Source Software</valuevalue xml:lang="ro">Parte din Open for Business Family of Open Source Software</value-->
+        <value xml:lang="ro">Partea de Deschidere Pentru Afaceri Familiale din Open Source Software</value>
+        <!--value xml:lang="ru">Часть семейства ПО Open For Business</valuevalue xml:lang="ru">Часть семейства "Open For Business Family" программных продуктов Open Source </value-->
+        <value xml:lang="ru">Входит в состав семейства Open For Business</value>
+        <!--value xml:lang="th">เป็นส่วนหนึ่งของธุรกิจแบบครอบครัวที่เป็นซอฟต์แวร์โอเพนซอส</value-->
+        <value xml:lang="th">ส่วนหนึ่งของธุรกิจแบบครอบครัวที่เป็นซอฟต์แวร์โอเพนซอส</value>
+        <!--value xml:lang="zh">开源软件OFBiz的组成部分</valuevalue xml:lang="zh">开源软件OFBiz的组成部分</value-->
+        <value xml:lang="zh">开源软件OFBiz家族的一部分</value>
+        <value xml:lang="zh_CN">OFBiz的一部分</value>
+    </property>
+    <property key="SetupApp">
+        <value xml:lang="en">Setup Application</value>
+    </property>
+    <property key="SetupNewComponent">
+        <value xml:lang="en">Setup New Component</value>
+    </property>
+    <property key="SetupOrganization">
+        <value xml:lang="en">Organization</value>
+    </property>
+    <property key="SetupProductStore">
+        <value xml:lang="en">Product Store</value>
+    </property>
+    <property key="SetupWebSite">
+        <value xml:lang="en">Web Site</value>
+    </property>
+    <property key="SetupFacility">
+        <value xml:lang="en">Facility</value>
+    </property>
+    <property key="SetupOrganizationPartyId">
+        <value xml:lang="en">Organization Party Id</value>
+    </property>
+    <property key="SetupOrganizationName">
+        <value xml:lang="en">Organization name</value>
+    </property>
+    <property key="SetupOrganizationInformation">
+        <value xml:lang="en">Organization Information</value>
+    </property>
+    <property key="SetupEditOrganizationInformation">
+        <value xml:lang="en">Edit Organization Information</value>
+    </property>
+    <property key="SetupProductStoreName">
+        <value xml:lang="en">Product Store name</value>
+    </property>
+    <property key="SetupResults">
+        <value xml:lang="en">Results</value>
+    </property>
+    <property key="SetupCreateNewOrganization">
+        <value xml:lang="en">Create Organization</value>
+    </property>
+    <property key="SetupFirstCustomer">
+        <value xml:lang="en">First Customer</value>
+    </property>
+    <property key="SetupFirstProduct">
+        <value xml:lang="en">First Product</value>
+    </property>
+    <property key="SetupFacilityDescription">
+        <value xml:lang="en">Description</value>
+    </property>
+    <property key="SetupEditProductStore">
+        <value xml:lang="en">Edit Product Store</value>
+    </property>
+    <property key="SetupCreateNewOrganization">
+        <value xml:lang="en">Create New Organization</value>
+    </property>
+    <property key="SetupTheFirstCustomerOf">
+        <value xml:lang="en">The First Customer of</value>
+    </property>
+    <property key="SetupProductCatalog">
+        <value xml:lang="en">Product Catalog</value>
+    </property>
+    <property key="SetupPageError">
+        <value xml:lang="en">You do not have sufficient data to access this page.</value>
+    </property>
+    <property key="PageTitleProductInfomation">
+        <value xml:lang="en">Product Infomation</value>
+    </property>
+    <property key="PageTitleEditProductCategory">
+        <value xml:lang="en">Edit Product Category</value>
+    </property>
+    <property key="SetupSetToComplete">
+        <value xml:lang="en">Set to complete</value>
+    </property>
+    <property key="SetupInitialSetup">
+        <value xml:lang="en">Initial Setup</value>
+    </property>
+</resource>
\ No newline at end of file

Propchange: ofbiz/trunk/applications/commonext/config/SetupUiLabels.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/commonext/config/SetupUiLabels.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/applications/commonext/config/SetupUiLabels.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/applications/commonext/data/CommonExtHelpData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/data/CommonExtHelpData.xml?rev=816083&r1=816082&r2=816083&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/data/CommonExtHelpData.xml (original)
+++ ofbiz/trunk/applications/commonext/data/CommonExtHelpData.xml Thu Sep 17 07:43:05 2009
@@ -27,4 +27,15 @@
     <ContentAssoc contentId="HELP_ROOT" contentIdTo="HELP_COMMONEXT" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum="000"/>
 
     <!-- setup component help -->
+    <DataResource dataResourceId="HELP_SETUP" localeString="en" dataResourceTypeId="OFBIZ_FILE" objectInfo="applications/commonext/data/helpdata/HELP_SETUP.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Help system Setup" mimeTypeId="text/xml" isPublic="Y" />
+    <Content contentId="HELP_SETUP" contentTypeId="DOCUMENT" localeString="en" contentName="OFBiz Setup Help" templateDataResourceId="HELP_TEMPL" dataResourceId="HELP_SETUP" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>
+    <ContentAssoc contentId="HELP_COMMONEXT" contentIdTo="HELP_SETUP" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum="000"/>
+    
+    <DataResource dataResourceId="SETUP_initialsetup" localeString="en" dataResourceTypeId="OFBIZ_FILE" objectInfo="applications/commonext/data/helpdata/HELP_SETUP_initialsetup.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Setup Main Help" mimeTypeId="text/xml" isPublic="Y" />
+    <Content contentId="SETUP_initialsetup" contentTypeId="DOCUMENT" contentName="Main OFBiz Setup Help" templateDataResourceId="HELP_TEMPL" dataResourceId="SETUP_initialsetup" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>
+    <ContentAssoc contentId="HELP_SETUP" contentIdTo="SETUP_initialsetup" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-12 01:01:01" sequenceNum="001" mapKey="SETUP_initialsetup"/>
+    
+    <DataResource dataResourceId="SETUP_firstproduct" localeString="en" dataResourceTypeId="OFBIZ_FILE" objectInfo="applications/commonext/data/helpdata/HELP_SETUP_firstproduct.xml" dataTemplateTypeId="NONE" statusId="CTNT_IN_PROGRESS" dataResourceName="Setup The First Product Help" mimeTypeId="text/xml" isPublic="Y" />
+    <Content contentId="SETUP_firstproduct" contentTypeId="DOCUMENT" contentName="Setup The First Product Help" templateDataResourceId="HELP_TEMPL" dataResourceId="SETUP_firstproduct" statusId="CTNT_IN_PROGRESS" mimeTypeId="text/html"/>
+    <ContentAssoc contentId="HELP_SETUP" contentIdTo="SETUP_firstproduct" contentAssocTypeId="TREE_CHILD" fromDate="2006-01-13 01:01:01" sequenceNum="002" mapKey="SETUP_firstproduct"/>
 </entity-engine-xml>

Added: ofbiz/trunk/applications/commonext/data/GlAccountData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/data/GlAccountData.xml?rev=816083&view=auto
==============================================================================
--- ofbiz/trunk/applications/commonext/data/GlAccountData.xml (added)
+++ ofbiz/trunk/applications/commonext/data/GlAccountData.xml Thu Sep 17 07:43:05 2009
@@ -0,0 +1,164 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<entity-engine-xml>
+    <!-- General Ledger Setup for the organization -->
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="100000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="111000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="111100" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="112000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="120000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="125000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="121800" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="122000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="122100" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="122200" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="122300" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="122500" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="140000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="141000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="142000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="210000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="213000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="213200" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="213300" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="213500" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="214000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="215000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="221100" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="224000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="224100" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="224106" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="224140" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="224151" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="224153" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="224209" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="336000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="400000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="401000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="409000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="410000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="421000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="422000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="423000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="424000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="500000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="510000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="514000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="515000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="516100" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="600000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="601000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="601100" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="601200" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="601300" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="601400" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="602100" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="602200" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="603100" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="603200" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="604000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="605000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="625000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="650000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="804000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="810000" fromDate="FROMDATE"/>
+    <GlAccountOrganization organizationPartyId="ORGPARTYID" glAccountId="900000" fromDate="FROMDATE"/>
+    
+    <!-- Default mapping between account types and account ids -->
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="ACCOUNTS_RECEIVABLE" glAccountId="120000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="INTRSTINC_RECEIVABLE" glAccountId="121800"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="INVENTORY_XFER_OUT" glAccountId="125000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="INVENTORY_ACCOUNT" glAccountId="140000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="RAWMAT_INVENTORY" glAccountId="141000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="WIP_INVENTORY" glAccountId="142000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="PREPAID_EXPENSES" glAccountId="150000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="ACCOUNTS_PAYABLE" glAccountId="210000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="CUSTOMER_CREDIT" glAccountId="213000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="CUSTOMER_DEPOSIT" glAccountId="213300"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="UNINVOICED_SHIP_RCPT" glAccountId="214000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="INVENTORY_XFER_IN" glAccountId="215000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="COMMISSIONS_PAYABLE" glAccountId="221100"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="RETAINED_EARNINGS" glAccountId="336000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="SALES_ACCOUNT" glAccountId="400000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="COGS_ACCOUNT" glAccountId="500000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="INV_ADJ_VAL" glAccountId="515000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="OPERATING_EXPENSE" glAccountId="600000"/>
+    <GlAccountTypeDefault organizationPartyId="ORGPARTYID" glAccountTypeId="TAX_ACCOUNT" glAccountId="900000"/>
+    
+    <!-- mappings for payments -->
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="CUSTOMER_REFUND" glAccountTypeId="CUSTOMER_CREDIT"/>
+    <!-- NOTE: do not change this -->
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="VENDOR_PAYMENT" glAccountTypeId="ACCOUNTS_PAYABLE"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="VENDOR_PREPAY" glAccountTypeId="PREPAID_EXPENSES"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="COMMISSION_PAYMENT" glAccountTypeId="COMMISSIONS_PAYABLE"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="PAY_CHECK" glAccountTypeId="CUSTOMER_CREDIT"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="GC_WITHDRAWAL" glAccountTypeId="CUSTOMER_CREDIT"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="SALES_TAX_PAYMENT" glAccountTypeId="TAX_ACCOUNT"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="PAYROL_PAYMENT" glAccountTypeId="OPERATING_EXPENSE"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="PAYROLL_TAX_PAYMENT" glAccountTypeId="TAX_ACCOUNT"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="INCOME_TAX_PAYMENT" glAccountTypeId="TAX_ACCOUNT"/>
+    
+    <!-- NOTE: do not change this -->
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="CUSTOMER_PAYMENT" glAccountTypeId="ACCOUNTS_RECEIVABLE"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="CUSTOMER_DEPOSIT" glAccountTypeId="CUSTOMER_DEPOSIT"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="INTEREST_RECEIPT" glAccountTypeId="INTRSTINC_RECEIVABLE"/>
+    <PaymentGlAccountTypeMap organizationPartyId="ORGPARTYID" paymentTypeId="GC_DEPOSIT" glAccountTypeId="CUSTOMER_DEPOSIT"/>
+    
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="GIFT_CERTIFICATE" glAccountId="120000"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="CASH" glAccountId="112000"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="EFT_ACCOUNT" glAccountId="111100"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="FIN_ACCOUNT" glAccountId="111100"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="PERSONAL_CHECK" glAccountId="112000"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="COMPANY_CHECK" glAccountId="112000"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="CERTIFIED_CHECK" glAccountId="112000"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="MONEY_ORDER" glAccountId="112000"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="COMPANY_ACCOUNT" glAccountId="111100"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="EXT_BILLACT" glAccountId="213000"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="EXT_COD" glAccountId="112000"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="EXT_EBAY" glAccountId="112000"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="EXT_OFFLINE" glAccountId="112000"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="EXT_PAYPAL" glAccountId="122500"/>
+    <PaymentMethodTypeGlAccount organizationPartyId="ORGPARTYID" paymentMethodTypeId="EXT_WORLDPAY" glAccountId="122500"/>
+    <CreditCardTypeGlAccount organizationPartyId="ORGPARTYID" cardType="CCT_AMERICANEXPRESS" glAccountId="122100"/>
+    <CreditCardTypeGlAccount organizationPartyId="ORGPARTYID" cardType="CCT_DINERSCLUB" glAccountId="122100"/>
+    <CreditCardTypeGlAccount organizationPartyId="ORGPARTYID" cardType="CCT_DISCOVER" glAccountId="122200"/>
+    <CreditCardTypeGlAccount organizationPartyId="ORGPARTYID" cardType="CCT_VISA" glAccountId="122300"/>
+    <CreditCardTypeGlAccount organizationPartyId="ORGPARTYID" cardType="CCT_MASTERCARD" glAccountId="122300"/>
+    
+    <!-- The following ones are required until the issue OFBIZ-1524 is resolved -->
+    <CreditCardTypeGlAccount organizationPartyId="ORGPARTYID" cardType="AmericanExpress" glAccountId="122100"/>
+    <CreditCardTypeGlAccount organizationPartyId="ORGPARTYID" cardType="DinersClub" glAccountId="122100"/>
+    <CreditCardTypeGlAccount organizationPartyId="ORGPARTYID" cardType="Discover" glAccountId="122200"/>
+    <CreditCardTypeGlAccount organizationPartyId="ORGPARTYID" cardType="Visa" glAccountId="122300"/>
+    <CreditCardTypeGlAccount organizationPartyId="ORGPARTYID" cardType="MasterCard" glAccountId="122300"/>
+    
+    <FinAccountTypeGlAccount organizationPartyId="ORGPARTYID" finAccountTypeId="GIFTCERT_ACCOUNT" glAccountId="213200"/>
+    <FinAccountTypeGlAccount organizationPartyId="ORGPARTYID" finAccountTypeId="DEPOSIT_ACCOUNT" glAccountId="213500"/>
+    <FinAccountTypeGlAccount organizationPartyId="ORGPARTYID" finAccountTypeId="BANK_ACCOUNT" glAccountId="213500"/>
+    <FinAccountTypeGlAccount organizationPartyId="ORGPARTYID" finAccountTypeId="INVESTMENT_ACCOUNT" glAccountId="213500"/>
+    
+    <VarianceReasonGlAccount organizationPartyId="ORGPARTYID" varianceReasonId="VAR_LOST" glAccountId="514000"/>
+    <VarianceReasonGlAccount organizationPartyId="ORGPARTYID" varianceReasonId="VAR_STOLEN" glAccountId="514000"/>
+    <VarianceReasonGlAccount organizationPartyId="ORGPARTYID" varianceReasonId="VAR_FOUND" glAccountId="514000"/>
+    <VarianceReasonGlAccount organizationPartyId="ORGPARTYID" varianceReasonId="VAR_DAMAGED" glAccountId="514000"/>
+    <VarianceReasonGlAccount organizationPartyId="ORGPARTYID" varianceReasonId="VAR_INTEGR" glAccountId="514000"/>
+    <VarianceReasonGlAccount organizationPartyId="ORGPARTYID" varianceReasonId="VAR_SAMPLE" glAccountId="625000"/>
+
+</entity-engine-xml>
\ No newline at end of file

Propchange: ofbiz/trunk/applications/commonext/data/GlAccountData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/commonext/data/GlAccountData.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/applications/commonext/data/GlAccountData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/commonext/data/ProductStoreData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/data/ProductStoreData.xml?rev=816083&view=auto
==============================================================================
--- ofbiz/trunk/applications/commonext/data/ProductStoreData.xml (added)
+++ ofbiz/trunk/applications/commonext/data/ProductStoreData.xml Thu Sep 17 07:43:05 2009
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<entity-engine-xml>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_AUTH" paymentService="alwaysApproveCCProcessor" paymentCustomMethodId="CC_AUTH_ALWAYSAPPROV"/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_RELEASE" paymentService="testCCRelease" paymentCustomMethodId="CC_RELEASE_TEST"/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_CAPTURE" paymentService="testCCCapture" paymentCustomMethodId="CC_CAPTURE_TEST"/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_REAUTH" paymentService="alwaysApproveCCProcessor" paymentCustomMethodId="CC_AUTH_ALWAYSAPPROV"/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="CREDIT_CARD" paymentServiceTypeEnumId="PRDS_PAY_REFUND" paymentService="testCCRefund" paymentCustomMethodId="CC_REFUND_TEST"/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="EFT_ACCOUNT" paymentServiceTypeEnumId="PRDS_PAY_AUTH" paymentService="alwaysApproveEFTProcessor" paymentCustomMethodId="EFT_AUTH_ALWAYSAPPRO"/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="GIFT_CARD" paymentServiceTypeEnumId="PRDS_PAY_AUTH" paymentService="alwaysApproveGCProcessor" paymentCustomMethodId="GIFT_AUTH_ALWAYSAPPR"/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="GIFT_CARD" paymentServiceTypeEnumId="PRDS_PAY_RELEASE" paymentService="testGCRelease" paymentCustomMethodId="GIFT_RELEASE_TEST"/>
+    
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="EXT_PAYPAL" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService="" paymentCustomMethodId="" paymentGatewayConfigId="PAYPAL_CONFIG"/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="EXT_WORLDPAY" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService="" paymentCustomMethodId="" paymentGatewayConfigId="WORLDPAY_CONFIG"/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="EXT_OFFLINE" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService="" paymentCustomMethodId=""/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="EXT_COD" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService="" paymentCustomMethodId=""/>
+    <ProductStorePaymentSetting productStoreId="PRODUCTSTOREID" paymentMethodTypeId="EXT_BILLACT" paymentServiceTypeEnumId="PRDS_PAY_EXTERNAL" paymentService="" paymentCustomMethodId=""/>
+    
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="_NA_" includeNoChargeItems="Y" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NO_SHIPPING" sequenceNumber="6"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="UPS" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND" sequenceNumber="3"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="UPS" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="AIR" sequenceNumber="2"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="UPS" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_DAY" sequenceNumber="1"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="USPS" includeNoChargeItems="N" allowUspsAddr="Y" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="STANDARD" serviceName="uspsRateInquire" sequenceNumber="5"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="USPS" includeNoChargeItems="N" allowUspsAddr="Y" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" serviceName="uspsRateInquire" sequenceNumber="4"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="DHL" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" sequenceNumber="7"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="DHL" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_PM" sequenceNumber="8"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="DHL" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="SECOND_DAY" sequenceNumber="9"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="DHL" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND" sequenceNumber="10"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_AM" sequenceNumber="11"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_DAY" sequenceNumber="12"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_PM" sequenceNumber="13"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="SECOND_DAY" sequenceNumber="14"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" sequenceNumber="15"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND" sequenceNumber="16"/>
+    <ProductStoreShipmentMeth productStoreId="PRODUCTSTOREID" partyId="FEDEX" includeNoChargeItems="N" allowUspsAddr="N" requireUspsAddr="N" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND_HOME" sequenceNumber="17"/>
+    
+    <CarrierShipmentMethod partyId="ORGPARTYID" roleTypeId="CARRIER" shipmentMethodTypeId="LOCAL_DELIVERY" sequenceNumber="4"/>
+    
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="5.0" orderItemFlatPrice="0.0" carrierPartyId="ORGPARTYID" carrierRoleTypeId="CARRIER" orderPricePercent="0.0" shipmentMethodTypeId="LOCAL_DELIVERY"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="5.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="AIR" carrierPartyId="UPS" carrierRoleTypeId="CARRIER" weightBreakId="9000" weightUnitPrice="0.2"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="3.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="GROUND" carrierPartyId="UPS" carrierRoleTypeId="CARRIER" weightBreakId="9001" weightUnitPrice="0.1"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="10.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="NEXT_DAY" carrierPartyId="UPS" carrierRoleTypeId="CARRIER" weightBreakId="9002" weightUnitPrice="0.35"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" shipmentMethodTypeId="STANDARD" carrierPartyId="_NA_" carrierRoleTypeId="CARRIER" orderFlatPrice="0.0" orderPricePercent="20.0" orderItemFlatPrice="0.0"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" shipmentMethodTypeId="NO_SHIPPING" carrierPartyId="_NA_" carrierRoleTypeId="CARRIER" orderFlatPrice="0.0" orderPricePercent="0.0" orderItemFlatPrice="0.0"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="10.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="EXPRESS" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" weightBreakId="9003" weightUnitPrice="0.2"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="9.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="NEXT_PM" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" weightBreakId="9004" weightUnitPrice="0.2"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="5.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="SECOND_DAY" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" weightBreakId="9005" weightUnitPrice="0.2"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="3.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="GROUND" carrierPartyId="DHL" carrierRoleTypeId="CARRIER" weightBreakId="9006" weightUnitPrice="0.1"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="NEXT_AM" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="NEXT_DAY" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="NEXT_PM" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="SECOND_DAY" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="EXPRESS" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="GROUND" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER"/>
+    <ShipmentCostEstimate productStoreId="PRODUCTSTOREID" orderFlatPrice="0.0" orderItemFlatPrice="0.0" orderPricePercent="0.0" shipmentMethodTypeId="GROUND_HOME" carrierPartyId="FEDEX" carrierRoleTypeId="CARRIER"/>
+</entity-engine-xml>
\ No newline at end of file

Propchange: ofbiz/trunk/applications/commonext/data/ProductStoreData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/commonext/data/ProductStoreData.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/applications/commonext/data/ProductStoreData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/commonext/data/SetupData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/data/SetupData.xml?rev=816083&view=auto
==============================================================================
--- ofbiz/trunk/applications/commonext/data/SetupData.xml (added)
+++ ofbiz/trunk/applications/commonext/data/SetupData.xml Thu Sep 17 07:43:05 2009
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<entity-engine-xml>
+    
+    <WebSite webSiteId="SETUP" siteName="Setup Manager" visualThemeSetId="BACKOFFICE"/>
+</entity-engine-xml>
\ No newline at end of file

Propchange: ofbiz/trunk/applications/commonext/data/SetupData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/commonext/data/SetupData.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/applications/commonext/data/SetupData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/commonext/data/ShippingData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/data/ShippingData.xml?rev=816083&view=auto
==============================================================================
--- ofbiz/trunk/applications/commonext/data/ShippingData.xml (added)
+++ ofbiz/trunk/applications/commonext/data/ShippingData.xml Thu Sep 17 07:43:05 2009
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+
+<entity-engine-xml>
+    <Party partyId="USPS" partyTypeId="PARTY_GROUP"/>
+    <Party partyId="UPS" partyTypeId="PARTY_GROUP"/>
+    <Party partyId="DHL" partyTypeId="PARTY_GROUP"/>
+    <Party partyId="FEDEX" partyTypeId="PARTY_GROUP"/>
+    <Party partyId="_NA_" partyTypeId="PERSON"/>
+    
+    <Person partyId="_NA_"/>
+    <PartyGroup partyId="USPS" groupName="USPS"/>
+    <PartyGroup partyId="UPS" groupName="UPS"/>
+    <PartyGroup partyId="DHL" groupName="DHL"/>
+    <PartyGroup partyId="FEDEX" groupName="Federal Express"/>
+    
+    <PartyRole partyId="USPS" roleTypeId="CARRIER"/>
+    <PartyRole partyId="UPS" roleTypeId="CARRIER"/>
+    <PartyRole partyId="DHL" roleTypeId="CARRIER"/>
+    <PartyRole partyId="_NA_" roleTypeId="CARRIER"/>
+    <PartyRole partyId="FEDEX" roleTypeId="CARRIER"/>
+    
+    <ShipmentMethodType description="No Shipping" shipmentMethodTypeId="NO_SHIPPING"/>
+    <ShipmentMethodType description="Local Delivery" shipmentMethodTypeId="LOCAL_DELIVERY"/>
+    <ShipmentMethodType description="Ground Home Delivery" shipmentMethodTypeId="GROUND_HOME"/>
+    <ShipmentMethodType description="Ground" shipmentMethodTypeId="GROUND"/>
+    <ShipmentMethodType description="Standard" shipmentMethodTypeId="STANDARD"/>
+    <ShipmentMethodType description="Air" shipmentMethodTypeId="AIR"/>
+    <ShipmentMethodType description="Second Day" shipmentMethodTypeId="SECOND_DAY"/>
+    <ShipmentMethodType description="Guaranteed Next Day" shipmentMethodTypeId="NEXT_DAY"/>
+    <ShipmentMethodType description="Next Afternoon" shipmentMethodTypeId="NEXT_PM"/>
+    <ShipmentMethodType description="Next Morning" shipmentMethodTypeId="NEXT_AM"/>
+    <ShipmentMethodType description="Express" shipmentMethodTypeId="EXPRESS"/>
+    <ShipmentMethodType description="Standard Overnight" shipmentMethodTypeId="ST_OVERNIGHT"/>
+    <ShipmentMethodType description="Priority Overnight" shipmentMethodTypeId="PR_OVERNIGHT"/>
+    <ShipmentMethodType description="First Overnight" shipmentMethodTypeId="FI_OVERNIGHT"/>
+    <ShipmentMethodType description="Same Day" shipmentMethodTypeId="SAME_DAY"/>
+
+    <!-- For USPS, only certain container types are allowed for rate estimates of Priority or Express service codes -->
+    <CarrierShipmentMethod partyId="USPS" roleTypeId="CARRIER" shipmentMethodTypeId="STANDARD" sequenceNumber="7" carrierServiceCode="Parcel"/>
+    <CarrierShipmentMethod partyId="USPS" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" sequenceNumber="6" carrierServiceCode="Express"/>
+    <CarrierShipmentMethod partyId="UPS" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND" sequenceNumber="3" carrierServiceCode="03"/>
+    <CarrierShipmentMethod partyId="UPS" roleTypeId="CARRIER" shipmentMethodTypeId="SECOND_DAY" sequenceNumber="2" carrierServiceCode="02"/>
+    <CarrierShipmentMethod partyId="UPS" roleTypeId="CARRIER" shipmentMethodTypeId="AIR" sequenceNumber="2" carrierServiceCode="02"/>
+    <CarrierShipmentMethod partyId="UPS" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_DAY" sequenceNumber="1" carrierServiceCode="01"/>
+    <CarrierShipmentMethod partyId="_NA_" roleTypeId="CARRIER" shipmentMethodTypeId="STANDARD" sequenceNumber="5"/>
+    <CarrierShipmentMethod partyId="_NA_" roleTypeId="CARRIER" shipmentMethodTypeId="NO_SHIPPING" sequenceNumber="8"/>
+    <CarrierShipmentMethod partyId="DHL" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" sequenceNumber="9" carrierServiceCode="E"/>
+    <CarrierShipmentMethod partyId="DHL" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_PM" sequenceNumber="10" carrierServiceCode="N"/>
+    <CarrierShipmentMethod partyId="DHL" roleTypeId="CARRIER" shipmentMethodTypeId="SECOND_DAY" sequenceNumber="11" carrierServiceCode="S"/>
+    <CarrierShipmentMethod partyId="DHL" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND" sequenceNumber="12" carrierServiceCode="G"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="SAME_DAY" sequenceNumber="12" carrierServiceCode="SAMEDAY"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_AM" sequenceNumber="13" carrierServiceCode="FIRSTOVERNIGHT"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="FI_OVERNIGHT" sequenceNumber="13" carrierServiceCode="FIRSTOVERNIGHT"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_DAY" sequenceNumber="14" carrierServiceCode="PRIORITYOVERNIGHT"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="PR_OVERNIGHT" sequenceNumber="14" carrierServiceCode="PRIORITYOVERNIGHT"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="NEXT_PM" sequenceNumber="15" carrierServiceCode="STANDARDOVERNIGHT"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="ST_OVERNIGHT" sequenceNumber="15" carrierServiceCode="STANDARDOVERNIGHT"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="SECOND_DAY" sequenceNumber="16" carrierServiceCode="FEDEX2DAY"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="EXPRESS" sequenceNumber="17" carrierServiceCode="FEDEXEXPRESSSAVER"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND" sequenceNumber="18" carrierServiceCode="FEDEXGROUND"/>
+    <CarrierShipmentMethod partyId="FEDEX" roleTypeId="CARRIER" shipmentMethodTypeId="GROUND_HOME" sequenceNumber="19" carrierServiceCode="GROUNDHOMEDELIVERY"/>
+    
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9000" quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9001" quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9002" quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9003" quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9004" quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9005" quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    <QuantityBreak fromQuantity="0.0" quantityBreakId="9006" quantityBreakTypeId="SHIP_WEIGHT" thruQuantity="0.0"/>
+    
+    <ShipmentBoxType shipmentBoxTypeId="FXENV" description="FedEx Envelope" dimensionUomId="LEN_in" boxLength="9.5" boxWidth="12.5" boxHeight="0"/>
+    <ShipmentBoxType shipmentBoxTypeId="FXENV_LGL" description="FedEx Envelope (Legal)" dimensionUomId="LEN_in" boxLength="10" boxWidth="15.75" boxHeight="0"/>
+    <ShipmentBoxType shipmentBoxTypeId="FXPAK_SM" description="FedEx Pak (Small)" dimensionUomId="LEN_in" boxLength="10.25" boxWidth="12.75" boxHeight="0"/>
+    <ShipmentBoxType shipmentBoxTypeId="FXPAK_LRG" description="FedEx Pak (Large)" dimensionUomId="LEN_in" boxLength="12" boxWidth="15.5" boxHeight="0"/>
+    <ShipmentBoxType shipmentBoxTypeId="FXBOX_SM" description="FedEx Box (Small)" dimensionUomId="LEN_in" boxLength="12.25" boxWidth="10.875" boxHeight="1.5"/>
+    <ShipmentBoxType shipmentBoxTypeId="FXBOX_MED" description="FedEx Box (Medium)" dimensionUomId="LEN_in" boxLength="13.25" boxWidth="11.5" boxHeight="2.375"/>
+    <ShipmentBoxType shipmentBoxTypeId="FXBOX_LRG" description="FedEx Box (Large)" dimensionUomId="LEN_in" boxLength="17.875" boxWidth="12.375" boxHeight="3"/>
+    <ShipmentBoxType shipmentBoxTypeId="FXTUBE" description="FedEx Tube" dimensionUomId="LEN_in" boxLength="38" boxWidth="6" boxHeight="5.2"/>
+    <ShipmentBoxType shipmentBoxTypeId="FX10KGBOX" description="FedEx 10KG Box" dimensionUomId="LEN_in" boxLength="15.8125" boxWidth="12.9375" boxHeight="10.1875"/>
+    <ShipmentBoxType shipmentBoxTypeId="FX25KGBOX" description="FedEx 25KG Box" dimensionUomId="LEN_in" boxLength="21.5625" boxWidth="16.5625" boxHeight="13.1875"/>
+    <ShipmentBoxType shipmentBoxTypeId="YOURPACKNG" description="Your Packaging" dimensionUomId="LEN_in" boxLength="15" boxWidth="10" boxHeight="5"/>
+    
+    <CarrierShipmentBoxType shipmentBoxTypeId="FXENV" partyId="FEDEX" packagingTypeCode="FEDEXENVELOPE"/>
+    <CarrierShipmentBoxType shipmentBoxTypeId="FXENV_LGL" partyId="FEDEX" packagingTypeCode="FEDEXENVELOPE"/>
+    <CarrierShipmentBoxType shipmentBoxTypeId="FXPAK_SM" partyId="FEDEX" packagingTypeCode="FEDEXPAK"/>
+    <CarrierShipmentBoxType shipmentBoxTypeId="FXPAK_LRG" partyId="FEDEX" packagingTypeCode="FEDEXPAK"/>
+    <CarrierShipmentBoxType shipmentBoxTypeId="FXBOX_SM" partyId="FEDEX" packagingTypeCode="FEDEXBOX"/>
+    <CarrierShipmentBoxType shipmentBoxTypeId="FXBOX_MED" partyId="FEDEX" packagingTypeCode="FEDEXBOX"/>
+    <CarrierShipmentBoxType shipmentBoxTypeId="FXBOX_LRG" partyId="FEDEX" packagingTypeCode="FEDEXBOX"/>
+    <CarrierShipmentBoxType shipmentBoxTypeId="FXTUBE" partyId="FEDEX" packagingTypeCode="FEDEXTUBE"/>
+    <CarrierShipmentBoxType shipmentBoxTypeId="FX10KGBOX" partyId="FEDEX" packagingTypeCode="FEDEX10KGBOX"/>
+    <CarrierShipmentBoxType shipmentBoxTypeId="FX25KGBOX" partyId="FEDEX" packagingTypeCode="FEDEX25KGBOX"/>
+    <CarrierShipmentBoxType shipmentBoxTypeId="YOURPACKNG" partyId="FEDEX" packagingTypeCode="YOURPACKAGING"/>
+</entity-engine-xml>
\ No newline at end of file

Propchange: ofbiz/trunk/applications/commonext/data/ShippingData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/commonext/data/ShippingData.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/applications/commonext/data/ShippingData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP.xml?rev=816083&view=auto
==============================================================================
--- ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP.xml (added)
+++ ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP.xml Thu Sep 17 07:43:05 2009
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<section xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5.0"
+    xmlns:xl="http://www.w3.org/1999/xlink"
+    xmlns:xi="http://www.w3.org/2001/XInclude"
+    xsi:schemaLocation="http://docbook.org/ns/docbook ../../../content/dtd/docbook.xsd"
+    xmlns="http://docbook.org/ns/docbook">
+    <title>The OFBiz Setup Component Overview</title>
+    <para>
+        The OFBiz Setup Component is supporting for immediate setup your organization. For example, product store, web site , facility , product catalog, category
+        , product, and etc. and then be able to create orders from data that is created.
+    </para>
+</section>
\ No newline at end of file

Propchange: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_firstproduct.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_firstproduct.xml?rev=816083&view=auto
==============================================================================
--- ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_firstproduct.xml (added)
+++ ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_firstproduct.xml Thu Sep 17 07:43:05 2009
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<section xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5.0"
+    xmlns:xl="http://www.w3.org/1999/xlink"
+    xmlns:xi="http://www.w3.org/2001/XInclude"
+    xsi:schemaLocation="http://docbook.org/ns/docbook ../../../content/dtd/docbook.xsd"
+    xmlns="http://docbook.org/ns/docbook">
+    <title>The First Product Overview</title>
+    <para>
+        It provides an overview on product catalog, product category, and product which is the first one of your organization.
+        You will be able to create product catalog, product category, and product for your organization and also be able to create order by that product.
+    </para>
+    <section>
+        <title>How to create product</title>
+        <para>1. When an organization is created , go to "First Product" tab button. You will see the screen for create/update product catalog, enter Catalog [ID]
+            and Catalog Name , click "Update" and then product catalog is created.</para>
+        <para>2. Go to "Category" tab button near "Product Catalog", You will see the screen for create/update product category, enter Product Category Id, Category Name and
+            Product Description , click "Update" and then product category is created.</para>
+        <para>3. Go to "Product" tab button near "Category", You will see the screen for create/update product, enter Product Id, Internal Name, Product Name, Short Description
+            , Default Price, and Average Cost then click "Create Product" and then product is created.</para>
+    </section>
+</section>
\ No newline at end of file

Propchange: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_firstproduct.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_firstproduct.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_firstproduct.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_initialsetup.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_initialsetup.xml?rev=816083&view=auto
==============================================================================
--- ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_initialsetup.xml (added)
+++ ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_initialsetup.xml Thu Sep 17 07:43:05 2009
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<section xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="5.0"
+    xmlns:xl="http://www.w3.org/1999/xlink"
+    xmlns:xi="http://www.w3.org/2001/XInclude"
+    xsi:schemaLocation="http://docbook.org/ns/docbook ../../../content/dtd/docbook.xsd"
+    xmlns="http://docbook.org/ns/docbook">
+    <title>The Main OFBiz Setup Overview</title>
+    <para>The main page on OFBiz Setup component including 2 sections, following this:</para>
+    <section>
+        <title>1. Available Internal Organizations Section</title>
+        <para>
+            This section shows list of organizations which store in the system. You be able to edit an information of your orgainzation via click setup then it will go to
+            view profile screen, you will see other tab button including Facility, Product Store, Web Site, First Customer, and First Product where you would like to
+            edit an information.
+        </para>
+        <para>
+            When you created an information of your orgainzation and also created product. And the last step is click "Set to complete" button.
+        </para>
+    </section>
+    <section>
+        <title>2. Create New Organization Section</title>
+        <para>
+            This section provides a form for the first step of setup organization.
+        </para>
+    </section>
+</section>
\ No newline at end of file

Propchange: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_initialsetup.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_initialsetup.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/applications/commonext/data/helpdata/HELP_SETUP_initialsetup.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/applications/commonext/documents/ApacheOfbizUser.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/documents/ApacheOfbizUser.xml?rev=816083&r1=816082&r2=816083&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/documents/ApacheOfbizUser.xml (original)
+++ ofbiz/trunk/applications/commonext/documents/ApacheOfbizUser.xml Thu Sep 17 07:43:05 2009
@@ -72,6 +72,7 @@
     <xi:include href="../../../applications/content/documents/Content.xml"/>
     <xi:include href="../../../applications/marketing/documents/Marketing.xml"/>
     <xi:include href="../../../specialpurpose/myportal/documents/MyPortal.xml"/>
+    <xi:include href="../../../applications/commonext/documents/Setup.xml"/>
     
     <appendix>
         <title>New features recently added</title>

Modified: ofbiz/trunk/applications/commonext/documents/CommonExt.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/documents/CommonExt.xml?rev=816083&r1=816082&r2=816083&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/documents/CommonExt.xml (original)
+++ ofbiz/trunk/applications/commonext/documents/CommonExt.xml Thu Sep 17 07:43:05 2009
@@ -26,4 +26,8 @@
     <title>The Application Common Component.</title>
 
     <xi:include href="../data/helpdata/HELP_COMMONEXT.xml" />
+    
+    <xi:include href="../data/helpdata/HELP_SETUP.xml" />
+    <xi:include href="../data/helpdata/HELP_SETUP_initialsetup.xml" />
+    <xi:include href="../data/helpdata/HELP_SETUP_firstproduct.xml" />
 </chapter>

Added: ofbiz/trunk/applications/commonext/documents/Setup.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/documents/Setup.xml?rev=816083&view=auto
==============================================================================
--- ofbiz/trunk/applications/commonext/documents/Setup.xml (added)
+++ ofbiz/trunk/applications/commonext/documents/Setup.xml Thu Sep 17 07:43:05 2009
@@ -0,0 +1,44 @@
+<?xml version="1.0"?>
+<!--
+    Licensed to the Apache Software Foundation (ASF) under one
+    or more contributor license agreements.  See the NOTICE file
+    distributed with this work for additional information
+    regarding copyright ownership.  The ASF licenses this file
+    to you under the Apache License, Version 2.0 (the
+    "License"); you may not use this file except in compliance
+    with the License.  You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing,
+    software distributed under the License is distributed on an
+    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+    KIND, either express or implied.  See the License for the
+    specific language governing permissions and limitations
+    under the License.
+-->
+<chapter xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+    version="5.0" xmlns:xl="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"
+    xsi:schemaLocation="http://docbook.org/ns/docbook ../../content/dtd/docbook.xsd"
+    xmlns="http://docbook.org/ns/docbook">
+    <title>The OFBiz Setup Component</title>
+    <section>
+        <title>The OFBiz Setup Component Introduction</title>
+        <para>
+            The OFBiz Setup Component is supporting for immediate setup your organization. For example, product store, web site , facility , product catalog, category
+            , product, and etc. and then be able to create orders from data that is created.
+        </para>
+    </section>
+    <section>
+        <title>How to get start :</title>
+        <para>1. Open a new terminal.</para>
+        <para>2. Go to your ofbiz directory.</para>
+        <para>3. Clean out all built classes with : ./ant clean-all </para>
+        <para>4. Load initialisation data with : ant run-install-extseed</para>
+        <para>5. Create the admin user with : ./ant create-admin-user-login , then enter a user login id that will be created for you (the initial temporary password is "ofbiz")</para>
+        <para>6. Start ofbiz with : ./startofbiz.sh </para>
+        <para>7. Connect to the OFBiz Setup application.</para>
+    </section>
+    <xi:include href="../data/helpdata/HELP_SETUP_initialsetup.xml" />
+    <xi:include href="../data/helpdata/HELP_SETUP_firstproduct.xml" />
+</chapter>

Propchange: ofbiz/trunk/applications/commonext/documents/Setup.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/commonext/documents/Setup.xml
------------------------------------------------------------------------------
    svn:keywords = "Date Rev Author URL Id"

Propchange: ofbiz/trunk/applications/commonext/documents/Setup.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/applications/commonext/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/ofbiz-component.xml?rev=816083&r1=816082&r2=816083&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/commonext/ofbiz-component.xml Thu Sep 17 07:43:05 2009
@@ -28,6 +28,7 @@
     <entity-resource type="data" reader-name="seed" loader="main" location="data/CommonExtSeedData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/CommonExtHelpData.xml"/>
     <entity-resource type="data" reader-name="seed" loader="main" location="data/SystemInfoPortletData.xml"/>
+    <entity-resource type="data" reader-name="seed" loader="main" location="data/SetupData.xml"/>
     
     <entity-resource type="model" reader-name="main" loader="main" location="entitydef/entitymodel.xml"/>
     <entity-resource type="eca" reader-name="main" loader="main" location="entitydef/eecas.xml"/>
@@ -35,4 +36,10 @@
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="eca" loader="main" location="servicedef/secas.xml"/>
     
+    <webapp name="ofbizsetup"
+        title="Setup"
+        server="default-server"
+        location="webapp/ofbizsetup"
+        base-permission="OFBTOOLS"
+        mount-point="/ofbizsetup"/>
 </ofbiz-component>

Modified: ofbiz/trunk/applications/commonext/script/changeOrgPartyId.groovy
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/script/changeOrgPartyId.groovy?rev=816083&r1=816082&r2=816083&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/script/changeOrgPartyId.groovy (original)
+++ ofbiz/trunk/applications/commonext/script/changeOrgPartyId.groovy Thu Sep 17 07:43:05 2009
@@ -18,13 +18,21 @@
  */
 
 import org.ofbiz.base.util.*;
+import org.ofbiz.entity.util.EntityUtil;
 //partyAcctgPrefAndGroupList
 partyAcctgPrefAndGroupList = [];
+organizationList = [];
 partyAcctgPrefAndGroup = delegator.findAll("PartyAcctgPrefAndGroup");
 iter = partyAcctgPrefAndGroup.iterator();
 while (iter.hasNext()) {
    group = iter.next()
    partyAcctgPrefAndGroupList.add(["key":group.partyId,"value":group.groupName]);
+   // find organization which have ORGANIZATION_ROLE
+   organizationRoles = delegator.findByAnd("PartyRole",[partyId : group.partyId, roleTypeId : "ORGANIZATION_ROLE"]);
+   organizationRole = EntityUtil.getFirst(organizationRoles);
+   if(organizationRole){
+   organizationList.add(organizationRole);
+   }
 }
 globalContext.PartyAcctgPrefAndGroupList = partyAcctgPrefAndGroupList;
 //hiddenFileds
@@ -32,4 +40,4 @@
 hiddenFields.add([name : "userPrefTypeId", value : "ORGANIZATION_PARTY"]);
 hiddenFields.add([name : "userPrefGroupTypeId", value : "GLOBAL_PREFERENCES"]);
 globalContext.hiddenFields = hiddenFields;
-
+globalContext.organizationList = organizationList;
\ No newline at end of file