I put also some svn:ignore for shark build and lib diretories and assetmaint/build I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit. I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) ! git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
141 lines
12 KiB
XML
141 lines
12 KiB
XML
<?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>
|
|
<!-- this person can view any order but only place purchase orders -->
|
|
<Party partyId="DemoBuyer" partyTypeId="PERSON"/>
|
|
<Person partyId="DemoBuyer" firstName="Demo" lastName="Buyer"/>
|
|
<PartyRole partyId="DemoBuyer" roleTypeId="BUYER"/>
|
|
<UserLogin partyId="DemoBuyer" userLoginId="DemoBuyer"/>
|
|
<UserLoginSecurityGroup userLoginId="DemoBuyer" groupId="ORDERPURCH" fromDate="2001-05-13 00:00:00"/>
|
|
|
|
<!-- this person can create sales orders for any store -->
|
|
<Party partyId="DemoRepAll" partyTypeId="PERSON"/>
|
|
<Person partyId="DemoRepAll" firstName="Demo" lastName="Sales Rep for All Stores"/>
|
|
<PartyRole partyId="DemoRepAll" roleTypeId="SALES_REP"/>
|
|
<UserLogin partyId="DemoRepAll" userLoginId="DemoRepAll"/>
|
|
<UserLoginSecurityGroup userLoginId="DemoRepAll" groupId="ORDERENTRY_ALL" fromDate="2001-05-13 00:00:00"/>
|
|
|
|
<!-- this person can only create sales orders for stores for which he is a sales rep -->
|
|
<Party partyId="DemoRepStore" partyTypeId="PERSON"/>
|
|
<Person partyId="DemoRepStore" firstName="Demo" lastName="Sales Rep for Specified Stores Only"/>
|
|
<PartyRole partyId="DemoRepStore" roleTypeId="SALES_REP"/>
|
|
<UserLogin partyId="DemoRepStore" userLoginId="DemoRepStore"/>
|
|
<UserLoginSecurityGroup userLoginId="DemoRepStore" groupId="ORDERENTRY" fromDate="2001-05-13 00:00:00"/>
|
|
<ProductStoreRole partyId="admin" roleTypeId="SALES_REP" productStoreId="9000" fromDate="2001-05-13 12:00:00.0"/><Party partyId="" partyTypeId=""/>
|
|
|
|
<!-- Commission Agreements -->
|
|
<Agreement agreementId="9000" partyIdFrom="Company" partyIdTo="DemoRepAll" agreementTypeId="COMMISSION_AGREEMENT" description="Commission Agreement with DemoRepAll"/>
|
|
<AgreementItem agreementId="9000" agreementItemSeqId="0001" currencyUomId="USD" agreementItemTypeId="AGREEMENT_COMMISSION" agreementText="Commission in USD"/>
|
|
<AgreementTerm agreementTermId="9000" invoiceItemTypeId="INV_FPROD_ITEM" termTypeId="FIN_COMM_FIXED" agreementId="9000" agreementItemSeqId="0001" termValue="1" termDays="30"/> <!-- $1 commission on every item no matter what price, pay in 30 days -->
|
|
<AgreementTerm agreementTermId="9001" invoiceItemTypeId="INV_FPROD_ITEM" termTypeId="FIN_COMM_VARIABLE" agreementId="9000" agreementItemSeqId="0001" termValue="3" termDays="30"/> <!-- 3% commission on the price of every item -->
|
|
<AgreementTerm agreementTermId="9002" invoiceItemTypeId="INV_FPROD_ITEM" termTypeId="FIN_COMM_MIN" agreementId="9000" agreementItemSeqId="0001" termValue="0" termDays="30"/> <!-- No negative commission per unit (returns would still be negative) -->
|
|
<!-- shows a virtual product can be used to model commission for all variants -->
|
|
<AgreementProductAppl agreementId="9000" agreementItemSeqId="0001" productId="WG-9943"/>
|
|
|
|
<!-- Some Demo Customers -->
|
|
|
|
<!-- DemoCustCompany -->
|
|
<Party partyId="DemoCustCompany" partyTypeId="PARTY_GROUP"/>
|
|
<PartyGroup partyId="DemoCustCompany" groupName="Demo Customer Company"/>
|
|
<UserLogin partyId="DemoCustCompany" userLoginId="DemoCustCompany"/>
|
|
<PartyRole partyId="DemoCustCompany" roleTypeId="CUSTOMER"/>
|
|
<PartyRole partyId="DemoCustCompany" roleTypeId="BILL_TO_CUSTOMER"/>
|
|
<PartyRole partyId="DemoCustCompany" roleTypeId="_NA_"/>
|
|
|
|
<ContactMech contactMechId="9010" contactMechTypeId="POSTAL_ADDRESS"/>
|
|
<PostalAddress contactMechId="9010" toName="Demo Customer Company" address1="2004 Factory Blvd" city="Orem" stateProvinceGeoId="UT" postalCode="84057" countryGeoId="USA"/>
|
|
<PartyContactMech partyId="DemoCustCompany" contactMechId="9010" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
|
|
<PartyContactMechPurpose partyId="DemoCustCompany" contactMechId="9010" contactMechPurposeTypeId="BILLING_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
<PartyContactMechPurpose partyId="DemoCustCompany" contactMechId="9010" contactMechPurposeTypeId="SHIPPING_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
<PartyContactMechPurpose partyId="DemoCustCompany" contactMechId="9010" contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
|
|
<ContactMech contactMechId="9014" contactMechTypeId="POSTAL_ADDRESS"/>
|
|
<PostalAddress contactMechId="9014" toName="Demo Customer Company" address1="1234 Commerce Way" city="Los Angeles" stateProvinceGeoId="CA" postalCode="90010" countryGeoId="USA"/>
|
|
<PartyContactMech partyId="DemoCustCompany" contactMechId="9014" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
|
|
<PartyContactMechPurpose partyId="DemoCustCompany" contactMechId="9014" contactMechPurposeTypeId="BILLING_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
<PartyContactMechPurpose partyId="DemoCustCompany" contactMechId="9014" contactMechPurposeTypeId="SHIPPING_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
<PartyContactMechPurpose partyId="DemoCustCompany" contactMechId="9014" contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
|
|
<ContactMech contactMechId="9020" contactMechTypeId="TELECOM_NUMBER"/>
|
|
<TelecomNumber contactMechId="9020" areaCode="801" contactNumber="555-5555"/>
|
|
<PartyContactMech partyId="DemoCustCompany" contactMechId="9020" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
|
|
<PartyContactMechPurpose partyId="DemoCustCompany" contactMechId="9020" contactMechPurposeTypeId="PHONE_WORK" fromDate="2001-05-13 00:00:00.000"/>
|
|
<ContactMech contactMechId="9021" contactMechTypeId="EMAIL_ADDRESS" infoString="ofbiztest@yahoo.com"/>
|
|
<PartyContactMech partyId="DemoCustCompany" contactMechId="9021" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
|
|
<PartyContactMechPurpose partyId="DemoCustCompany" contactMechId="9021" contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2001-05-13 00:00:00.000"/>
|
|
|
|
<BillingAccount billingAccountId="9010" accountLimit="10000.0" accountCurrencyUomId="USD" contactMechId="9010" fromDate="2001-05-13 00:00:00.000" description="Demo Customer Company Billing Account"/>
|
|
<BillingAccountRole billingAccountId="9010" partyId="DemoCustCompany" roleTypeId="BILL_TO_CUSTOMER" fromDate="2001-05-13 00:00:00.000"/>
|
|
|
|
<PartyTaxAuthInfo partyId="DemoCustCompany" taxAuthGeoId="UT" taxAuthPartyId="UT_TAXMAN" fromDate="2001-05-13 00:00:00.000" partyTaxId="12-3456789" isExempt="Y"/>
|
|
<PartyTaxAuthInfo partyId="DemoCustCompany" taxAuthGeoId="CA" taxAuthPartyId="CA_BOE" fromDate="2001-05-13 00:00:00.000" partyTaxId="98-7654321" isExempt="N"/>
|
|
|
|
<!-- DemoCustAgent -->
|
|
<Party partyId="DemoCustAgent" partyTypeId="PERSON"/>
|
|
<Person partyId="DemoCustAgent" firstName="Demo" lastName="Agent"/>
|
|
<UserLogin partyId="DemoCustAgent" userLoginId="DemoCustAgent"/>
|
|
<PartyRole partyId="DemoCustAgent" roleTypeId="CUSTOMER"/>
|
|
<PartyRole partyId="DemoCustAgent" roleTypeId="AGENT"/>
|
|
<PartyRole partyId="DemoCustAgent" roleTypeId="_NA_"/>
|
|
<ContactMech contactMechId="9011" contactMechTypeId="POSTAL_ADDRESS"/>
|
|
<PostalAddress contactMechId="9011" toName="Demo Customer Agent" address1="2004 Factory Blvd" city="Orem" stateProvinceGeoId="UT" postalCode="84057" countryGeoId="USA"/>
|
|
<PartyContactMech partyId="DemoCustAgent" contactMechId="9011" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
|
|
<PartyContactMechPurpose partyId="DemoCustAgent" contactMechId="9011" contactMechPurposeTypeId="SHIPPING_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
<PartyContactMechPurpose partyId="DemoCustAgent" contactMechId="9011" contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
<ContactMech contactMechId="9022" contactMechTypeId="TELECOM_NUMBER"/>
|
|
<TelecomNumber contactMechId="9022" areaCode="801" contactNumber="555-5555"/>
|
|
<PartyContactMech partyId="DemoCustAgent" contactMechId="9022" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
|
|
<PartyContactMechPurpose partyId="DemoCustAgent" contactMechId="9022" contactMechPurposeTypeId="PHONE_WORK" fromDate="2001-05-13 00:00:00.000"/>
|
|
<ContactMech contactMechId="9023" contactMechTypeId="EMAIL_ADDRESS" infoString="ofbiztest@yahoo.com"/>
|
|
<PartyContactMech partyId="DemoCustAgent" contactMechId="9023" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
|
|
<PartyContactMechPurpose partyId="DemoCustAgent" contactMechId="9023" contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2001-05-13 00:00:00.000"/>
|
|
|
|
<PartyRelationship partyIdFrom="DemoCustCompany" partyIdTo="DemoCustAgent" roleTypeIdFrom="CUSTOMER" roleTypeIdTo="AGENT"
|
|
fromDate="2001-05-13 00:00:00.000" partyRelationshipTypeId="AGENT" comments="Allows the DemoCustAgent to purchase on behalf of DemoCustCompany, ie purchase against BillingAccount"/>
|
|
<PartyRelationship partyIdFrom="DemoCustCompany" partyIdTo="DemoCustAgent" roleTypeIdFrom="_NA_" roleTypeIdTo="_NA_"
|
|
fromDate="2001-05-13 00:00:00.000" partyRelationshipTypeId="GROUP_ROLLUP" comments="Specifies the DemoCustAgent is a member of the DemoCustCompany, for Price Rules, Promos, etc"/>
|
|
|
|
<!-- DemoCustomer -->
|
|
<Party partyId="DemoCustomer" partyTypeId="PERSON"/>
|
|
<Person partyId="DemoCustomer" firstName="Demo" lastName="Customer"/>
|
|
<UserLogin partyId="DemoCustomer" userLoginId="DemoCustomer"/>
|
|
<PartyRole partyId="DemoCustomer" roleTypeId="CUSTOMER"/>
|
|
<PartyRole partyId="DemoCustomer" roleTypeId="BILL_TO_CUSTOMER"/>
|
|
|
|
<ContactMech contactMechId="9015" contactMechTypeId="POSTAL_ADDRESS"/>
|
|
<PostalAddress contactMechId="9015" toName="Demo Customer" address1="2004 Factory Blvd" city="Orem" stateProvinceGeoId="UT" postalCode="84057" countryGeoId="USA"/>
|
|
<PartyContactMech partyId="DemoCustomer" contactMechId="9015" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
|
|
<PartyContactMechPurpose partyId="DemoCustomer" contactMechId="9015" contactMechPurposeTypeId="BILLING_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
<PartyContactMechPurpose partyId="DemoCustomer" contactMechId="9015" contactMechPurposeTypeId="SHIPPING_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
<PartyContactMechPurpose partyId="DemoCustomer" contactMechId="9015" contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
|
|
<ContactMech contactMechId="9025" contactMechTypeId="TELECOM_NUMBER"/>
|
|
<TelecomNumber contactMechId="9025" areaCode="801" contactNumber="555-5555"/>
|
|
<PartyContactMech partyId="DemoCustomer" contactMechId="9025" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
|
|
<PartyContactMechPurpose partyId="DemoCustomer" contactMechId="9025" contactMechPurposeTypeId="PHONE_HOME" fromDate="2001-05-13 00:00:00.000"/>
|
|
<ContactMech contactMechId="9026" contactMechTypeId="EMAIL_ADDRESS" infoString="ofbiztest@yahoo.com"/>
|
|
<PartyContactMech partyId="DemoCustomer" contactMechId="9026" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
|
|
<PartyContactMechPurpose partyId="DemoCustomer" contactMechId="9026" contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2001-05-13 00:00:00.000"/>
|
|
|
|
<PaymentMethod paymentMethodId="9015" paymentMethodTypeId="CREDIT_CARD" partyId="DemoCustomer" fromDate="2001-05-13 00:00:00.000"/>
|
|
<CreditCard paymentMethodId="9015" cardType="Visa" cardNumber="4111111111111111" expireDate="02/2011" companyNameOnCard=""
|
|
titleOnCard="" firstNameOnCard="DEMO" middleNameOnCard="" lastNameOnCard="CUSTOMER" suffixOnCard="" contactMechId="9015"/>
|
|
</entity-engine-xml>
|