svn commit: r750163 - in /ofbiz/trunk/applications: accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml ecommerce/data/DemoOrderTestData.xml

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

svn commit: r750163 - in /ofbiz/trunk/applications: accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml ecommerce/data/DemoOrderTestData.xml

doogie-3
Author: doogie
Date: Wed Mar  4 21:35:17 2009
New Revision: 750163

URL: http://svn.apache.org/viewvc?rev=750163&view=rev
Log:
Apply final patch in OFBIZ-1782, so that the test case
accounting:auto-accounting-transaction-tests-PoReceipt will actually
work now.

Modified:
    ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml
    ofbiz/trunk/applications/ecommerce/data/DemoOrderTestData.xml

Modified: ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml?rev=750163&r1=750162&r2=750163&view=diff
==============================================================================
--- ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml (original)
+++ ofbiz/trunk/applications/accounting/script/org/ofbiz/accounting/test/AutoAcctgTransTests.xml Wed Mar  4 21:35:17 2009
@@ -33,10 +33,10 @@
                               Debit in account 140000- INVENTORY amount = grand total of order.  -->
 
         <!-- set few variables so that they can be changed easily to test with different values -->
-        <set field="orderId" value="WS10000"/>
+        <set field="orderId" value="DEMO10091"/>
         <set field="productId" value="WG-1111"/>
         <set field="orderItemSeqId" value="00001"/>
-        <set field="shipmentId" value="10000"/>
+        <set field="shipmentId" value="9999"/>
 
         <entity-one entity-name="UserLogin" value-field="userLogin">
             <field-map field-name="userLoginId" value="system"/>

Modified: ofbiz/trunk/applications/ecommerce/data/DemoOrderTestData.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/data/DemoOrderTestData.xml?rev=750163&r1=750162&r2=750163&view=diff
==============================================================================
--- ofbiz/trunk/applications/ecommerce/data/DemoOrderTestData.xml (original)
+++ ofbiz/trunk/applications/ecommerce/data/DemoOrderTestData.xml Wed Mar  4 21:35:17 2009
@@ -56,4 +56,24 @@
     <OrderContactMech orderId="DEMO10090" contactMechPurposeTypeId="ORDER_EMAIL" contactMechId="9026" lastUpdatedStamp="2008-04-23 16:49:32.173" lastUpdatedTxStamp="2008-04-23 16:49:32.164" createdStamp="2008-04-23 16:49:32.173" createdTxStamp="2008-04-23 16:49:32.164"/>
     <OrderContactMech orderId="DEMO10090" contactMechPurposeTypeId="SHIPPING_LOCATION" contactMechId="9015" lastUpdatedStamp="2008-04-23 16:49:28.332" lastUpdatedTxStamp="2008-04-23 16:49:27.349" createdStamp="2008-04-23 16:49:28.332" createdTxStamp="2008-04-23 16:49:27.349"/>
     
