You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2015/02/23 22:06:55 UTC

svn commit: r1661786 - in /ofbiz/trunk/applications/order: data/OrderQuoteDemoData.xml ofbiz-component.xml

Author: jleroux
Date: Mon Feb 23 21:06:54 2015
New Revision: 1661786

URL: http://svn.apache.org/r1661786
Log:
A modified patch from Pierre Smits for "Have some Quote demo data" https://issues.apache.org/jira/browse/OFBIZ-9086

Quote demo data is missing.

jleroux: 
I modified the path to OrderQuoteDemoData.xml in ofbiz-component.xml, it was missing the data/ folder
I changed 
Quote.validThruDate="2015-02-01 00:00:00.0"
to
Quote.validThruDate="2100-02-01 00:00:00.0"
To be used longer... enough...

Added:
    ofbiz/trunk/applications/order/data/OrderQuoteDemoData.xml   (with props)
Modified:
    ofbiz/trunk/applications/order/ofbiz-component.xml

Added: ofbiz/trunk/applications/order/data/OrderQuoteDemoData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/data/OrderQuoteDemoData.xml?rev=1661786&view=auto
==============================================================================
--- ofbiz/trunk/applications/order/data/OrderQuoteDemoData.xml (added)
+++ ofbiz/trunk/applications/order/data/OrderQuoteDemoData.xml Mon Feb 23 21:06:54 2015
@@ -0,0 +1,27 @@
+<?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>
+    <Quote currencyUomId="USD" issueDate="2001-01-01 00:00:00.0" partyId="DemoCustomer" productStoreId="9000" quoteId="CQ0001" quoteName="Demo Quote" quoteTypeId="PRODUCT_QUOTE" 
+        salesChannelEnumId="PHONE_SALES_CHANNEL" statusId="QUO_CREATED" validFromDate="2001-01-01 00:00:00.0" validThruDate="2100-02-01 00:00:00.0"/>
+    <QuoteRole partyId="admin" quoteId="CQ0001" roleTypeId="REQ_TAKER"/>
+    <QuoteTerm quoteId="CQ0001" quoteItemSeqId="_NA_" termDays="30" termTypeId="FIN_PAYMENT_TERM"/>
+    <QuoteItem comments="10% off" productId="GZ-1000" quantity="150.000000" quoteId="CQ0001" quoteItemSeqId="00001" quoteUnitPrice="9.90"/>
+</entity-engine-xml>

Propchange: ofbiz/trunk/applications/order/data/OrderQuoteDemoData.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: ofbiz/trunk/applications/order/data/OrderQuoteDemoData.xml
------------------------------------------------------------------------------
    svn:keywords = Date Rev Author URL Id

Propchange: ofbiz/trunk/applications/order/data/OrderQuoteDemoData.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: ofbiz/trunk/applications/order/ofbiz-component.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/ofbiz-component.xml?rev=1661786&r1=1661785&r2=1661786&view=diff
==============================================================================
--- ofbiz/trunk/applications/order/ofbiz-component.xml (original)
+++ ofbiz/trunk/applications/order/ofbiz-component.xml Mon Feb 23 21:06:54 2015
@@ -37,6 +37,7 @@ under the License.
     <entity-resource type="data" reader-name="seed" loader="main" location="data/OrderHelpData.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/OrderDemoUser.xml"/>
     <entity-resource type="data" reader-name="demo" loader="main" location="data/OrderDemoData.xml"/>
+    <entity-resource type="data" reader-name="demo" loader="main" location="data/OrderQuoteDemoData.xml"/>
 
     <service-resource type="model" loader="main" location="servicedef/services.xml"/>
     <service-resource type="model" loader="main" location="servicedef/services_cart.xml"/>