It's much messier than this Michael, there are two tests that are failing because of these default values. The proper solution I can think of for now is moving all these screens to the order component with all their dependencies. However this would trigger a whole new set of challenges in fixing all references to these files everywhere. There is also some Demo data that needs to be redefined. Maybe another solution is to simply delete the two failing tests.
What a painful mess! I need to think about it some more. A fresh pair of eyes would be great also. On Apr 28, 2017 8:04 PM, "Michael Brohl" <[email protected]> wrote: > Hi Taher, > > I haven't had a look at the code, normally these screens are configured in > the PRODUCT_STORE_EMAIL_SETTING table. > > I'd suggest to make it configurable through properties or even delete the > default. If there are no settings, the corresponding email will simply not > be sended. > > What do you think? > > Regards, > > Michael > > > Am 28.04.17 um 18:52 schrieb Taher Alkhateeb: > >> After hours of debugging, I discovered the below nasty bit of code inside >> org.apache.ofbiz.product.store.ProductStoreWorker! Essentially, there are >> hard-coded dependencies from the product component to ecommerce! OUCH >> >> static { >> defaultProductStoreEmailScreenLocation.put("PRDS_ODR_CONFIRM", >> "component://ecommerce/widget/EmailOrderScreens.xml#OrderConfirmNotice"); >> defaultProductStoreEmailScreenLocation.put("PRDS_ODR_COMPLETE", >> "component://ecommerce/widget/EmailOrderScreens.xml#OrderCom >> pleteNotice"); >> defaultProductStoreEmailScreenLocation.put("PRDS_ODR_BACKORDER", >> "component://ecommerce/widget/EmailOrderScreens.xml#BackorderNotice"); >> defaultProductStoreEmailScreenLocation.put("PRDS_ODR_CHANGE", >> "component://ecommerce/widget/EmailOrderScreens.xml#OrderChangeNotice"); >> >> defaultProductStoreEmailScreenLocation.put("PRDS_ODR_PAYRETRY", >> "component://ecommerce/widget/EmailOrderScreens.xml#PaymentRetryNotice"); >> >> defaultProductStoreEmailScreenLocation.put("PRDS_RTN_ACCEPT", >> "component://ecommerce/widget/EmailReturnScreens.xml#ReturnAccept"); >> defaultProductStoreEmailScreenLocation.put("PRDS_RTN_COMPLETE", >> "component://ecommerce/widget/EmailReturnScreens.xml#ReturnComplete"); >> defaultProductStoreEmailScreenLocation.put("PRDS_RTN_CANCEL", >> "component://ecommerce/widget/EmailReturnScreens.xml#ReturnCancel"); >> >> defaultProductStoreEmailScreenLocation.put("PRDS_GC_PURCHASE", >> "component://ecommerce/widget/EmailGiftCardScreens.xml#GiftC >> ardPurchase"); >> defaultProductStoreEmailScreenLocation.put("PRDS_GC_RELOAD", >> "component://ecommerce/widget/EmailGiftCardScreens.xml#GiftCardReload"); >> >> defaultProductStoreEmailScreenLocation.put("PRDS_QUO_CONFIRM", >> "component://order/widget/ordermgr/QuoteScreens.xml#ViewQuoteSimple"); >> >> defaultProductStoreEmailScreenLocation.put("PRDS_PWD_RETRIEVE", >> "component://securityext/widget/EmailSecurityScreens.xml#PasswordEmail"); >> >> defaultProductStoreEmailScreenLocation.put("PRDS_TELL_FRIEND", >> "component://ecommerce/widget/EmailProductScreens.xml#TellFriend"); >> >> defaultProductStoreEmailScreenLocation.put("PRDS_CUST_REGISTER", >> "component://securityext/widget/EmailSecurityScreens.xml#PasswordEmail"); >> } >> >> On Fri, Apr 28, 2017 at 7:46 AM, Taher Alkhateeb < >> [email protected] >> >>> wrote: >>> Hi Scott, sure I will attempt to explain this as much as I can >>> >>> So my objective here is to accomplish two things: >>> - run all tests successfully on framework alone >>> - run all tests successfully on framework + plugins >>> >>> Now in the latter case the tests more or less always pass, however in the >>> framework-alone case, I must've ran over 30 tests while slowly moving >>> data, >>> and each time I get surprised by some entanglements. I move a file from >>> "ecommerce" to "party" for example and it fails to load because it >>> depends >>> on some data in "Order". Also many of the tests data (stuff that gets >>> define in testdef) depend on data in such a way that you have to place >>> the >>> data in a different component in the loading sequence. Sometimes this >>> sequence entanglement is 3-4 levels deep. >>> >>> I went down from hundreds of failing tests to 7 (one fixed locally). >>> However the 7 that remain are still painful as some of the tests not only >>> depend on data in ecommerce (and another plugin) but they actually also >>> depend on widgets (email sending stuff) from ecommerce. And in return >>> these >>> widgets further depend on scripts and other files in ecommerce. When I >>> realized all of this I felt like I want to smash the screen :D >>> >>> I cannot say that I am happy with the quality of data loading, but my >>> objective right now is not to cleanup the data (we should absolutely >>> tackle >>> this at some point soon), rather my main objective now is to get zero >>> failing tests on framework-alone so that we can finally have two >>> independent separate builds and fix buildbot accordingly. >>> >>> I hope this answers your question? And thank you for your words, I agree >>> it's long overdue. >>> >>> Cheers, >>> >>> Taher Alkhateeb >>> >>> On Apr 28, 2017 12:19 AM, "Scott Gray" <[email protected]> >>> wrote: >>> >>> 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_P >>>>>>>> >>>>>>> ROD_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/ap >>>>>>>> >>>>>>> plications/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="SHIP >>>>>>>> >>>>>>> PING_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="SHIP >>>>>>>> >>>>>>> PING_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" >>>>>>>> >>>>>>> ...
