Could you expand on that please Taher? The tests are run once all demo data is loaded are they not?
Regardless, I appreciate this effort as it's long overdue. Regards Scott On 28/04/2017 00:13, "Taher Alkhateeb" <[email protected]> wrote: > Does not work, it will fail tests if you put them in that order. Feel free > to provide fixes. > > On Thu, Apr 27, 2017 at 3:10 PM, Pierre Smits <[email protected]> > wrote: > > > Data regarding demo products should go into the product component. > > Data regarding demo parties should go into the party component. > > Data regarding demo inventory changes and shipments should go into the > > product component. > > > > Pierre Smits > > > > ORRTIZ.COM <http://www.orrtiz.com> > > OFBiz based solutions & services > > > > OFBiz Extensions Marketplace > > http://oem.ofbizci.net/oci-2/ > > > > On Thu, Apr 27, 2017 at 1:50 PM, Taher Alkhateeb < > > [email protected] > > > wrote: > > > > > Please feel free to start a JIRA on that. My objective here is to > > > disentangle the framework from any dependencies on ecommerce so that we > > can > > > start building the two projects independently. > > > > > > On Thu, Apr 27, 2017 at 2:47 PM, Pierre Smits <[email protected]> > > > wrote: > > > > > > > Please rename the data files so that they align with conventions used > > in > > > > other components. > > > > > > > > Pierre Smits > > > > > > > > ORRTIZ.COM <http://www.orrtiz.com> > > > > OFBiz based solutions & services > > > > > > > > OFBiz Extensions Marketplace > > > > http://oem.ofbizci.net/oci-2/ > > > > > > > > On Thu, Apr 27, 2017 at 1:39 PM, <[email protected]> wrote: > > > > > > > > > Author: taher > > > > > Date: Thu Apr 27 11:39:04 2017 > > > > > New Revision: 1792866 > > > > > > > > > > URL: http://svn.apache.org/viewvc?rev=1792866&view=rev > > > > > Log: > > > > > Implemented: Removed most dependencies from OFBiz framework to > > plugins > > > > > (OFBIZ-9322) > > > > > > > > > > This is the first commit to removed dependencies on the ecommerce > > > plugin > > > > > data > > > > > by moving the following files to applications: > > > > > - DemoStandardCosting to applications/accounting/data/ > > > > > - DemoOrderPeopleData.xml to applications/order/data/ > > > > > - DemoOrderTestData.xml to applications/order/data/ > > > > > - DemoProduct.xml to applications/order/data/ > > > > > - DemoRentalShipping.xml to applications/order/data/ > > > > > - DemoShipping.xml to applications/order/data/ > > > > > > > > > > Also modified some data on the below files to fix dependency order > > > > > - applications/product/data/ProductDemoData.xml > > > > > (move facility data needed for tests from plugins) > > > > > - applications/marketing/data/sfaDemoData.xml > > > > > (move data to DemoOrderPeopleData.xml) > > > > > - applications/party/testdef/data/PartyTestsData.xml > > > > > (status does not exist) > > > > > - applications/workeffort/testdef/data/WorkEffortTestData.xml > > > > > (status does not exist) > > > > > - applications/workeffort/minilang/test/WorkEffortTests.xml > > > > > (depends on planHours which is defined in project componnent) > > > > > > > > > > And finally updated the below component files with the moved data > > > > > - applications/order/ofbiz-component.xml > > > > > - applications/accounting/ofbiz-component.xml > > > > > > > > > > Added: > > > > > ofbiz/ofbiz-framework/trunk/applications/accounting/data/ > > > > DemoStandardCosting.xml > > > > > (with props) > > > > > ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > DemoOrderPeopleData.xml > > > > > (with props) > > > > > ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > DemoOrderTestData.xml > > > > > (with props) > > > > > ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > DemoProduct.xml > > > > > (with props) > > > > > ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > DemoRentalShipping.xml > > > > > (with props) > > > > > ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > DemoShipping.xml > > > > > (with props) > > > > > Modified: > > > > > ofbiz/ofbiz-framework/trunk/applications/accounting/ofbiz- > > > > > component.xml > > > > > ofbiz/ofbiz-framework/trunk/applications/marketing/data/ > > > > > sfaDemoData.xml > > > > > ofbiz/ofbiz-framework/trunk/applications/order/ofbiz- > > component.xml > > > > > ofbiz/ofbiz-framework/trunk/applications/party/testdef/ > > > > > data/PartyTestsData.xml > > > > > ofbiz/ofbiz-framework/trunk/applications/product/data/ > > > > > ProductDemoData.xml > > > > > ofbiz/ofbiz-framework/trunk/applications/workeffort/ > > > > > minilang/test/WorkEffortTests.xml > > > > > ofbiz/ofbiz-framework/trunk/applications/workeffort/ > > testdef/data/ > > > > > WorkEffortTestData.xml > > > > > > > > > > Added: ofbiz/ofbiz-framework/trunk/applications/accounting/data/ > > > > > DemoStandardCosting.xml > > > > > URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/ > > > > > applications/accounting/data/DemoStandardCosting.xml?rev= > > > > 1792866&view=auto > > > > > ============================================================ > > > > > ================== > > > > > --- ofbiz/ofbiz-framework/trunk/applications/accounting/data/ > > > > DemoStandardCosting.xml > > > > > (added) > > > > > +++ ofbiz/ofbiz-framework/trunk/applications/accounting/data/ > > > > DemoStandardCosting.xml > > > > > Thu Apr 27 11:39:04 2017 > > > > > @@ -0,0 +1,83 @@ > > > > > +<?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 is an example of a fixed asset (a machine or a > > > workcenter) > > > > > with standard costing information --> > > > > > + <FixedAsset fixedAssetId="WORKCENTER_COST" > > > fixedAssetTypeId="GROUP_ > > > > EQUIPMENT" > > > > > fixedAssetName="Demo Workcenter with Standard Costs information"/> > > > > > + <!-- Deprecated: in the future cost information will be stored > > in > > > > the > > > > > CostComponentCalc entity; > > > > > + these entries can then be associated to a work effort > thru > > > the > > > > > WorkEffortCostCalc entity. --> > > > > > + <!-- This is the standard cost per hour needed to setup the > > fixed > > > > > asset for the task --> > > > > > + <FixedAssetStdCost fixedAssetId="WORKCENTER_COST" > > > > > fixedAssetStdCostTypeId="SETUP_COST" fromDate="2005-12-31 > > 00:01:00.0" > > > > > amountUomId="USD" amount="20"/> > > > > > + <!-- This is the standard cost per hour for the usage of the > > fixed > > > > > asset to perform a given task --> > > > > > + <FixedAssetStdCost fixedAssetId="WORKCENTER_COST" > > > > > fixedAssetStdCostTypeId="USAGE_COST" fromDate="2005-12-31 > > 00:01:00.0" > > > > > amountUomId="USD" amount="80"/> > > > > > + > > > > > + <!-- ################################# --> > > > > > + <!-- ################################# --> > > > > > + <!-- This is a finished good, PROD_COST, manufactured using 2 > > > units > > > > > of the raw material MAT_A_COST and 3 units of raw material > MAT_B_COST > > > --> > > > > > + <!-- Finished good and raw materials definitions: --> > > > > > + <Product productId="PROD_MANUF" productTypeId="FINISHED_GOOD" > > > > > internalName="Demo Product for Costing" productName="Demo Product > for > > > > > Costing" description="Demo Product for Standard Costing" > > isVirtual="N" > > > > > isVariant="N" billOfMaterialLevel="0"/> > > > > > + <Product productId="MAT_A_COST" productTypeId="RAW_MATERIAL" > > > > > internalName="Demo Material A for Costing" description="Demo > > Material A > > > > for > > > > > Standard Costing" isVirtual="N" isVariant="N" > > billOfMaterialLevel="1"/> > > > > > + <Product productId="MAT_B_COST" productTypeId="RAW_MATERIAL" > > > > > internalName="Demo Material B for Costing" description="Demo > > Material B > > > > for > > > > > Standard Costing" isVirtual="N" isVariant="N" > > billOfMaterialLevel="1"/> > > > > > + <ProductPrice productId="PROD_MANUF" productPricePurposeId=" > > > > PURCHASE" > > > > > productPriceTypeId="DEFAULT_PRICE" currencyUomId="USD" > > > > > productStoreGroupId="_NA_" fromDate="2001-05-13 12:00:00.0" > > > > price="455.99" > > > > > createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin" > > > > > lastModifiedDate="2001-05-13 12:00:00.0" lastModifiedByUserLogin=" > > > > admin"/> > > > > > + <ProductPrice productId="MAT_A_COST" productPricePurposeId=" > > > > PURCHASE" > > > > > productPriceTypeId="DEFAULT_PRICE" currencyUomId="USD" > > > > > productStoreGroupId="_NA_" fromDate="2001-05-13 12:00:00.0" > > > price="40.99" > > > > > createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin" > > > > > lastModifiedDate="2001-05-13 12:00:00.0" lastModifiedByUserLogin=" > > > > admin"/> > > > > > + <ProductPrice productId="MAT_B_COST" productPricePurposeId=" > > > > PURCHASE" > > > > > productPriceTypeId="DEFAULT_PRICE" currencyUomId="USD" > > > > > productStoreGroupId="_NA_" fromDate="2001-05-13 12:00:00.0" > > > price="50.99" > > > > > createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin" > > > > > lastModifiedDate="2001-05-13 12:00:00.0" lastModifiedByUserLogin=" > > > > admin"/> > > > > > + > > > > > + <!-- Cost information for the raw materials only (the ones for > > the > > > > > finished good will be automatically computed by the costing > > algorithm): > > > > --> > > > > > + <CostComponent costComponentId="6000" > > > costComponentTypeId="EST_STD_ > > > > MAT_COST" > > > > > productId="MAT_A_COST" fromDate="2005-12-31 00:01:00.0" > > costUomId="USD" > > > > > cost="9"/> > > > > > + <CostComponent costComponentId="6001" > > > costComponentTypeId="EST_STD_ > > > > MAT_COST" > > > > > productId="MAT_B_COST" fromDate="2005-12-31 00:01:00.0" > > costUomId="USD" > > > > > cost="7"/> > > > > > + > > > > > + <SupplierProduct partyId="DemoSupplier" > > > > supplierPrefOrderId="10_MAIN_SUPPL" > > > > > minimumOrderQuantity="0" currencyUomId="USD" productId="MAT_A_COST" > > > > > lastPrice="9.0" supplierProductId="MAT_A" > > supplierProductName="Material > > > > A" > > > > > availableFromDate="2005-01-01 00:00:00.000"/> > > > > > + <SupplierProduct partyId="DemoSupplier" > > > > supplierPrefOrderId="10_MAIN_SUPPL" > > > > > minimumOrderQuantity="0" currencyUomId="USD" productId="MAT_B_COST" > > > > > lastPrice="7.0" supplierProductId="MAT_B" > > supplierProductName="Material > > > > B" > > > > > availableFromDate="2005-01-01 00:00:00.000"/> > > > > > + > > > > > + <ProductFacility productId="PROD_MANUF" > > > > > facilityId="WebStoreWarehouse" minimumStock="0" reorderQuantity="1" > > > > > daysToShip="1"/> > > > > > + <ProductFacility productId="MAT_A_COST" > > > > > facilityId="WebStoreWarehouse" minimumStock="0" reorderQuantity="5" > > > > > daysToShip="1"/> > > > > > + <ProductFacility productId="MAT_B_COST" > > > > > facilityId="WebStoreWarehouse" minimumStock="0" reorderQuantity="5" > > > > > daysToShip="1"/> > > > > > + > > > > > + > > > > > + <!-- ################################# --> > > > > > + <!-- Bill of materials definition: --> > > > > > + <ProductAssoc productId="PROD_MANUF" productIdTo="MAT_A_COST" > > > > > productAssocTypeId="MANUF_COMPONENT" fromDate="2005-12-31 > > 00:01:00.0" > > > > > sequenceNum="10" quantity="2.0"/> > > > > > + <ProductAssoc productId="PROD_MANUF" productIdTo="MAT_B_COST" > > > > > productAssocTypeId="MANUF_COMPONENT" fromDate="2005-12-31 > > 00:01:00.0" > > > > > sequenceNum="20" quantity="3.0"/> > > > > > + <!-- ################################# --> > > > > > + <!-- Product Routing definition: --> > > > > > + <!-- this routing is composed of one task --> > > > > > + <!-- the task is executed in the fixed asset WORKCENTER_COST; > > the > > > > > setup time is 10 minutes (600000 milliseconds); the unit task time > > is 5 > > > > > minutes (300000 milliseconds) --> > > > > > + <WorkEffort workEffortId="ROUTING_COST" > > workEffortTypeId="ROUTING" > > > > > currentStatusId="ROU_ACTIVE" workEffortName="Demo Routing for > > Costing" > > > > > description="Demo Routing for Costing" revisionNumber="1" > > > > > quantityToProduce="0"/> > > > > > + <WorkEffort workEffortId="TASK_COST" > workEffortTypeId="ROU_TASK" > > > > > workEffortPurposeTypeId="ROU_ASSEMBLING" > > currentStatusId="ROU_ACTIVE" > > > > > workEffortName="Demo Routing Task for Costing" description="Demo > > > Routing > > > > > Task for Costing" revisionNumber="1" fixedAssetId="WORKCENTER_COST" > > > > > estimatedMilliSeconds="300000" estimatedSetupMillis="600000"/> > > > > > + <WorkEffortAssoc workEffortIdFrom="ROUTING_COST" > > > > > workEffortIdTo="TASK_COST" workEffortAssocTypeId=" > ROUTING_COMPONENT" > > > > > sequenceNum="10" fromDate="2005-12-31 00:01:00.0"/> > > > > > + <WorkEffortGoodStandard workEffortId="ROUTING_COST" > > > > > productId="PROD_MANUF" workEffortGoodStdTypeId="ROU_PROD_TEMPLATE" > > > > > statusId="WEGS_CREATED" fromDate="2005-12-31 00:01:00.0"/> > > > > > + <!-- Cost information for the task --> > > > > > + <!-- This is the cost derived from fixed assets' usage; > > > variableCost > > > > > is per minute (perMilliSeconds=60000) --> > > > > > + <CostComponentCalc costComponentCalcId="TASK_COST_CALC" > > > > > description="Indirect cost (power supply)" currencyUomId="USD" > > > > > fixedCost="1" variableCost="2" perMilliSecond="60000"/> > > > > > + <WorkEffortCostCalc workEffortId="TASK_COST" > > > > > costComponentTypeId="OTHER_COST" costComponentCalcId="TASK_ > > COST_CALC" > > > > > fromDate="2005-12-31 00:01:00.0"/> > > > > > + > > > > > + <!-- General Cost for the finished product --> > > > > > + <CostComponentCalc costComponentCalcId="GEN_COST_CALC" > > > > > description="Overhead cost (5 percent of total cost) for general > > costs" > > > > > currencyUomId="USD" fixedCost="0.05" costCustomMethodId="PROD_PERC_ > > > > > FORMULA"/> > > > > > + <ProductCostComponentCalc productId="PROD_MANUF" > > > > > costComponentTypeId="GEN_COST" costComponentCalcId="GEN_COST_CALC" > > > > > fromDate="2005-12-31 00:01:00.0"/> > > > > > + > > > > > + <InventoryItem facilityId="WebStoreWarehouse" > > > > > locationSeqId="TLTLTLUL01" datetimeReceived="2008-08-01 > 08:00:00.000" > > > > > + inventoryItemId="9029" inventoryItemTypeId="NON_ > > > > SERIAL_INV_ITEM" > > > > > productId="MAT_A_COST" ownerPartyId="Company" currencyUomId="USD" > > > > > unitCost="9.0"/> > > > > > + <InventoryItemDetail inventoryItemId="9029" > > > > inventoryItemDetailSeqId="0001" > > > > > effectiveDate="2001-05-13 12:00:00.0" availableToPromiseDiff="20" > > > > > quantityOnHandDiff="20" accountingQuantityDiff="20"/> > > > > > + <InventoryItem facilityId="WebStoreWarehouse" > > > > > locationSeqId="TLTLTLUL01" datetimeReceived="2008-08-01 > 08:00:00.000" > > > > > + inventoryItemId="9030" inventoryItemTypeId="NON_ > > > > SERIAL_INV_ITEM" > > > > > productId="MAT_B_COST" ownerPartyId="Company" currencyUomId="USD" > > > > > unitCost="7.0"/> > > > > > + <InventoryItemDetail inventoryItemId="9030" > > > > inventoryItemDetailSeqId="0001" > > > > > effectiveDate="2001-05-13 12:00:00.0" availableToPromiseDiff="20" > > > > > quantityOnHandDiff="20" accountingQuantityDiff="20"/> > > > > > + > > > > > +</entity-engine-xml> > > > > > > > > > > Propchange: ofbiz/ofbiz-framework/trunk/ > > applications/accounting/data/ > > > > > DemoStandardCosting.xml > > > > > ------------------------------------------------------------ > > > > > ------------------ > > > > > svn:eol-style = native > > > > > > > > > > Propchange: ofbiz/ofbiz-framework/trunk/ > > applications/accounting/data/ > > > > > DemoStandardCosting.xml > > > > > ------------------------------------------------------------ > > > > > ------------------ > > > > > svn:keywords = Date Rev Author URL Id > > > > > > > > > > Propchange: ofbiz/ofbiz-framework/trunk/ > > applications/accounting/data/ > > > > > DemoStandardCosting.xml > > > > > ------------------------------------------------------------ > > > > > ------------------ > > > > > svn:mime-type = text/xml > > > > > > > > > > Modified: ofbiz/ofbiz-framework/trunk/ > applications/accounting/ofbiz- > > > > > component.xml > > > > > URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/ > > > > > applications/accounting/ofbiz-component.xml?rev=1792866&r1= > > > > > 1792865&r2=1792866&view=diff > > > > > ============================================================ > > > > > ================== > > > > > --- ofbiz/ofbiz-framework/trunk/applications/accounting/ofbiz- > > > > component.xml > > > > > (original) > > > > > +++ ofbiz/ofbiz-framework/trunk/applications/accounting/ofbiz- > > > > component.xml > > > > > Thu Apr 27 11:39:04 2017 > > > > > @@ -44,6 +44,7 @@ under the License. > > > > > <entity-resource type="data" reader-name="demo" loader="main" > > > > > location="data/DemoAccountingUserData.xml"/> > > > > > <entity-resource type="data" reader-name="demo" loader="main" > > > > > location="data/DemoAssetMaintData.xml"/> > > > > > <entity-resource type="data" reader-name="demo" loader="main" > > > > > location="data/DemoBudgetData.xml"/> > > > > > + <entity-resource type="data" reader-name="demo" loader="main" > > > > > location="data/DemoStandardCosting.xml"/> > > > > > > > > > > <!-- General Payment Service Definitions --> > > > > > <service-resource type="model" loader="main" > > > > > location="servicedef/services_agreement.xml"/> > > > > > > > > > > Modified: ofbiz/ofbiz-framework/trunk/applications/marketing/data/ > > > > > sfaDemoData.xml > > > > > URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/ > > > > > applications/marketing/data/sfaDemoData.xml?rev=1792866& > > > > > r1=1792865&r2=1792866&view=diff > > > > > ============================================================ > > > > > ================== > > > > > --- ofbiz/ofbiz-framework/trunk/applications/marketing/data/ > > > > sfaDemoData.xml > > > > > (original) > > > > > +++ ofbiz/ofbiz-framework/trunk/applications/marketing/data/ > > > > sfaDemoData.xml > > > > > Thu Apr 27 11:39:04 2017 > > > > > @@ -36,9 +36,6 @@ > > > > > <PartyContactMechPurpose partyId="sfa100" > contactMechId="sfa100" > > > > > contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2000-01-01 > > > > > 00:00:00.000"/> > > > > > <PartyContactMechPurpose partyId="sfa100" > contactMechId="sfa101" > > > > > contactMechPurposeTypeId="PRIMARY_PHONE" fromDate="2000-01-01 > > > > > 00:00:00.000"/> > > > > > <PartyContactMechPurpose partyId="sfa100" > contactMechId="sfa102" > > > > > contactMechPurposeTypeId="PRIMARY_EMAIL" fromDate="2000-01-01 > > > > > 00:00:00.000"/> > > > > > - <Party partyId="DemoCustCompany" statusId="PARTY_ENABLED"/> > > > > > - <PartyRole partyId="DemoCustCompany" roleTypeId="ACCOUNT"/> > > > > > - <PartyStatus partyId="DemoCustCompany" > statusId="PARTY_ENABLED" > > > > > statusDate="2001-01-01 12:00:00.0"/> > > > > > > > > > > <!-- demo contacts --> > > > > > <Party partyId="DemoCustomer1" statusId="PARTY_ENABLED"/> > > > > > > > > > > Added: ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > > DemoOrderPeopleData.xml > > > > > URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/ > > > > > applications/order/data/DemoOrderPeopleData.xml?rev= > > 1792866&view=auto > > > > > ============================================================ > > > > > ================== > > > > > --- ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > DemoOrderPeopleData.xml > > > > > (added) > > > > > +++ ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > DemoOrderPeopleData.xml > > > > > Thu Apr 27 11:39:04 2017 > > > > > @@ -0,0 +1,214 @@ > > > > > +<?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" > > > > > statusId="PARTY_ENABLED"/> > > > > > + <Person partyId="DemoBuyer" firstName="Demo" > lastName="Buyer"/> > > > > > + <PartyRole partyId="DemoBuyer" roleTypeId="BUYER"/> > > > > > + <PartyStatus partyId="DemoBuyer" statusId="PARTY_ENABLED" > > > > > statusDate="2001-01-01 12:00:00.0"/> > > > > > + <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" > > > > > statusId="PARTY_ENABLED"/> > > > > > + <Person partyId="DemoRepAll" firstName="Demo" lastName="Sales > > Rep > > > > for > > > > > All Stores"/> > > > > > + <PartyRole partyId="DemoRepAll" roleTypeId="SALES_REP"/> > > > > > + <PartyStatus partyId="DemoRepAll" statusId="PARTY_ENABLED" > > > > > statusDate="2001-01-01 12:00:00.0"/> > > > > > + <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" > > > > > statusId="PARTY_ENABLED"/> > > > > > + <Person partyId="DemoRepStore" firstName="Demo" > lastName="Sales > > > Rep > > > > > for Specified Stores Only"/> > > > > > + <PartyRole partyId="DemoRepStore" roleTypeId="SALES_REP"/> > > > > > + <PartyStatus partyId="DemoRepStore" statusId="PARTY_ENABLED" > > > > > statusDate="2001-01-01 12:00:00.0"/> > > > > > + <UserLogin partyId="DemoRepStore" userLoginId="DemoRepStore"/> > > > > > + <UserLoginSecurityGroup userLoginId="DemoRepStore" > > > > > groupId="ORDERENTRY" fromDate="2001-05-13 00:00:00"/> > > > > > + <ProductStoreRole partyId="DemoRepStore" > roleTypeId="SALES_REP" > > > > > productStoreId="9000" fromDate="2001-05-13 12:00:00.0"/> > > > > > + > > > > > + <!-- 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" > > > > > statusId="PARTY_ENABLED"/> > > > > > + <PartyRole partyId="DemoCustCompany" roleTypeId="ACCOUNT"/> > > > > > + <PartyStatus partyId="DemoCustCompany" > statusId="PARTY_ENABLED" > > > > > statusDate="2001-01-01 12:00:00.0"/> > > > > > + <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_"/> > > > > > + <PartyStatus partyId="DemoCustCompany" > statusId="PARTY_ENABLED" > > > > > statusDate="2001-01-01 12:00:00.0"/> > > > > > + > > > > > + <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" geoPointId="9000"/> > > > > > + <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="[email protected]"/> > > > > > + <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" > > > > > statusId="PARTY_ENABLED"/> > > > > > + <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_"/> > > > > > + <PartyStatus partyId="DemoCustAgent" statusId="PARTY_ENABLED" > > > > > statusDate="2001-01-01 12:00:00.0"/> > > > > > + <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" geoPointId="9000"/> > > > > > + <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="[email protected]"/> > > > > > + <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" > > > > > statusId="PARTY_ENABLED"/> > > > > > + <Person partyId="DemoCustomer" firstName="Demo" > > > > lastName="Customer"/> > > > > > + <UserLogin partyId="DemoCustomer" userLoginId="DemoCustomer"/> > > > > > + <PartyRole partyId="DemoCustomer" roleTypeId="CUSTOMER"/> > > > > > + <PartyRole partyId="DemoCustomer" roleTypeId="CONTACT"/> > > > > > + <PartyRole partyId="DemoCustomer" > roleTypeId="BILL_TO_CUSTOMER"/ > > > > > > > > + <PartyStatus partyId="DemoCustomer" statusId="PARTY_ENABLED" > > > > > statusDate="2001-01-01 12:00:00.0"/> > > > > > + <PartyGeoPoint partyId="DemoCustomer" geoPointId="9000" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + <PartyRelationship partyIdFrom="DemoCustCompany" > > > > > roleTypeIdFrom="ACCOUNT" partyIdTo="DemoCustomer" > > > roleTypeIdTo="CONTACT" > > > > > fromDate="2000-01-01 00:00:00.000" partyRelationshipTypeId=" > > > > EMPLOYMENT"/> > > > > > + > > > > > + <ContactMech contactMechId="9015" contactMechTypeId="POSTAL_ > > > > > ADDRESS"/> > > > > > + <PostalAddress contactMechId="9015" toName="Demo Customer" > > > > > address1="2004 Factory Blvd" city="Orem" stateProvinceGeoId="UT" > > > > > postalCode="84057" countryGeoId="USA" geoPointId="9000"/> > > > > > + <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"/> > > > > > + <ContactMech contactMechId="9027" contactMechTypeId="TELECOM_ > > > > > NUMBER"/> > > > > > + <TelecomNumber contactMechId="9025" countryCode="1" > > areaCode="801" > > > > > contactNumber="555-5555"/> > > > > > + <TelecomNumber contactMechId="9027" countryCode="1" > > areaCode="801" > > > > > contactNumber="444-4444"/> > > > > > + <PartyContactMech partyId="DemoCustomer" contactMechId="9025" > > > > > fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y" > > > > extension="222"/> > > > > > + <PartyContactMech partyId="DemoCustomer" contactMechId="9027" > > > > > fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y" > > > > extension="212"/> > > > > > + <PartyContactMechPurpose partyId="DemoCustomer" > > > contactMechId="9025" > > > > > contactMechPurposeTypeId="PHONE_HOME" fromDate="2001-05-13 > > > > 00:00:00.000"/> > > > > > + <PartyContactMechPurpose partyId="DemoCustomer" > > > contactMechId="9025" > > > > > contactMechPurposeTypeId="PHONE_SHIPPING" fromDate="2001-05-13 > > > > > 00:00:00.000"/> > > > > > + <PartyContactMechPurpose partyId="DemoCustomer" > > > contactMechId="9027" > > > > > contactMechPurposeTypeId="PHONE_BILLING" fromDate="2001-05-13 > > > > > 00:00:00.000"/> > > > > > + <ContactMech contactMechId="9026" contactMechTypeId="EMAIL_ > > > ADDRESS" > > > > > infoString="[email protected]"/> > > > > > + <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="CCT_VISA" > > > > > cardNumber="4111111111111111" expireDate="02/2021" > > companyNameOnCard="" > > > > > + titleOnCard="" firstNameOnCard="DEMO" middleNameOnCard="" > > > > > lastNameOnCard="CUSTOMER" suffixOnCard="" contactMechId="9015"/> > > > > > + > > > > > + <!-- EuroCustomer want invoices in euro and be located in > > > Amsterdam > > > > > --> > > > > > + <Party partyId="EuroCustomer" partyTypeId="PERSON" > > > > > statusId="PARTY_ENABLED" preferredCurrencyUomId="EUR"/> > > > > > + <Person partyId="EuroCustomer" firstName="Euro" > > > > lastName="Customer"/> > > > > > + <UserLogin partyId="EuroCustomer" userLoginId="EuroCustomer"/> > > > > > + <PartyRole partyId="EuroCustomer" roleTypeId="CUSTOMER"/> > > > > > + <PartyRole partyId="EuroCustomer" > roleTypeId="BILL_TO_CUSTOMER"/ > > > > > > > > + <PartyStatus partyId="EuroCustomer" statusId="PARTY_ENABLED" > > > > > statusDate="2001-01-01 12:00:00.0"/> > > > > > + <PartyGeoPoint partyId="EuroCustomer" geoPointId="9001" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + > > > > > + <ContactMech contactMechId="EUROCUSTOMER" > > > contactMechTypeId="POSTAL_ > > > > > ADDRESS"/> > > > > > + <PostalAddress contactMechId="EUROCUSTOMER" toName="Euro > > Customer" > > > > > address1="Prinsengracht 3" city="Amsterdam" postalCode="1000BD" > > > > > countryGeoId="NLD" geoPointId="9001"/> > > > > > + <PartyContactMech partyId="EuroCustomer" > > > > contactMechId="EUROCUSTOMER" > > > > > fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/> > > > > > + <PartyContactMechPurpose partyId="EuroCustomer" > > > > > contactMechId="EUROCUSTOMER" contactMechPurposeTypeId=" > > > BILLING_LOCATION" > > > > > fromDate="2001-05-13 00:00:00.000"/> > > > > > + <PartyContactMechPurpose partyId="EuroCustomer" > > > > > contactMechId="EUROCUSTOMER" contactMechPurposeTypeId=" > > > > SHIPPING_LOCATION" > > > > > fromDate="2001-05-13 00:00:00.000"/> > > > > > + <PartyContactMechPurpose partyId="EuroCustomer" > > > > > contactMechId="EUROCUSTOMER" contactMechPurposeTypeId=" > > > GENERAL_LOCATION" > > > > > fromDate="2001-05-13 00:00:00.000"/> > > > > > + <PartyContactMech partyId="EuroCustomer" > > > > contactMechId="EUROCUSTOMER" > > > > > fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/> > > > > > + <PartyContactMechPurpose partyId="EuroCustomer" > > > > > contactMechId="EUROCUSTOMER" contactMechPurposeTypeId=" > > > BILLING_LOCATION" > > > > > fromDate="2001-05-13 00:00:00.000"/> > > > > > + <PartyContactMechPurpose partyId="EuroCustomer" > > > > > contactMechId="EUROCUSTOMER" contactMechPurposeTypeId=" > > > > SHIPPING_LOCATION" > > > > > fromDate="2001-05-13 00:00:00.000"/> > > > > > + <PartyContactMechPurpose partyId="EuroCustomer" > > > > > contactMechId="EUROCUSTOMER" contactMechPurposeTypeId=" > > > GENERAL_LOCATION" > > > > > fromDate="2001-05-13 00:00:00.000"/> > > > > > + <ContactMech contactMechId="EURO01" contactMechTypeId="EMAIL_ > > > > ADDRESS" > > > > > infoString="[email protected]"/> > > > > > + <PartyContactMech partyId="EuroCustomer" > contactMechId="EURO01" > > > > > fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/> > > > > > + <PartyContactMechPurpose partyId="EuroCustomer" > > > > > contactMechId="EURO01" contactMechPurposeTypeId="PRIMARY_EMAIL" > > > > > fromDate="2001-05-13 00:00:00.000"/> > > > > > + > > > > > + <PaymentMethod paymentMethodId="EUROCUSTOMER" > > > > > paymentMethodTypeId="CREDIT_CARD" partyId="EuroCustomer" > > > > > fromDate="2001-05-13 00:00:00.000"/> > > > > > + <CreditCard paymentMethodId="EUROCUSTOMER" cardType="CCT_VISA" > > > > > cardNumber="4111111111111111" expireDate="02/2021" > > companyNameOnCard="" > > > > > + titleOnCard="" firstNameOnCard="EURO" middleNameOnCard="" > > > > > lastNameOnCard="CUSTOMER" suffixOnCard="" > > > contactMechId="EUROCUSTOMER"/> > > > > > + > > > > > + <!-- FrenchCustomer want invoices in euro and be located in > > > Poussan > > > > > --> > > > > > + <Party partyId="FrenchCustomer" partyTypeId="PERSON" > > > > > statusId="PARTY_ENABLED" preferredCurrencyUomId="EUR"/> > > > > > + <Person partyId="FrenchCustomer" firstName="French" > > > > > lastName="Customer"/> > > > > > + <UserLogin partyId="FrenchCustomer" > > userLoginId="FrenchCustomer"/> > > > > > + <PartyRole partyId="FrenchCustomer" roleTypeId="CUSTOMER"/> > > > > > + <PartyRole partyId="FrenchCustomer" > > roleTypeId="BILL_TO_CUSTOMER"/ > > > > > > > > > + <PartyStatus partyId="FrenchCustomer" statusId="PARTY_ENABLED" > > > > > statusDate="2001-01-01 12:00:00.0"/> > > > > > + <PartyGeoPoint partyId="FrenchCustomer" geoPointId="9002" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + > > > > > + <ContactMech contactMechId="FRENCHCUSTOMER" > > > > contactMechTypeId="POSTAL_ > > > > > ADDRESS"/> > > > > > + <PostalAddress contactMechId="FRENCHCUSTOMER" toName="French > > > > > Customer" address1="400 E Chemin de la Mouline" city="Poussan" > > > > > postalCode="34560" countryGeoId="FRA" geoPointId="9002"/> > > > > > + <PartyContactMech partyId="FrenchCustomer" > > > > > contactMechId="FRENCHCUSTOMER" fromDate="2009-01-09 00:00:00.000" > > > > > allowSolicitation="Y"/> > > > > > + <PartyContactMechPurpose partyId="FrenchCustomer" > > > > > contactMechId="FRENCHCUSTOMER" contactMechPurposeTypeId=" > > > > BILLING_LOCATION" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + <PartyContactMechPurpose partyId="FrenchCustomer" > > > > > contactMechId="FRENCHCUSTOMER" contactMechPurposeTypeId=" > > > > SHIPPING_LOCATION" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + <PartyContactMechPurpose partyId="FrenchCustomer" > > > > > contactMechId="FRENCHCUSTOMER" contactMechPurposeTypeId=" > > > > GENERAL_LOCATION" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + <PartyContactMech partyId="FrenchCustomer" > > > > > contactMechId="FRENCHCUSTOMER" fromDate="2009-01-09 00:00:00.000" > > > > > allowSolicitation="Y"/> > > > > > + <PartyContactMechPurpose partyId="FrenchCustomer" > > > > > contactMechId="FRENCHCUSTOMER" contactMechPurposeTypeId=" > > > > BILLING_LOCATION" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + <PartyContactMechPurpose partyId="FrenchCustomer" > > > > > contactMechId="FRENCHCUSTOMER" contactMechPurposeTypeId=" > > > > SHIPPING_LOCATION" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + <PartyContactMechPurpose partyId="FrenchCustomer" > > > > > contactMechId="FRENCHCUSTOMER" contactMechPurposeTypeId=" > > > > GENERAL_LOCATION" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + <ContactMech contactMechId="FRA01" contactMechTypeId="EMAIL_ > > > > ADDRESS" > > > > > infoString="[email protected]"/> > > > > > + <PartyContactMech partyId="FrenchCustomer" > contactMechId="FRA01" > > > > > fromDate="2009-01-09 00:00:00.000" allowSolicitation="Y"/> > > > > > + <PartyContactMechPurpose partyId="FrenchCustomer" > > > > > contactMechId="FRA01" contactMechPurposeTypeId="PRIMARY_EMAIL" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + > > > > > + <PaymentMethod paymentMethodId="FRENCHCUSTOMER" > > > > > paymentMethodTypeId="CREDIT_CARD" partyId="FrenchCustomer" > > > > > fromDate="2009-01-09 00:00:00.000"/> > > > > > + <CreditCard paymentMethodId="FRENCHCUSTOMER" > > cardType="CCT_VISA" > > > > > cardNumber="4111111111111111" expireDate="02/2020" > > companyNameOnCard="" > > > > > + titleOnCard="" firstNameOnCard="FRENCH" > middleNameOnCard="" > > > > > lastNameOnCard="CUSTOMER" suffixOnCard="" > > > contactMechId="FRENCHCUSTOMER" > > > > /> > > > > > + > > > > > + <PartyTaxAuthInfo partyId="FrenchCustomer" taxAuthGeoId="FRA" > > > > > taxAuthPartyId="FRA_TA" fromDate="2001-05-13 00:00:00.000" > > > > > partyTaxId="FR-12345678901" isExempt="N"/> > > > > > + <!--PartyTaxAuthInfo partyId="Company" taxAuthGeoId="FRA" > > > > > taxAuthPartyId="FRA_TA" fromDate="2014-01-01 00:00:00.000" > > > > > partyTaxId="FR-12345678901" isExempt="N"/--> > > > > > + > > > > > +</entity-engine-xml> > > > > > > > > > > Propchange: ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > > DemoOrderPeopleData.xml > > > > > ------------------------------------------------------------ > > > > > ------------------ > > > > > svn:eol-style = native > > > > > > > > > > Propchange: ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > > DemoOrderPeopleData.xml > > > > > ------------------------------------------------------------ > > > > > ------------------ > > > > > svn:keywords = Date Rev Author URL Id > > > > > > > > > > Propchange: ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > > DemoOrderPeopleData.xml > > > > > ------------------------------------------------------------ > > > > > ------------------ > > > > > svn:mime-type = text/xml > > > > > > > > > > Added: ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > > DemoOrderTestData.xml > > > > > URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/ > > > > > applications/order/data/DemoOrderTestData.xml?rev= > 1792866&view=auto > > > > > ============================================================ > > > > > ================== > > > > > --- ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > DemoOrderTestData.xml > > > > > (added) > > > > > +++ ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > DemoOrderTestData.xml > > > > > Thu Apr 27 11:39:04 2017 > > > > > @@ -0,0 +1,266 @@ > > > > > +<?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> > > > > > + <!--Demo data for a sales order --> > > > > > + <OrderHeader orderId="DEMO10090" orderTypeId="SALES_ORDER" > > > > > orderName="" salesChannelEnumId="WEB_SALES_CHANNEL" > > > > orderDate="2008-04-23 > > > > > 16:49:27.392" entryDate="2008-04-23 16:49:27.392" priority="2" > > > > > visitId="10002" statusId="ORDER_APPROVED" createdBy="admin" > > > > > currencyUom="USD" webSiteId="OrderEntry" productStoreId="9000" > > > > > remainingSubTotal="38.40" grandTotal="50.85" > > invoicePerShipment="Y"/> > > > > > + <OrderItem orderId="DEMO10090" orderItemSeqId="00001" > > > > > orderItemTypeId="PRODUCT_ORDER_ITEM" productId="GZ-2644" > > > > > prodCatalogId="DemoCatalog" isPromo="N" quantity="2.0" > > > > selectedAmount="0.0" > > > > > unitPrice="38.4" unitListPrice="48.0" isModifiedPrice="N" > > > > > itemDescription="Round Gizmo" correspondingPoId="" > > > > > statusId="ITEM_APPROVED"/> > > > > > + <OrderItemPriceInfo orderItemPriceInfoId="9000" > > > orderId="DEMO10090" > > > > > orderItemSeqId="00001" productPriceRuleId="9000" > > > > > productPriceActionSeqId="01" modifyAmount="-9.600" > > > description="[PRODUCT_ > > > > CATEGORY_IDIsPROMOTIONS] > > > > > [list:48.0;avgCost:48.0;margin:0.0] [type:PRICE_POL]"/> > > > > > + > > > > > + <PartyRole partyId="DemoCustomer" > roleTypeId="END_USER_CUSTOMER" > > > /> > > > > > + <PartyRole partyId="DemoCustomer" > roleTypeId="SHIP_TO_CUSTOMER"/ > > > > > > > > + <PartyRole partyId="DemoCustomer" > roleTypeId="PLACING_CUSTOMER"/ > > > > > > > > + > > > > > + <OrderRole orderId="DEMO10090" partyId="Company" > > > > > roleTypeId="BILL_FROM_VENDOR"/> > > > > > + <OrderRole orderId="DEMO10090" partyId="DemoCustomer" > > > > > roleTypeId="BILL_TO_CUSTOMER"/> > > > > > + <OrderRole orderId="DEMO10090" partyId="DemoCustomer" > > > > > roleTypeId="END_USER_CUSTOMER"/> > > > > > + <OrderRole orderId="DEMO10090" partyId="DemoCustomer" > > > > > roleTypeId="PLACING_CUSTOMER"/> > > > > > + <OrderRole orderId="DEMO10090" partyId="DemoCustomer" > > > > > roleTypeId="SHIP_TO_CUSTOMER"/> > > > > > + > > > > > + <OrderItemShipGroup orderId="DEMO10090" shipGroupSeqId="00001" > > > > > shipmentMethodTypeId="NEXT_DAY" carrierPartyId="UPS" > > > > > carrierRoleTypeId="CARRIER" contactMechId="9015" maySplit="N" > > > > > giftMessage="" isGift="N"/> > > > > > + <OrderItemShipGroupAssoc orderId="DEMO10090" > > > orderItemSeqId="00001" > > > > > shipGroupSeqId="00001" quantity="2.0"/> > > > > > + <OrderItemShipGrpInvRes orderId="DEMO10090" > > shipGroupSeqId="00001" > > > > > orderItemSeqId="00001" inventoryItemId="9001" > > > reserveOrderEnumId="INVRO_ > > > > FIFO_REC" > > > > > quantity="2.0" quantityNotAvailable="0.0" > > reservedDatetime="2008-04-23 > > > > > 16:49:31.474" createdDatetime="2008-04-23 16:49:31.474" > > > > > promisedDatetime="2008-05-08 16:49:27.392" priority="2"/> > > > > > + > > > > > + <OrderAdjustment orderAdjustmentId="9000" > > orderAdjustmentTypeId=" > > > > PROMOTION_ADJUSTMENT" > > > > > orderId="DEMO10090" orderItemSeqId="00001" shipGroupSeqId="_NA_" > > > > > amount="-38.4" productPromoId="9016" productPromoRuleId="01" > > > > > productPromoActionSeqId="01" createdDate="2008-04-23 16:49:27.866" > > > > > createdByUserLogin="admin"/> > > > > > + <OrderAdjustment orderAdjustmentId="9001" > > orderAdjustmentTypeId=" > > > > SHIPPING_CHARGES" > > > > > orderId="DEMO10090" orderItemSeqId="_NA_" shipGroupSeqId="00001" > > > > > amount="12.45" createdDate="2008-04-23 16:49:27.866" > > > > > createdByUserLogin="admin"/> > > > > > + > > > > > + <OrderPaymentPreference orderPaymentPreferenceId="9000" > > > > > orderId="DEMO10090" paymentMethodTypeId="CREDIT_CARD" > > > > > paymentMethodId="9015" presentFlag="N" swipedFlag="N" > > overflowFlag="N" > > > > > maxAmount="50.85" processAttempt="1" statusId="PAYMENT_AUTHORIZED" > > > > > needsNsfRetry="N" createdDate="2008-04-23 16:49:27.966" > > > > > createdByUserLogin="admin"/> > > > > > + <PaymentGatewayResponse paymentGatewayResponseId="9000" > > > > > orderPaymentPreferenceId="9000" altReference="1250501206473" > > > > > amount="50.85" currencyUomId="USD" gatewayCode="100" > gatewayFlag="A" > > > > > gatewayMessage="This is a test processor; no payments were captured > > or > > > > > authorized." paymentMethodId="9015" paymentMethodTypeId="CREDIT_ > > CARD" > > > > > paymentServiceTypeEnumId="PRDS_PAY_AUTH" > > referenceNum="1250501206473" > > > > > transCodeEnumId="PGT_AUTHORIZE" transactionDate="2009-08-17 > > > > > 14:56:46.498"/> > > > > > + > > > > > + <OrderStatus orderStatusId="9000" statusId="ORDER_CREATED" > > > > > orderId="DEMO10090" statusDatetime="2008-04-23 16:49:27.392" > > > > > statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9001" statusId="ITEM_CREATED" > > > > > orderId="DEMO10090" orderItemSeqId="00001" > statusDatetime="2008-04-23 > > > > > 16:49:27.392" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9002" statusId="PAYMENT_NOT_AUTH" > > > > > orderId="DEMO10090" orderPaymentPreferenceId="9000" > > > > > statusDatetime="2008-04-23 16:49:29.008" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9003" > statusId="PAYMENT_AUTHORIZED" > > > > > orderId="DEMO10090" orderPaymentPreferenceId="9000" > > > > > statusDatetime="2008-04-23 16:49:33.094" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9004" statusId="ORDER_APPROVED" > > > > > orderId="DEMO10090" statusDatetime="2008-04-23 16:49:33.196" > > > > > statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9005" statusId="ITEM_APPROVED" > > > > > orderId="DEMO10090" orderItemSeqId="00001" > statusDatetime="2008-04-23 > > > > > 16:49:33.513" statusUserLogin="admin"/> > > > > > + > > > > > + <OrderContactMech orderId="DEMO10090" > contactMechPurposeTypeId=" > > > > BILLING_LOCATION" > > > > > contactMechId="9015"/> > > > > > + <OrderContactMech orderId="DEMO10090" > contactMechPurposeTypeId=" > > > > ORDER_EMAIL" > > > > > contactMechId="9026"/> > > > > > + <OrderContactMech orderId="DEMO10090" > contactMechPurposeTypeId=" > > > > SHIPPING_LOCATION" > > > > > contactMechId="9015"/> > > > > > + > > > > > + <Shipment shipmentId="9998" shipmentTypeId="SALES_SHIPMENT" > > > > > statusId="SHIPMENT_INPUT" primaryOrderId="DEMO10090" > > > > > primaryShipGroupSeqId="00001" estimatedShipCost="12.45" > > > > originFacilityId="WebStoreWarehouse" > > > > > originContactMechId="9200" originTelecomNumberId="9201" > > > > > destinationContactMechId="9015" destinationTelecomNumberId="9025" > > > > > partyIdTo="DemoCustomer" createdDate="2008-06-10 12:59:26.8"/> > > > > > + > > > > > + <!-- 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"/> > > > > > + <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"/> > > > > > + <OrderItemPriceInfo orderItemPriceInfoId="10001" > > > orderId="DEMO10091" > > > > > orderItemSeqId="00001" description="SupplierProduct > > > > > [minimumOrderQuantity:5.0, lastPrice: 21.6]"/> > > > > > + <OrderItemPriceInfo orderItemPriceInfoId="10002" > > > orderId="DEMO10091" > > > > > orderItemSeqId="00001" description="SupplierProduct > > > > > [minimumOrderQuantity:0.0, lastPrice: 24.0]"/> > > > > > + <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"/> > > > > > + <OrderRole orderId="DEMO10091" partyId="DemoSupplier" > > > > > roleTypeId="BILL_FROM_VENDOR"/> > > > > > + <OrderRole orderId="DEMO10091" partyId="DemoSupplier" > > > > > roleTypeId="SHIP_FROM_VENDOR"/> > > > > > + <OrderRole orderId="DEMO10091" partyId="DemoSupplier" > > > > > roleTypeId="SUPPLIER_AGENT"/> > > > > > + <OrderItemShipGroup orderId="DEMO10091" shipGroupSeqId="00001" > > > > > shipmentMethodTypeId="NO_SHIPPING" carrierPartyId="_NA_" > > > > > carrierRoleTypeId="CARRIER" contactMechId="9200" maySplit="N" > > > > isGift="N"/> > > > > > + <OrderItemShipGroupAssoc orderId="DEMO10091" > > > orderItemSeqId="00001" > > > > > shipGroupSeqId="00001" quantity="5.0"/> > > > > > + > > > > > + <!-- for jira issue - 1784 --> > > > > > + <Payment paymentId="9000" paymentTypeId="VENDOR_PAYMENT" > > > > > paymentMethodId="SC_CHECKING" paymentMethodTypeId="EFT_ACCOUNT" > > > > > partyIdFrom="Company" partyIdTo="DemoSupplier" > > statusId="PMNT_NOT_PAID" > > > > > effectiveDate="2006-04-25 12:56:54.292" amount="190.97" > > > > > currencyUomId="USD"/> > > > > > + > > > > > + <OrderStatus orderStatusId="9007" statusId="ORDER_CREATED" > > > > > orderId="DEMO10091" statusDatetime="2008-06-10 13:27:07.024" > > > > > statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9008" statusId="ITEM_CREATED" > > > > > orderId="DEMO10091" orderItemSeqId="00001" > statusDatetime="2008-06-10 > > > > > 13:27:07.024" statusUserLogin="admin"/> > > > > > + <OrderContactMech orderId="DEMO10091" > contactMechPurposeTypeId=" > > > > SHIPPING_LOCATION" > > > > > contactMechId="9200"/> > > > > > + > > > > > + <Shipment shipmentId="9999" shipmentTypeId="PURCHASE_ > SHIPMENT" > > > > > statusId="PURCH_SHIP_CREATED" primaryOrderId="DEMO10091" > > > > > primaryShipGroupSeqId="00001" createdDate="2008-06-10 12:59:26.8"/> > > > > > + <ShipmentItem shipmentId="9999" shipmentItemSeqId="00001" > > > > > productId="GZ-2644" quantity="5"/> > > > > > + <ItemIssuance itemIssuanceId="9003" orderId="DEMO10091" > > > > > orderItemSeqId="00001" shipGroupSeqId="00001" shipmentId="9999" > > > > > shipmentItemSeqId="00001" issuedDateTime="2009-08-13 17:46:29.603" > > > > > quantity="5"/> > > > > > + > > > > > + <!--Demo Purchase Order data for Accounting--> > > > > > + <OrderHeader orderId="Demo1001" orderTypeId="PURCHASE_ORDER" > > > > > orderName="Demo Purchase Order " salesChannelEnumId="UNKNWN_ > > > > SALES_CHANNEL" > > > > > orderDate="2009-08-13 17:45:50.419" priority="2" > > entryDate="2009-08-13 > > > > > 17:45:50.419" statusId="ORDER_COMPLETED" currencyUom="USD" > > > > > webSiteId="OrderEntry" remainingSubTotal="48.00" > grandTotal="48.00"/> > > > > > + <OrderItem orderId="Demo1001" orderItemSeqId="00001" > > > > > orderItemTypeId="PRODUCT_ORDER_ITEM" productId="GZ-2644" > > > > > prodCatalogId="DemoCatalog" isPromo="N" quantity="2.000000" > > > > > selectedAmount="0.000000" unitPrice="24.00" unitListPrice="0.00" > > > > > isModifiedPrice="N" itemDescription="GZ-2644-0 Round Gizmo" > > > > > statusId="ITEM_COMPLETED" estimatedDeliveryDate="2009-08-13 > > > > 17:43:53.0"/> > > > > > + <OrderItemPriceInfo orderItemPriceInfoId="9001" > > orderId="Demo1001" > > > > > orderItemSeqId="00001" description="SupplierProduct > > > > [minimumOrderQuantity:0.000000, > > > > > lastPrice: 24.000]"/> > > > > > + <PartyRole partyId="DemoSupplier" > roleTypeId="BILL_FROM_VENDOR"/ > > > > > > > > + <PartyRole partyId="DemoSupplier" > roleTypeId="SHIP_FROM_VENDOR"/ > > > > > > > > + <PartyRole partyId="DemoSupplier" > roleTypeId="SUPPLIER_AGENT"/> > > > > > + <OrderRole orderId="Demo1001" partyId="Company" > > > > > roleTypeId="BILL_TO_CUSTOMER" /> > > > > > + <OrderRole orderId="Demo1001" partyId="DemoSupplier" > > > > > roleTypeId="BILL_FROM_VENDOR"/> > > > > > + <OrderRole orderId="Demo1001" partyId="DemoSupplier" > > > > > roleTypeId="SHIP_FROM_VENDOR"/> > > > > > + <OrderRole orderId="Demo1001" partyId="DemoSupplier" > > > > > roleTypeId="SUPPLIER_AGENT"/> > > > > > + <OrderItemShipGroup orderId="Demo1001" shipGroupSeqId="00001" > > > > > shipmentMethodTypeId="NO_SHIPPING" carrierPartyId="_NA_" > > > > > carrierRoleTypeId="CARRIER" contactMechId="9200" maySplit="N" > > > isGift="N" > > > > > estimatedDeliveryDate="2009-08-13 17:43:53.0"/> > > > > > + <OrderItemShipGroupAssoc orderId="Demo1001" > > orderItemSeqId="00001" > > > > > shipGroupSeqId="00001" quantity="2.000000"/> > > > > > + > > > > > + <OrderStatus orderStatusId="9009" statusId="ORDER_CREATED" > > > > > orderId="Demo1001" statusDatetime="2009-08-13 17:45:50.419" > > > > > statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9010" statusId="ITEM_CREATED" > > > > > orderId="Demo1001" orderItemSeqId="00001" > statusDatetime="2009-08-13 > > > > > 17:45:50.419" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9011" statusId="ITEM_APPROVED" > > > > > orderId="Demo1001" orderItemSeqId="00001" > statusDatetime="2009-08-13 > > > > > 17:46:15.144" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9012" statusId="ORDER_APPROVED" > > > > > orderId="Demo1001" statusDatetime="2009-08-13 17:46:15.206" > > > > > statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9013" statusId="ITEM_COMPLETED" > > > > > orderId="Demo1001" orderItemSeqId="00001" > statusDatetime="2009-08-13 > > > > > 17:47:47.292" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="9014" statusId="ORDER_COMPLETED" > > > > > orderId="Demo1001" statusDatetime="2009-08-13 17:47:47.344" > > > > > statusUserLogin="admin"/> > > > > > + <OrderContactMech orderId="Demo1001" > contactMechPurposeTypeId=" > > > > SHIPPING_LOCATION" > > > > > contactMechId="9200"/> > > > > > + > > > > > + <Shipment shipmentId="9997" shipmentTypeId="PURCHASE_ > SHIPMENT" > > > > > statusId="PURCH_SHIP_RECEIVED" primaryOrderId="Demo1001" > > > > > primaryShipGroupSeqId="00001" estimatedShipCost="0.00" > > > > > destinationFacilityId="WebStoreWarehouse" > destinationContactMechId=" > > > > 9200" > > > > > destinationTelecomNumberId="9201" partyIdFrom="DemoSupplier" > > > > > createdDate="2008-06-10 12:59:26.8"/> > > > > > + <ShipmentItem shipmentId="9997" shipmentItemSeqId="00001" > > > > > productId="GZ-2644" quantity="2.000000"/> > > > > > + <ShipmentRouteSegment shipmentId="9997" > > > > > shipmentRouteSegmentId="00001" destFacilityId="WebStoreWarehouse" > > > > > destContactMechId="9200" destTelecomNumberId="9201" > > > carrierPartyId="_NA_" > > > > > shipmentMethodTypeId="NO_SHIPPING" carrierServiceStatusId=" > > > > > SHRSCS_NOT_STARTED"/> > > > > > + <ShipmentPackage shipmentId="9997" > shipmentPackageSeqId="00001" > > > > > dateCreated="2009-08-13 17:46:29.751"/> > > > > > + <ShipmentPackageContent shipmentId="9997" > > > > > shipmentPackageSeqId="00001" shipmentItemSeqId="00001" > > > > quantity="2.000000"/> > > > > > + <ShipmentPackageRouteSeg shipmentId="9997" > > > > > shipmentPackageSeqId="00001" shipmentRouteSegmentId="00001"/> > > > > > + <ShipmentStatus statusId="PURCH_SHIP_CREATED" > shipmentId="9997" > > > > > statusDate="2009-08-13 17:46:28.784"/> > > > > > + <ShipmentStatus statusId="PURCH_SHIP_RECEIVED" > shipmentId="9997" > > > > > statusDate="2009-08-13 17:47:47.602"/> > > > > > + <ShipmentStatus statusId="PURCH_SHIP_SHIPPED" > shipmentId="9997" > > > > > statusDate="2009-08-13 17:46:29.836"/> > > > > > + <AcctgTrans acctgTransId="9000" acctgTransTypeId="SHIPMENT_ > > > RECEIPT" > > > > > transactionDate="2009-08-13 17:47:48.642" isPosted="Y" > > > > > postedDate="2009-08-13 17:47:49.281" glFiscalTypeId="ACTUAL" > > > > > partyId="DemoSupplier" shipmentId="9997"/> > > > > > + <AcctgTransEntry acctgTransId="9000" > > acctgTransEntrySeqId="00001" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoSupplier" > > > > > roleTypeId="BILL_FROM_VENDOR" productId="GZ-2644" > > > > > glAccountTypeId="UNINVOICED_SHIP_RCPT" glAccountId="214000" > > > > > organizationPartyId="Company" amount="48.00" currencyUomId="USD" > > > > > origAmount="48.00" origCurrencyUomId="USD" debitCreditFlag="C" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9000" > > acctgTransEntrySeqId="00002" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoSupplier" > > > > > roleTypeId="BILL_FROM_VENDOR" productId="GZ-2644" > > > > > glAccountTypeId="INVENTORY_ACCOUNT" glAccountId="140000" > > > > > organizationPartyId="Company" amount="48.00" currencyUomId="USD" > > > > > origAmount="48.00" origCurrencyUomId="USD" debitCreditFlag="D" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + > > > > > + <InventoryItem inventoryItemId="9025" > inventoryItemTypeId="NON_ > > > > SERIAL_INV_ITEM" > > > > > productId="GZ-2644" ownerPartyId="Company" > > datetimeReceived="2009-08-13 > > > > > 17:47:31.095" facilityId="WebStoreWarehouse" > > locationSeqId="TLTLTLLL01" > > > > > quantityOnHandTotal="2.000000" availableToPromiseTotal="2.000000" > > > > > unitCost="24.000000" currencyUomId="USD"/> > > > > > + <ShipmentReceipt receiptId="9000" inventoryItemId="9025" > > > > > productId="GZ-2644" shipmentId="9997" orderId="Demo1001" > > > > > orderItemSeqId="00001" datetimeReceived="2009-08-13 17:47:31.095" > > > > > quantityAccepted="2.000000" quantityRejected="0.000000"/> > > > > > + <InventoryItemDetail inventoryItemId="9025" > > > > inventoryItemDetailSeqId="00001" > > > > > effectiveDate="2009-08-13 17:47:46.78" > quantityOnHandDiff="2.000000" > > > > > availableToPromiseDiff="2.000000" accountingQuantityDiff="2. > 000000" > > > > > unitCost="24.000000" orderId="Demo1001" orderItemSeqId="00001" > > > > > shipmentId="9997" receiptId="9000"/> > > > > > + <ItemIssuance itemIssuanceId="9000" orderId="Demo1001" > > > > > orderItemSeqId="00001" shipGroupSeqId="00001" shipmentId="9997" > > > > > shipmentItemSeqId="00001" issuedDateTime="2009-08-13 17:46:29.603" > > > > > quantity="2.000000"/> > > > > > + > > > > > + <Invoice invoiceId="8008" invoiceTypeId="PURCHASE_INVOICE" > > > > > description="Purchase Order Invoice" partyIdFrom="DemoSupplier" > > > > > partyId="Company" statusId="INVOICE_READY" invoiceDate="2009-08-13 > > > > > 17:47:47.929" currencyUomId="USD"/> > > > > > + <InvoiceItem invoiceId="8008" invoiceItemSeqId="00001" > > > > > invoiceItemTypeId="PINV_FPROD_ITEM" productId="GZ-2644" > > > > > quantity="2.000000" amount="24.000" description="GZ-2644-0 Round > > > Gizmo"/> > > > > > + <OrderItemBilling orderId="Demo1001" orderItemSeqId="00001" > > > > > invoiceId="8008" invoiceItemSeqId="00001" shipmentReceiptId="9000" > > > > > quantity="2.000000" amount="24.00"/> > > > > > + <AcctgTrans acctgTransId="9001" acctgTransTypeId="PURCHASE_ > > > INVOICE" > > > > > transactionDate="2009-08-13 18:58:34.65" isPosted="Y" > > > > > postedDate="2009-08-13 18:58:35.08" glFiscalTypeId="ACTUAL" > > > > > partyId="DemoSupplier" roleTypeId="BILL_FROM_VENDOR" > > invoiceId="8008"/> > > > > > + <AcctgTransEntry acctgTransId="9001" > > acctgTransEntrySeqId="00001" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoSupplier" > > > > > roleTypeId="BILL_FROM_VENDOR" productId="GZ-2644" > > glAccountId="214000" > > > > > organizationPartyId="Company" amount="48.00" currencyUomId="USD" > > > > > origAmount="48.00" origCurrencyUomId="USD" debitCreditFlag="D" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9001" > > acctgTransEntrySeqId="00002" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoSupplier" > > > > > roleTypeId="BILL_FROM_VENDOR" glAccountTypeId="ACCOUNTS_PAYABLE" > > > > > glAccountId="210000" organizationPartyId="Company" amount="48.00" > > > > > currencyUomId="USD" origAmount="48.00" origCurrencyUomId="USD" > > > > > debitCreditFlag="C" reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + > > > > > + <!--Demo Sales Order for Accounting--> > > > > > + <OrderHeader orderId="Demo1002" orderTypeId="SALES_ORDER" > > > > > orderName="Demo Sales Order" salesChannelEnumId="WEB_SALES_ > CHANNEL" > > > > > orderDate="2009-08-17 14:23:49.475" priority="2" > > entryDate="2009-08-17 > > > > > 14:23:49.475" visitId="10000" statusId="ORDER_COMPLETED" > > > > createdBy="admin" > > > > > currencyUom="USD" webSiteId="OrderEntry" productStoreId="9000" > > > > > remainingSubTotal="107.98" grandTotal="127.09"/> > > > > > + <OrderItem orderId="Demo1002" orderItemSeqId="00001" > > > > > orderItemTypeId="PRODUCT_ORDER_ITEM" productId="WG-1111" > > > > > prodCatalogId="DemoCatalog" isPromo="N" quantity="2.000000" > > > > > selectedAmount="0.000000" unitPrice="59.99" unitListPrice="60.00" > > > > > isModifiedPrice="N" itemDescription="Micro Chrome Widget" > > > > > correspondingPoId="" statusId="ITEM_COMPLETED"/> > > > > > + <OrderItem orderId="Demo1002" orderItemSeqId="00004" > > > > > orderItemTypeId="PRODUCT_ORDER_ITEM" productId="WG-1111" > isPromo="Y" > > > > > quantity="1.000000" selectedAmount="0.000000" unitPrice="59.99" > > > > > unitListPrice="60.00" isModifiedPrice="N" itemDescription="Micro > > Chrome > > > > > Widget" correspondingPoId="" statusId="ITEM_COMPLETED"/> > > > > > + <PartyRole partyId="DemoCustomer" > roleTypeId="END_USER_CUSTOMER" > > > /> > > > > > + <PartyRole partyId="DemoCustomer" > roleTypeId="SHIP_TO_CUSTOMER"/ > > > > > > > > + <PartyRole partyId="DemoCustomer" > roleTypeId="PLACING_CUSTOMER"/ > > > > > > > > + > > > > > + <OrderRole orderId="Demo1002" partyId="Company" > > > > > roleTypeId="BILL_FROM_VENDOR"/> > > > > > + <OrderRole orderId="Demo1002" partyId="DemoCustomer" > > > > > roleTypeId="BILL_TO_CUSTOMER"/> > > > > > + <OrderRole orderId="Demo1002" partyId="DemoCustomer" > > > > > roleTypeId="END_USER_CUSTOMER"/> > > > > > + <OrderRole orderId="Demo1002" partyId="DemoCustomer" > > > > > roleTypeId="PLACING_CUSTOMER"/> > > > > > + <OrderRole orderId="Demo1002" partyId="DemoCustomer" > > > > > roleTypeId="SHIP_TO_CUSTOMER"/> > > > > > + > > > > > + <OrderItemShipGroup orderId="Demo1002" shipGroupSeqId="00001" > > > > > shipmentMethodTypeId="NEXT_DAY" carrierPartyId="UPS" > > > > > carrierRoleTypeId="CARRIER" contactMechId="9015" maySplit="N" > > > > isGift="N"/> > > > > > + <OrderItemShipGroupAssoc orderId="Demo1002" > > orderItemSeqId="00001" > > > > > shipGroupSeqId="00001" quantity="2.000000"/> > > > > > + <OrderItemShipGroupAssoc orderId="Demo1002" > > orderItemSeqId="00004" > > > > > shipGroupSeqId="00001" quantity="1.000000"/> > > > > > + <OrderAdjustment orderAdjustmentId="8000" > > orderAdjustmentTypeId=" > > > > PROMOTION_ADJUSTMENT" > > > > > orderId="Demo1002" orderItemSeqId="_NA_" shipGroupSeqId="_NA_" > > > > > amount="-12.000" productPromoId="9011" productPromoRuleId="01" > > > > > productPromoActionSeqId="01" createdDate="2009-08-17 > 14:56:44.515"/> > > > > > + <OrderAdjustment orderAdjustmentId="8001" > > orderAdjustmentTypeId=" > > > > PROMOTION_ADJUSTMENT" > > > > > orderId="Demo1002" orderItemSeqId="00004" shipGroupSeqId="_NA_" > > > > > amount="-59.990" productPromoId="9000" productPromoRuleId="01" > > > > > productPromoActionSeqId="01" createdDate="2009-08-17 > 14:56:44.515"/> > > > > > + <OrderAdjustment orderAdjustmentId="8002" > > orderAdjustmentTypeId=" > > > > SHIPPING_CHARGES" > > > > > orderId="Demo1002" orderItemSeqId="_NA_" shipGroupSeqId="00001" > > > > > amount="12.100" createdDate="2009-08-17 14:56:44.515" > > > > > createdByUserLogin="admin"/> > > > > > + <OrderAdjustment orderAdjustmentId="8003" > > > > > orderAdjustmentTypeId="SALES_TAX" orderId="Demo1002" > > > > > orderItemSeqId="_NA_" shipGroupSeqId="00001" comments="Utah County, > > > Utah > > > > > Sales Tax" amount="-0.012" taxAuthorityRateSeqId="9005" > > > > > sourcePercentage="0.100000" primaryGeoId="UT-UTAH" > > > taxAuthGeoId="UT-UTAH" > > > > > taxAuthPartyId="UT_UTAH_TAXMAN" overrideGlAccountId="224153"/> > > > > > + <OrderAdjustment orderAdjustmentId="8004" > > > > > orderAdjustmentTypeId="SALES_TAX" orderId="Demo1002" > > > > > orderItemSeqId="00001" shipGroupSeqId="00001" comments="Utah > County, > > > Utah > > > > > Sales Tax" amount="0.120" taxAuthorityRateSeqId="9005" > > > > > sourcePercentage="0.100000" primaryGeoId="UT-UTAH" > > > taxAuthGeoId="UT-UTAH" > > > > > taxAuthPartyId="UT_UTAH_TAXMAN" overrideGlAccountId="224153" > > > > > createdDate="2009-08-17 14:56:44.515"/> > > > > > + <OrderAdjustment orderAdjustmentId="8005" > > > > > orderAdjustmentTypeId="SALES_TAX" orderId="Demo1002" > > > > > orderItemSeqId="00001" shipGroupSeqId="00001" comments="Utah State > > > Sales > > > > > Tax" amount="5.699" taxAuthorityRateSeqId="9004" > > > > > sourcePercentage="4.750000" primaryGeoId="UT" taxAuthGeoId="UT" > > > > > taxAuthPartyId="UT_TAXMAN" overrideGlAccountId="224153" > > > > > createdDate="2009-08-17 14:56:44.515"/> > > > > > + <OrderAdjustment orderAdjustmentId="8006" > > > > > orderAdjustmentTypeId="SALES_TAX" orderId="Demo1002" > > > > > orderItemSeqId="00001" shipGroupSeqId="00001" comments="1% OFB _NA_ > > > Tax" > > > > > amount="1.200" taxAuthorityRateSeqId="9000" > > sourcePercentage="1.000000" > > > > > primaryGeoId="_NA_" taxAuthGeoId="_NA_" taxAuthPartyId="_NA_" > > > > > overrideGlAccountId="224000" createdDate="2009-08-17 > 14:56:44.515"/> > > > > > + <OrderPaymentPreference orderPaymentPreferenceId="9001" > > > > > orderId="Demo1002" paymentMethodTypeId="CREDIT_CARD" > > > > > paymentMethodId="9015" presentFlag="N" swipedFlag="N" > > overflowFlag="N" > > > > > maxAmount="127.09" processAttempt="1" statusId="PAYMENT_SETTLED" > > > > > needsNsfRetry="N" createdDate="2009-08-17 14:56:44.573"/> > > > > > + > > > > > + <OrderStatus orderStatusId="8000" statusId="ORDER_CREATED" > > > > > orderId="Demo1002" statusDatetime="2009-08-17 14:56:44.162" > > > > > statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8001" statusId="ITEM_CREATED" > > > > > orderId="Demo1002" orderItemSeqId="00001" > statusDatetime="2009-08-17 > > > > > 14:56:44.162" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8002" statusId="ITEM_CREATED" > > > > > orderId="Demo1002" orderItemSeqId="00004" > statusDatetime="2009-08-17 > > > > > 14:56:44.162" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8003" statusId="PAYMENT_NOT_AUTH" > > > > > orderId="Demo1002" orderPaymentPreferenceId="9001" > > > > > statusDatetime="2009-08-17 14:56:44.938" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8004" statusId="PAYMENT_NOT_AUTH" > > > > > orderId="Demo1002" orderPaymentPreferenceId="9001" > > > > > statusDatetime="2009-08-17 14:56:46.344" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8005" > statusId="PAYMENT_AUTHORIZED" > > > > > orderId="Demo1002" orderPaymentPreferenceId="9001" > > > > > statusDatetime="2009-08-17 14:56:46.523" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8006" statusId="ORDER_APPROVED" > > > > > orderId="Demo1002" statusDatetime="2009-08-17 14:56:46.558" > > > > > statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8007" statusId="ITEM_APPROVED" > > > > > orderId="Demo1002" orderItemSeqId="00001" > statusDatetime="2009-08-17 > > > > > 14:56:46.712" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8008" statusId="ITEM_APPROVED" > > > > > orderId="Demo1002" orderItemSeqId="00004" > statusDatetime="2009-08-17 > > > > > 14:56:46.712" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8009" statusId="ITEM_COMPLETED" > > > > > orderId="Demo1002" orderItemSeqId="00001" > statusDatetime="2009-08-17 > > > > > 14:57:01.657" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8010" statusId="ITEM_COMPLETED" > > > > > orderId="Demo1002" orderItemSeqId="00004" > statusDatetime="2009-08-17 > > > > > 14:57:02.401" statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8011" statusId="ORDER_COMPLETED" > > > > > orderId="Demo1002" statusDatetime="2009-08-17 14:57:02.433" > > > > > statusUserLogin="admin"/> > > > > > + <OrderStatus orderStatusId="8012" statusId="PAYMENT_SETTLED" > > > > > orderId="Demo1002" orderPaymentPreferenceId="9001" > > > > > statusDatetime="2009-08-17 14:57:04.825" statusUserLogin="admin"/> > > > > > + <OrderContactMech orderId="Demo1002" > contactMechPurposeTypeId=" > > > > BILLING_LOCATION" > > > > > contactMechId="9015"/> > > > > > + <OrderContactMech orderId="Demo1002" > contactMechPurposeTypeId=" > > > > ORDER_EMAIL" > > > > > contactMechId="9026"/> > > > > > + <OrderContactMech orderId="Demo1002" > contactMechPurposeTypeId=" > > > > SHIPPING_LOCATION" > > > > > contactMechId="9015"/> > > > > > + > > > > > + <Shipment shipmentId="9996" shipmentTypeId="SALES_SHIPMENT" > > > > > statusId="SHIPMENT_SHIPPED" primaryOrderId="Demo1002" > > > > > primaryShipGroupSeqId="00001" estimatedShipCost="12.10" > > > > originFacilityId="WebStoreWarehouse" > > > > > originContactMechId="9200" originTelecomNumberId="9201" > > > > > destinationContactMechId="9015" destinationTelecomNumberId="9025" > > > > > partyIdTo="DemoCustomer" partyIdFrom="Company" > > createdDate="2009-08-17 > > > > > 14:56:57.553"/> > > > > > + <ShipmentItem shipmentId="9996" shipmentItemSeqId="00001" > > > > > productId="WG-1111" quantity="3.000000"/> > > > > > + <ShipmentRouteSegment shipmentId="9996" > > > > > shipmentRouteSegmentId="00001" originFacilityId=" > WebStoreWarehouse" > > > > > originContactMechId="9200" originTelecomNumberId="9201" > > > > > destContactMechId="9015" destTelecomNumberId="9025" > > > carrierPartyId="UPS" > > > > > shipmentMethodTypeId="NEXT_DAY" carrierServiceStatusId=" > > > > > SHRSCS_NOT_STARTED"/> > > > > > + <ShipmentPackage shipmentId="9996" > shipmentPackageSeqId="00001" > > > > > dateCreated="2009-08-17 14:57:02.742"/> > > > > > + <ShipmentPackageContent shipmentId="9996" > > > > > shipmentPackageSeqId="00001" shipmentItemSeqId="00001" > > > > quantity="3.000000"/> > > > > > + <ShipmentPackageRouteSeg shipmentId="9996" > > > > > shipmentPackageSeqId="00001" shipmentRouteSegmentId="00001"/> > > > > > + <ShipmentStatus statusId="SHIPMENT_INPUT" shipmentId="9996" > > > > > statusDate="2009-08-17 16:35:36.119"/> > > > > > + <ShipmentStatus statusId="SHIPMENT_PACKED" shipmentId="9996" > > > > > statusDate="2009-08-17 16:35:39.627"/> > > > > > + <ShipmentStatus statusId="SHIPMENT_SHIPPED" shipmentId="9996" > > > > > statusDate="2009-08-17 16:35:42.707"/> > > > > > + <AcctgTrans acctgTransId="9002" acctgTransTypeId="SALES_ > > SHIPMENT" > > > > > transactionDate="2009-08-17 14:56:59.96" isPosted="Y" > > > > > postedDate="2009-08-17 14:57:01.321" glFiscalTypeId="ACTUAL" > > > > > shipmentId="9996"/> > > > > > + <AcctgTransEntry acctgTransId="9002" > > acctgTransEntrySeqId="00001" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoCustomer" > > > > > roleTypeId="BILL_TO_CUSTOMER" productId="WG-1111" > > > > > glAccountTypeId="INVENTORY_ACCOUNT" glAccountId="140000" > > > > > organizationPartyId="Company" amount="9.00" currencyUomId="USD" > > > > > origAmount="9.00" origCurrencyUomId="USD" debitCreditFlag="C" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9002" > > acctgTransEntrySeqId="00002" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoCustomer" > > > > > roleTypeId="BILL_TO_CUSTOMER" productId="WG-1111" > > > > > glAccountTypeId="COGS_ACCOUNT" glAccountId="500000" > > > > > organizationPartyId="Company" amount="9.00" currencyUomId="USD" > > > > > origAmount="9.00" origCurrencyUomId="USD" debitCreditFlag="D" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTrans acctgTransId="9003" acctgTransTypeId="SALES_ > > SHIPMENT" > > > > > transactionDate="2009-08-17 14:57:01.955" isPosted="Y" > > > > > postedDate="2009-08-17 14:57:02.345" glFiscalTypeId="ACTUAL" > > > > > shipmentId="9996"/> > > > > > + <AcctgTransEntry acctgTransId="9003" > > acctgTransEntrySeqId="00001" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoCustomer" > > > > > roleTypeId="BILL_TO_CUSTOMER" productId="WG-1111" > > > > > glAccountTypeId="INVENTORY_ACCOUNT" glAccountId="140000" > > > > > organizationPartyId="Company" amount="4.50" currencyUomId="USD" > > > > > origAmount="4.50" origCurrencyUomId="USD" debitCreditFlag="C" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9003" > > acctgTransEntrySeqId="00002" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoCustomer" > > > > > roleTypeId="BILL_TO_CUSTOMER" productId="WG-1111" > > > > > glAccountTypeId="COGS_ACCOUNT" glAccountId="500000" > > > > > organizationPartyId="Company" amount="4.50" currencyUomId="USD" > > > > > origAmount="4.50" origCurrencyUomId="USD" debitCreditFlag="D" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + > > > > > + <ItemIssuance itemIssuanceId="9001" orderId="Demo1002" > > > > > orderItemSeqId="00001" shipGroupSeqId="00001" > inventoryItemId="9005" > > > > > shipmentId="9996" shipmentItemSeqId="00001" > > issuedDateTime="2009-08-17 > > > > > 14:56:58.664" issuedByUserLoginId="admin" quantity="2.000000"/> > > > > > + <ItemIssuance itemIssuanceId="9002" orderId="Demo1002" > > > > > orderItemSeqId="00004" shipGroupSeqId="00001" > inventoryItemId="9005" > > > > > shipmentId="9996" shipmentItemSeqId="00001" > > issuedDateTime="2009-08-17 > > > > > 14:57:01.872" issuedByUserLoginId="admin" quantity="1.000000"/> > > > > > + > > > > > + <Invoice invoiceId="8009" invoiceTypeId="SALES_INVOICE" > > > > > partyIdFrom="Company" partyId="DemoCustomer" > statusId="INVOICE_PAID" > > > > > invoiceDate="2009-08-17 14:57:03.614" paidDate="2009-08-17 > > 14:57:04.99" > > > > > currencyUomId="USD"/> > > > > > + <InvoiceItem invoiceId="8009" invoiceItemSeqId="00001" > > > > > invoiceItemTypeId="INV_FPROD_ITEM" inventoryItemId="9005" > > > > > productId="WG-1111" quantity="2.000000" amount="59.990" > > > > description="Micro > > > > > Chrome Widget"/> > > > > > + <InvoiceItem invoiceId="8009" invoiceItemSeqId="00002" > > > > > invoiceItemTypeId="ITM_SALES_TAX" overrideGlAccountId="224153" > > > > > productId="WG-1111" parentInvoiceId="8009" > > > parentInvoiceItemSeqId="00001" > > > > > quantity="1.000000" amount="0.120" description="Utah County, Utah > > Sales > > > > > Tax" taxAuthPartyId="UT_UTAH_TAXMAN" taxAuthGeoId="UT-UTAH" > > > > > taxAuthorityRateSeqId="9005"/> > > > > > + <InvoiceItem invoiceId="8009" invoiceItemSeqId="00003" > > > > > invoiceItemTypeId="ITM_SALES_TAX" overrideGlAccountId="224153" > > > > > productId="WG-1111" parentInvoiceId="8009" > > > parentInvoiceItemSeqId="00001" > > > > > quantity="1.000000" amount="5.699" description="Utah State Sales > Tax" > > > > > taxAuthPartyId="UT_TAXMAN" taxAuthGeoId="UT" > > > > taxAuthorityRateSeqId="9004"/> > > > > > + <InvoiceItem invoiceId="8009" invoiceItemSeqId="00004" > > > > > invoiceItemTypeId="ITM_SALES_TAX" overrideGlAccountId="224000" > > > > > productId="WG-1111" parentInvoiceId="8009" > > > parentInvoiceItemSeqId="00001" > > > > > quantity="1.000000" amount="1.200" description="1% OFB _NA_ Tax" > > > > > taxAuthPartyId="_NA_" taxAuthGeoId="_NA_" > > > taxAuthorityRateSeqId="9000"/> > > > > > + <InvoiceItem invoiceId="8009" invoiceItemSeqId="00005" > > > > > invoiceItemTypeId="INV_FPROD_ITEM" inventoryItemId="9005" > > > > > productId="WG-1111" quantity="1.000000" amount="59.990" > > > > description="Micro > > > > > Chrome Widget"/> > > > > > + <InvoiceItem invoiceId="8009" invoiceItemSeqId="00006" > > > > > invoiceItemTypeId="ITM_PROMOTION_ADJ" productId="WG-1111" > > > > > parentInvoiceId="8009" parentInvoiceItemSeqId="00005" > > > quantity="1.000000" > > > > > amount="-59.990"/> > > > > > + <InvoiceItem invoiceId="8009" invoiceItemSeqId="00007" > > > > > invoiceItemTypeId="ITM_PROMOTION_ADJ" quantity="1.000000" > > > > > amount="-12.000"/> > > > > > + <InvoiceItem invoiceId="8009" invoiceItemSeqId="00008" > > > > > invoiceItemTypeId="ITM_SHIPPING_CHARGES" quantity="1.000000" > > > > > amount="12.100"/> > > > > > + <InvoiceItem invoiceId="8009" invoiceItemSeqId="00009" > > > > > invoiceItemTypeId="ITM_SALES_TAX" overrideGlAccountId="224153" > > > > > quantity="1.000000" amount="-0.010" taxAuthPartyId="UT_UTAH_ > TAXMAN" > > > > > taxAuthGeoId="UT-UTAH" taxAuthorityRateSeqId="9005"/> > > > > > + <AcctgTrans acctgTransId="9004" acctgTransTypeId="SALES_ > > INVOICE" > > > > > transactionDate="2009-08-17 14:57:06.129" isPosted="Y" > > > > > postedDate="2009-08-17 14:57:06.587" glFiscalTypeId="ACTUAL" > > > > > invoiceId="8009"/> > > > > > + <AcctgTransEntry acctgTransId="9004" > > acctgTransEntrySeqId="00001" > > > > > acctgTransEntryTypeId="_NA_" productId="WG-1111" > glAccountId="400000" > > > > > organizationPartyId="Company" amount="119.98" currencyUomId="USD" > > > > > origAmount="119.98" origCurrencyUomId="USD" debitCreditFlag="C" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9004" > > acctgTransEntrySeqId="00002" > > > > > acctgTransEntryTypeId="_NA_" partyId="UT_UTAH_TAXMAN" > > > > > roleTypeId="TAX_AUTHORITY" productId="WG-1111" glAccountId="224153" > > > > > organizationPartyId="Company" amount="0.12" currencyUomId="USD" > > > > > origAmount="0.12" origCurrencyUomId="USD" debitCreditFlag="C" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9004" > > acctgTransEntrySeqId="00003" > > > > > acctgTransEntryTypeId="_NA_" partyId="UT_TAXMAN" > > > > roleTypeId="TAX_AUTHORITY" > > > > > productId="WG-1111" glAccountId="224153" > > organizationPartyId="Company" > > > > > amount="5.69" currencyUomId="USD" origAmount="5.69" > > > > origCurrencyUomId="USD" > > > > > debitCreditFlag="C" reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9004" > > acctgTransEntrySeqId="00004" > > > > > acctgTransEntryTypeId="_NA_" partyId="_NA_" > > roleTypeId="TAX_AUTHORITY" > > > > > productId="WG-1111" glAccountId="224000" > > organizationPartyId="Company" > > > > > amount="1.20" currencyUomId="USD" origAmount="1.20" > > > > origCurrencyUomId="USD" > > > > > debitCreditFlag="C" reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9004" > > acctgTransEntrySeqId="00005" > > > > > acctgTransEntryTypeId="_NA_" productId="WG-1111" > glAccountId="400000" > > > > > organizationPartyId="Company" amount="59.99" currencyUomId="USD" > > > > > origAmount="59.99" origCurrencyUomId="USD" debitCreditFlag="C" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9004" > > acctgTransEntrySeqId="00006" > > > > > acctgTransEntryTypeId="_NA_" productId="WG-1111" > glAccountId="400000" > > > > > organizationPartyId="Company" amount="59.99" currencyUomId="USD" > > > > > origAmount="59.99" origCurrencyUomId="USD" debitCreditFlag="D" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9004" > > acctgTransEntrySeqId="00007" > > > > > acctgTransEntryTypeId="_NA_" glAccountId="410000" > > > > > organizationPartyId="Company" amount="12.00" currencyUomId="USD" > > > > > origAmount="12.00" origCurrencyUomId="USD" debitCreditFlag="D" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9004" > > acctgTransEntrySeqId="00008" > > > > > acctgTransEntryTypeId="_NA_" glAccountId="409000" > > > > > organizationPartyId="Company" amount="12.10" currencyUomId="USD" > > > > > origAmount="12.10" origCurrencyUomId="USD" debitCreditFlag="C" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9004" > > acctgTransEntrySeqId="00009" > > > > > acctgTransEntryTypeId="_NA_" partyId="UT_UTAH_TAXMAN" > > > > > roleTypeId="TAX_AUTHORITY" glAccountId="224153" > > > > > organizationPartyId="Company" amount="0.01" currencyUomId="USD" > > > > > origAmount="0.01" origCurrencyUomId="USD" debitCreditFlag="D" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9004" > > acctgTransEntrySeqId="00010" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoCustomer" > > > > > roleTypeId="BILL_TO_CUSTOMER" glAccountTypeId="ACCOUNTS_ > RECEIVABLE" > > > > > glAccountId="120000" organizationPartyId="Company" amount="127.08" > > > > > currencyUomId="USD" origAmount="127.08" origCurrencyUomId="USD" > > > > > debitCreditFlag="D" reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + > > > > > + <PaymentGatewayResponse paymentGatewayResponseId="9001" > > > > > paymentServiceTypeEnumId="PRDS_PAY_AUTH" > orderPaymentPreferenceId=" > > > 9001" > > > > > paymentMethodTypeId="CREDIT_CARD" paymentMethodId="9015" > > > > > transCodeEnumId="PGT_AUTHORIZE" amount="127.09" > currencyUomId="USD" > > > > > referenceNum="1250501206473" altReference="1250501206473" > > > > gatewayCode="100" > > > > > gatewayFlag="A" gatewayMessage="This is a test processor; no > payments > > > > were > > > > > captured or authorized." transactionDate="2009-08-17 > 14:56:46.498"/> > > > > > + <PaymentGatewayResponse paymentGatewayResponseId="9002" > > > > > paymentServiceTypeEnumId="PRDS_PAY_CAPTURE" > > orderPaymentPreferenceId=" > > > > 9001" > > > > > paymentMethodTypeId="CREDIT_CARD" paymentMethodId="9015" > > > > > transCodeEnumId="PGT_CAPTURE" amount="127.09" currencyUomId="USD" > > > > > referenceNum="1250501224763" altReference="1250501224763" > > > gatewayFlag="C" > > > > > gatewayMessage="This is a test capture; no money was transferred" > > > > > transactionDate="2009-08-17 14:57:04.836"/> > > > > > + <Payment paymentId="8004" paymentTypeId="CUSTOMER_PAYMENT" > > > > > paymentMethodTypeId="CREDIT_CARD" paymentMethodId="9015" > > > > > paymentGatewayResponseId="9002" paymentPreferenceId="9001" > > > > > partyIdFrom="DemoCustomer" partyIdTo="Company" > > statusId="PMNT_RECEIVED" > > > > > effectiveDate="2009-08-17 14:57:04.99" > paymentRefNum="1250501224763" > > > > > amount="127.09" currencyUomId="USD"/> > > > > > + <AcctgTrans acctgTransId="9005" acctgTransTypeId="INCOMING_ > > > PAYMENT" > > > > > transactionDate="2009-08-17 14:57:05.182" isPosted="Y" > > > > > postedDate="2009-08-17 14:57:05.56" glFiscalTypeId="ACTUAL" > > > > > partyId="DemoCustomer" roleTypeId="BILL_TO_CUSTOMER" > > paymentId="8004"/> > > > > > + <AcctgTransEntry acctgTransId="9005" > > acctgTransEntrySeqId="00001" > > > > > acctgTransEntryTypeId="_NA_" glAccountId="122300" > > > > > organizationPartyId="Company" amount="127.09" currencyUomId="USD" > > > > > origAmount="127.09" origCurrencyUomId="USD" debitCreditFlag="D" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9005" > > acctgTransEntrySeqId="00002" > > > > > acctgTransEntryTypeId="_NA_" glAccountTypeId="ACCOUNTS_RECEIVABLE" > > > > > glAccountId="120000" organizationPartyId="Company" amount="127.09" > > > > > currencyUomId="USD" origAmount="127.09" origCurrencyUomId="USD" > > > > > debitCreditFlag="C" reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + > > > > > + <PaymentApplication paymentApplicationId="9003" > paymentId="8004" > > > > > invoiceId="8009" amountApplied="127.09"/> > > > > > + <AcctgTrans acctgTransId="9006" acctgTransTypeId="PAYMENT_ > APPL" > > > > > transactionDate="2009-08-17 14:57:05.741" isPosted="Y" > > > > > postedDate="2009-08-17 14:57:05.878" glFiscalTypeId="ACTUAL" > > > > > partyId="DemoCustomer" roleTypeId="BILL_TO_CUSTOMER" > invoiceId="8009" > > > > > paymentId="8004"/> > > > > > + <AcctgTransEntry acctgTransId="9006" > > acctgTransEntrySeqId="00001" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoCustomer" > > > > > roleTypeId="BILL_TO_CUSTOMER" glAccountTypeId="ACCOUNTS_ > RECEIVABLE" > > > > > glAccountId="120000" organizationPartyId="Company" amount="127.09" > > > > > currencyUomId="USD" origAmount="127.09" origCurrencyUomId="USD" > > > > > debitCreditFlag="D" reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9006" > > acctgTransEntrySeqId="00002" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoCustomer" > > > > > roleTypeId="BILL_TO_CUSTOMER" glAccountTypeId="ACCOUNTS_ > RECEIVABLE" > > > > > glAccountId="120000" organizationPartyId="Company" amount="127.09" > > > > > currencyUomId="USD" origAmount="127.09" origCurrencyUomId="USD" > > > > > debitCreditFlag="C" reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + > > > > > + <OrderAdjustmentBilling orderAdjustmentId="8000" > > invoiceId="8009" > > > > > invoiceItemSeqId="00007" amount="-12.00"/> > > > > > + <OrderAdjustmentBilling orderAdjustmentId="8001" > > invoiceId="8009" > > > > > invoiceItemSeqId="00006" amount="-59.99"/> > > > > > + <OrderAdjustmentBilling orderAdjustmentId="8002" > > invoiceId="8009" > > > > > invoiceItemSeqId="00008" amount="12.10"/> > > > > > + <OrderAdjustmentBilling orderAdjustmentId="8003" > > invoiceId="8009" > > > > > invoiceItemSeqId="00009" amount="-0.01"/> > > > > > + <OrderAdjustmentBilling orderAdjustmentId="8004" > > invoiceId="8009" > > > > > invoiceItemSeqId="00002" amount="0.12"/> > > > > > + <OrderAdjustmentBilling orderAdjustmentId="8005" > > invoiceId="8009" > > > > > invoiceItemSeqId="00003" amount="5.69"/> > > > > > + <OrderAdjustmentBilling orderAdjustmentId="8006" > > invoiceId="8009" > > > > > invoiceItemSeqId="00004" amount="1.20"/> > > > > > + <ShipmentItemBilling shipmentId="9996" > shipmentItemSeqId="00001" > > > > > invoiceId="8009" invoiceItemSeqId="00001"/> > > > > > + <OrderItemBilling orderId="Demo1002" orderItemSeqId="00001" > > > > > invoiceId="8009" invoiceItemSeqId="00001" itemIssuanceId="9001" > > > > > quantity="2.000000" amount="59.99"/> > > > > > + <OrderItemBilling orderId="Demo1002" orderItemSeqId="00004" > > > > > invoiceId="8009" invoiceItemSeqId="00005" itemIssuanceId="9002" > > > > > quantity="1.000000" amount="59.99"/> > > > > > + > > > > > + <Invoice invoiceId="8010" invoiceTypeId="SALES_INVOICE" > > > > > partyIdFrom="Company" partyId="DemoCustomer" > > > statusId="INVOICE_APPROVED" > > > > > invoiceDate="2009-09-17 14:57:03.614" currencyUomId="USD"/> > > > > > + <InvoiceItem invoiceId="8010" invoiceItemSeqId="00001" > > > > > invoiceItemTypeId="INV_FPROD_ITEM" inventoryItemId="9005" > > > > > productId="WG-1111" quantity="3.000000" amount="59.990" > > > > description="Micro > > > > > Chrome Widget"/> > > > > > + <AcctgTrans acctgTransId="9007" acctgTransTypeId="SALES_ > > INVOICE" > > > > > transactionDate="2009-09-17 14:57:06.129" isPosted="Y" > > > > > postedDate="2009-09-17 14:57:06.587" glFiscalTypeId="ACTUAL" > > > > > invoiceId="8010"/> > > > > > + <AcctgTransEntry acctgTransId="9007" > > acctgTransEntrySeqId="00001" > > > > > acctgTransEntryTypeId="_NA_" productId="WG-1111" > glAccountId="400000" > > > > > organizationPartyId="Company" amount="179.97" currencyUomId="USD" > > > > > origAmount="179.97" origCurrencyUomId="USD" debitCreditFlag="C" > > > > > reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + <AcctgTransEntry acctgTransId="9007" > > acctgTransEntrySeqId="00002" > > > > > acctgTransEntryTypeId="_NA_" partyId="DemoCustomer" > > > > > roleTypeId="BILL_TO_CUSTOMER" glAccountTypeId="ACCOUNTS_ > RECEIVABLE" > > > > > glAccountId="120000" organizationPartyId="Company" amount="179.97" > > > > > currencyUomId="USD" origAmount="179.97" origCurrencyUomId="USD" > > > > > debitCreditFlag="D" reconcileStatusId="AES_NOT_RECONCILED"/> > > > > > + > > > > > + <!-- The agreement AGR_SALES is a SALES_AGREEMENT between the > > > > Company > > > > > party and the DemoCustomer party (in the role of CUSTOMER) --> > > > > > + <!-- For a sales agreement the roleTypeIdFrom and roleTypeIdTo > > are > > > > > not mandatory see OrderAgreements.groovy[31] --> > > > > > + <!-- Here is now to create a SALES_AGREEMENT > > > > > + * create an agreement and set: > > > > > + ** agreement type: Sales > > > > > + ** party if from: the customer > > > > > + ** party id to: the Company > > > > > + * create an agreement item of type "Pricing" and set the > > currency > > > > > + ** go to the "product" tab > > > > > + ** enter the product id and price (they will override the > > > > > ProductPrice if the agreement is selected in the order) > > > > > + ** and (for a PO only) Supplier > > > > > + ** go to the terms: they will be copied to the order and > > > invoice > > > > > + --> > > > > > + <Agreement agreementId="AGR_SALES" partyIdFrom="DemoCustomer" > > > > > partyIdTo="Company" roleTypeIdFrom="CUSTOMER" > > roleTypeIdTo="INTERNAL_ > > > > ORGANIZATIO" > > > > > agreementTypeId="SALES_AGREEMENT" description="Agreement for > > > > > DemoCustomer"/> > > > > > + <AgreementItem agreementId="AGR_SALES" > > agreementItemSeqId="00001" > > > > > currencyUomId="USD" agreementItemTypeId="AGREEMENT_PRICING_PR" > > > > > agreementText="Price list in US Dollars"/> > > > > > + <AgreementTerm agreementId="AGR_SALES" > > agreementItemSeqId="00001" > > > > > agreementTermId="9000" description="Sales test agreement" > > termDays="30" > > > > > termTypeId="FIN_PAYMENT_FIXDAY"/> > > > > > + <!-- An AgreementProductAppls aris related to an > AgreementItem. > > > > > AgreementProductAppls are optional. If a product id and a price > are > > > > > specified the price will override the ProductPrice if the agreement > > is > > > > > selected in the order --> > > > > > + <AgreementProductAppl agreementId="AGR_SALES" > > > > > agreementItemSeqId="00001" price="10.000" productId="GZ-1000"/> > > > > > + > > > > > +</entity-engine-xml> > > > > > > > > > > Propchange: ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > > DemoOrderTestData.xml > > > > > ------------------------------------------------------------ > > > > > ------------------ > > > > > svn:eol-style = native > > > > > > > > > > Propchange: ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > > DemoOrderTestData.xml > > > > > ------------------------------------------------------------ > > > > > ------------------ > > > > > svn:keywords = Date Rev Author URL Id > > > > > > > > > > Propchange: ofbiz/ofbiz-framework/trunk/applications/order/data/ > > > > > DemoOrderTestData.xml > > > > > ------------------------------------------------------------ > > > > > ------------------ > > > > > svn:mime-type = text/xml > > > > > > > > > > > > > > > > > > > > > > > > >