+    <!-- Purchase order test data -->
+    <!--for jira issue - 1782-->
+    <OrderHeader orderId="DEMO10091" orderTypeId="PURCHASE_ORDER" orderName="New Purchase Order" salesChannelEnumId="UNKNWN_SALES_CHANNEL" orderDate="2008-06-10 13:27:07.024" entryDate="2008-06-10 13:27:07.024" visitId="10000" statusId="ORDER_CREATED" createdBy="admin" currencyUom="USD" webSiteId="OrderEntry" productStoreId="9000" remainingSubTotal="108.0" grandTotal="108.0" lastUpdatedStamp="2008-06-10 13:27:07.562" lastUpdatedTxStamp="2008-06-10 13:27:07.477" createdStamp="2008-06-10 13:27:07.158" createdTxStamp="2008-06-10 13:27:07.022"/>    
+    <OrderItem orderId="DEMO10091" orderItemSeqId="00001" orderItemTypeId="PRODUCT_ORDER_ITEM" productId="GZ-2644" prodCatalogId="DemoCatalog" isPromo="N" quantity="5.0" selectedAmount="0.0" unitPrice="21.6" unitListPrice="0.0" isModifiedPrice="N" itemDescription="GZ-2644-5 Round Gizmo" statusId="ITEM_CREATED" lastUpdatedStamp="2008-06-10 13:27:07.247" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.247" createdTxStamp="2008-06-10 13:27:07.022"/>        
+    <OrderItemPriceInfo orderItemPriceInfoId="10001" orderId="DEMO10091" orderItemSeqId="00001" description="SupplierProduct [minimumOrderQuantity:5.0, lastPrice: 21.6]" lastUpdatedStamp="2008-06-10 13:27:07.38" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.38" createdTxStamp="2008-06-10 13:27:07.022"/>
+    <OrderItemPriceInfo orderItemPriceInfoId="10002" orderId="DEMO10091" orderItemSeqId="00001" description="SupplierProduct [minimumOrderQuantity:0.0, lastPrice: 24.0]" lastUpdatedStamp="2008-06-10 13:27:07.388" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.388" createdTxStamp="2008-06-10 13:27:07.022"/>
+    <PartyRole partyId="DemoSupplier" roleTypeId="BILL_FROM_VENDOR"/>
+    <PartyRole partyId="DemoSupplier" roleTypeId="SHIP_FROM_VENDOR"/>
+    <PartyRole partyId="DemoSupplier" roleTypeId="SUPPLIER_AGENT"/>
+    <OrderRole orderId="DEMO10091" partyId="Company" roleTypeId="BILL_TO_CUSTOMER" lastUpdatedStamp="2008-06-10 13:27:07.408" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.408" createdTxStamp="2008-06-10 13:27:07.022"/>
+    <OrderRole orderId="DEMO10091" partyId="DemoSupplier" roleTypeId="BILL_FROM_VENDOR" lastUpdatedStamp="2008-06-10 13:27:07.423" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.423" createdTxStamp="2008-06-10 13:27:07.022"/>
+    <OrderRole orderId="DEMO10091" partyId="DemoSupplier" roleTypeId="SHIP_FROM_VENDOR" lastUpdatedStamp="2008-06-10 13:27:07.427" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.427" createdTxStamp="2008-06-10 13:27:07.022"/>
+    <OrderRole orderId="DEMO10091" partyId="DemoSupplier" roleTypeId="SUPPLIER_AGENT" lastUpdatedStamp="2008-06-10 13:27:07.431" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.431" createdTxStamp="2008-06-10 13:27:07.022"/>
+    <OrderItemShipGroup orderId="DEMO10091" shipGroupSeqId="00001" shipmentMethodTypeId="NO_SHIPPING" carrierPartyId="_NA_" carrierRoleTypeId="CARRIER" contactMechId="9200" maySplit="N" isGift="N" lastUpdatedStamp="2008-06-10 13:27:07.326" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.326" createdTxStamp="2008-06-10 13:27:07.022"/>
+    <OrderItemShipGroupAssoc orderId="DEMO10091" orderItemSeqId="00001" shipGroupSeqId="00001" quantity="5.0" lastUpdatedStamp="2008-06-10 13:27:07.363" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.363" createdTxStamp="2008-06-10 13:27:07.022"/>
+    <OrderStatus orderStatusId="9007" statusId="ORDER_CREATED" orderId="DEMO10091" statusDatetime="2008-06-10 13:27:07.024" statusUserLogin="admin" lastUpdatedStamp="2008-06-10 13:27:07.221" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.221" createdTxStamp="2008-06-10 13:27:07.022"/>
+    <OrderStatus orderStatusId="9008" statusId="ITEM_CREATED" orderId="DEMO10091" orderItemSeqId="00001" statusDatetime="2008-06-10 13:27:07.024" statusUserLogin="admin" lastUpdatedStamp="2008-06-10 13:27:07.279" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.279" createdTxStamp="2008-06-10 13:27:07.022"/>
+    <OrderContactMech orderId="DEMO10091" contactMechPurposeTypeId="SHIPPING_LOCATION" contactMechId="9200" lastUpdatedStamp="2008-06-10 13:27:07.294" lastUpdatedTxStamp="2008-06-10 13:27:07.022" createdStamp="2008-06-10 13:27:07.294" createdTxStamp="2008-06-10 13:27:07.022"/>
+    
+    <Shipment shipmentId="9999" shipmentTypeId="PURCHASE_SHIPMENT" statusId="PURCH_SHIP_CREATED" primaryOrderId="DEMO10091" primaryShipGroupSeqId="00001" lastUpdatedStamp="2008-06-10 12:59:26.852" lastUpdatedTxStamp="2008-06-10 12:59:26.8" createdStamp="2008-06-10 12:59:26.852" createdTxStamp="2008-06-10 12:59:26.8"/>
 </entity-engine-xml>
\ No newline at end of file