Quantcast

Re: svn commit: r1793170 - in /ofbiz/ofbiz-framework/trunk/applications: accounting/data/DemoPaymentsInvoices.xml party/data/PartyDemoData.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: svn commit: r1793170 - in /ofbiz/ofbiz-framework/trunk/applications: accounting/data/DemoPaymentsInvoices.xml party/data/PartyDemoData.xml

Jacques Le Roux
Administrator
Le 29/04/2017 à 09:07, [hidden email] a écrit :

> Author: taher
> Date: Sat Apr 29 07:07:29 2017
> New Revision: 1793170
>
> URL: http://svn.apache.org/viewvc?rev=1793170&view=rev
> Log:
> Fixed: Remove all dependencies from OFBiz framework to plugins
> (OFBIZ-9322)
>
> Further removed dependencies on demo data defined in ecommerce by modifying
> the following data items:
> - Move the DemoSupplier demo data from ecommerce to accounting
> - Move the PartyIdentificationType of "CARD_ID" from ecommerce to party
>
> This brings down total failing tests to only two
>
> Modified:
>      ofbiz/ofbiz-framework/trunk/applications/accounting/data/DemoPaymentsInvoices.xml
>      ofbiz/ofbiz-framework/trunk/applications/party/data/PartyDemoData.xml
>
> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/data/DemoPaymentsInvoices.xml
> URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/data/DemoPaymentsInvoices.xml?rev=1793170&r1=1793169&r2=1793170&view=diff
> ==============================================================================
> --- ofbiz/ofbiz-framework/trunk/applications/accounting/data/DemoPaymentsInvoices.xml (original)
> +++ ofbiz/ofbiz-framework/trunk/applications/accounting/data/DemoPaymentsInvoices.xml Sat Apr 29 07:07:29 2017
> @@ -74,13 +74,17 @@ under the License.
>      
>       <Invoice invoiceId="8001" invoiceTypeId="PURCHASE_INVOICE" partyIdFrom="AcctBigSupplier" partyId="Company" statusId="INVOICE_READY" currencyUomId="USD" invoiceDate="2009-07-06 16:48:40.952" paidDate="2009-07-06 16:52:52.901" dueDate="2009-08-05 16:48:40.952"/>
>       <InvoiceItem invoiceId="8001" invoiceItemSeqId="1" invoiceItemTypeId="PINV_SURCHARGE_ADJ" taxableFlag="Y" quantity="1.000000" amount="10.000"/>
> -
> -    <!--
> -         plugins components are loaded after applications components. DemoSupplier & AcctBigSupplier data exists in ecommerce component.
> -         So it creates foreign key violation as accounting component is loaded first and it tries to find 'DemoSupplier' and 'AcctBigSupplier' party.
> -         This change will help to load test data without producing any foreign key error.
> -     -->
> -    <Party partyId="DemoSupplier"/>
> +
> +    <Party partyId="DemoSupplier" partyTypeId="PARTY_GROUP"/>
> +    <PartyGroup partyId="DemoSupplier" groupName="Demo Supplier"/>
> +    <PartyRole partyId="DemoSupplier" roleTypeId="SUPPLIER"/>
> +    <ContactMech contactMechId="9001" contactMechTypeId="POSTAL_ADDRESS"/>
> +    <PartyContactMech partyId="DemoSupplier" contactMechId="9001" fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
> +    <PostalAddress contactMechId="9001" toName="Demo Supplier Company" address1="2004 Factory Blvd" city="City of Industry" postalCode="90000" countryGeoId="USA" stateProvinceGeoId="CA"/>
> +    <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001" contactMechPurposeTypeId="BILLING_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
> +    <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001" contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
> +    <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001" contactMechPurposeTypeId="PAYMENT_LOCATION" fromDate="2001-05-13 00:00:00.000"/>
> +    <UserLogin userLoginId="DemoSupplier" currentPassword="{SHA}47b56994cbc2b6d10aa1be30f70165adb305a41a" partyId="DemoSupplier"/>
>       <Party partyId="AcctBigSupplier"/>
>      
>       <!--demo data for testCancelCheckRunPayments-->
>
Taher, All,

Should this data not better in party component?

Jacques
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: svn commit: r1793170 - in /ofbiz/ofbiz-framework/trunk/applications: accounting/data/DemoPaymentsInvoices.xml party/data/PartyDemoData.xml

taher
Hi Jacques,

Again, feel free to change the data. My objective was simply to get tests
running successfully on framework-alone and I would actually appreciate
your help since you already did the viewing and testing?

On Tue, May 2, 2017 at 2:22 PM, Jacques Le Roux <
[hidden email]> wrote:

> Le 29/04/2017 à 09:07, [hidden email] a écrit :
>
>> Author: taher
>> Date: Sat Apr 29 07:07:29 2017
>> New Revision: 1793170
>>
>> URL: http://svn.apache.org/viewvc?rev=1793170&view=rev
>> Log:
>> Fixed: Remove all dependencies from OFBiz framework to plugins
>> (OFBIZ-9322)
>>
>> Further removed dependencies on demo data defined in ecommerce by
>> modifying
>> the following data items:
>> - Move the DemoSupplier demo data from ecommerce to accounting
>> - Move the PartyIdentificationType of "CARD_ID" from ecommerce to party
>>
>> This brings down total failing tests to only two
>>
>> Modified:
>>      ofbiz/ofbiz-framework/trunk/applications/accounting/data/De
>> moPaymentsInvoices.xml
>>      ofbiz/ofbiz-framework/trunk/applications/party/data/PartyDe
>> moData.xml
>>
>> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/data/Dem
>> oPaymentsInvoices.xml
>> URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/app
>> lications/accounting/data/DemoPaymentsInvoices.xml?rev=17931
>> 70&r1=1793169&r2=1793170&view=diff
>> ============================================================
>> ==================
>> --- ofbiz/ofbiz-framework/trunk/applications/accounting/data/DemoPaymentsInvoices.xml
>> (original)
>> +++ ofbiz/ofbiz-framework/trunk/applications/accounting/data/DemoPaymentsInvoices.xml
>> Sat Apr 29 07:07:29 2017
>> @@ -74,13 +74,17 @@ under the License.
>>             <Invoice invoiceId="8001" invoiceTypeId="PURCHASE_INVOICE"
>> partyIdFrom="AcctBigSupplier" partyId="Company" statusId="INVOICE_READY"
>> currencyUomId="USD" invoiceDate="2009-07-06 16:48:40.952"
>> paidDate="2009-07-06 16:52:52.901" dueDate="2009-08-05 16:48:40.952"/>
>>       <InvoiceItem invoiceId="8001" invoiceItemSeqId="1"
>> invoiceItemTypeId="PINV_SURCHARGE_ADJ" taxableFlag="Y"
>> quantity="1.000000" amount="10.000"/>
>> -
>> -    <!--
>> -         plugins components are loaded after applications components.
>> DemoSupplier & AcctBigSupplier data exists in ecommerce component.
>> -         So it creates foreign key violation as accounting component is
>> loaded first and it tries to find 'DemoSupplier' and 'AcctBigSupplier'
>> party.
>> -         This change will help to load test data without producing any
>> foreign key error.
>> -     -->
>> -    <Party partyId="DemoSupplier"/>
>> +
>> +    <Party partyId="DemoSupplier" partyTypeId="PARTY_GROUP"/>
>> +    <PartyGroup partyId="DemoSupplier" groupName="Demo Supplier"/>
>> +    <PartyRole partyId="DemoSupplier" roleTypeId="SUPPLIER"/>
>> +    <ContactMech contactMechId="9001" contactMechTypeId="POSTAL_ADDR
>> ESS"/>
>> +    <PartyContactMech partyId="DemoSupplier" contactMechId="9001"
>> fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
>> +    <PostalAddress contactMechId="9001" toName="Demo Supplier Company"
>> address1="2004 Factory Blvd" city="City of Industry" postalCode="90000"
>> countryGeoId="USA" stateProvinceGeoId="CA"/>
>> +    <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001"
>> contactMechPurposeTypeId="BILLING_LOCATION" fromDate="2001-05-13
>> 00:00:00.000"/>
>> +    <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001"
>> contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2001-05-13
>> 00:00:00.000"/>
>> +    <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001"
>> contactMechPurposeTypeId="PAYMENT_LOCATION" fromDate="2001-05-13
>> 00:00:00.000"/>
>> +    <UserLogin userLoginId="DemoSupplier" currentPassword="{SHA}47b56994
>> cbc2b6d10aa1be30f70165adb305a41a" partyId="DemoSupplier"/>
>>       <Party partyId="AcctBigSupplier"/>
>>             <!--demo data for testCancelCheckRunPayments-->
>>
>> Taher, All,
>
> Should this data not better in party component?
>
> Jacques
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: svn commit: r1793170 - in /ofbiz/ofbiz-framework/trunk/applications: accounting/data/DemoPaymentsInvoices.xml party/data/PartyDemoData.xml

Jacques Le Roux
Administrator
Done at r1794092

Jacques


Le 02/05/2017 à 13:28, Taher Alkhateeb a écrit :

> Hi Jacques,
>
> Again, feel free to change the data. My objective was simply to get tests
> running successfully on framework-alone and I would actually appreciate
> your help since you already did the viewing and testing?
>
> On Tue, May 2, 2017 at 2:22 PM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> Le 29/04/2017 à 09:07, [hidden email] a écrit :
>>
>>> Author: taher
>>> Date: Sat Apr 29 07:07:29 2017
>>> New Revision: 1793170
>>>
>>> URL: http://svn.apache.org/viewvc?rev=1793170&view=rev
>>> Log:
>>> Fixed: Remove all dependencies from OFBiz framework to plugins
>>> (OFBIZ-9322)
>>>
>>> Further removed dependencies on demo data defined in ecommerce by
>>> modifying
>>> the following data items:
>>> - Move the DemoSupplier demo data from ecommerce to accounting
>>> - Move the PartyIdentificationType of "CARD_ID" from ecommerce to party
>>>
>>> This brings down total failing tests to only two
>>>
>>> Modified:
>>>       ofbiz/ofbiz-framework/trunk/applications/accounting/data/De
>>> moPaymentsInvoices.xml
>>>       ofbiz/ofbiz-framework/trunk/applications/party/data/PartyDe
>>> moData.xml
>>>
>>> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/data/Dem
>>> oPaymentsInvoices.xml
>>> URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/app
>>> lications/accounting/data/DemoPaymentsInvoices.xml?rev=17931
>>> 70&r1=1793169&r2=1793170&view=diff
>>> ============================================================
>>> ==================
>>> --- ofbiz/ofbiz-framework/trunk/applications/accounting/data/DemoPaymentsInvoices.xml
>>> (original)
>>> +++ ofbiz/ofbiz-framework/trunk/applications/accounting/data/DemoPaymentsInvoices.xml
>>> Sat Apr 29 07:07:29 2017
>>> @@ -74,13 +74,17 @@ under the License.
>>>              <Invoice invoiceId="8001" invoiceTypeId="PURCHASE_INVOICE"
>>> partyIdFrom="AcctBigSupplier" partyId="Company" statusId="INVOICE_READY"
>>> currencyUomId="USD" invoiceDate="2009-07-06 16:48:40.952"
>>> paidDate="2009-07-06 16:52:52.901" dueDate="2009-08-05 16:48:40.952"/>
>>>        <InvoiceItem invoiceId="8001" invoiceItemSeqId="1"
>>> invoiceItemTypeId="PINV_SURCHARGE_ADJ" taxableFlag="Y"
>>> quantity="1.000000" amount="10.000"/>
>>> -
>>> -    <!--
>>> -         plugins components are loaded after applications components.
>>> DemoSupplier & AcctBigSupplier data exists in ecommerce component.
>>> -         So it creates foreign key violation as accounting component is
>>> loaded first and it tries to find 'DemoSupplier' and 'AcctBigSupplier'
>>> party.
>>> -         This change will help to load test data without producing any
>>> foreign key error.
>>> -     -->
>>> -    <Party partyId="DemoSupplier"/>
>>> +
>>> +    <Party partyId="DemoSupplier" partyTypeId="PARTY_GROUP"/>
>>> +    <PartyGroup partyId="DemoSupplier" groupName="Demo Supplier"/>
>>> +    <PartyRole partyId="DemoSupplier" roleTypeId="SUPPLIER"/>
>>> +    <ContactMech contactMechId="9001" contactMechTypeId="POSTAL_ADDR
>>> ESS"/>
>>> +    <PartyContactMech partyId="DemoSupplier" contactMechId="9001"
>>> fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
>>> +    <PostalAddress contactMechId="9001" toName="Demo Supplier Company"
>>> address1="2004 Factory Blvd" city="City of Industry" postalCode="90000"
>>> countryGeoId="USA" stateProvinceGeoId="CA"/>
>>> +    <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001"
>>> contactMechPurposeTypeId="BILLING_LOCATION" fromDate="2001-05-13
>>> 00:00:00.000"/>
>>> +    <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001"
>>> contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2001-05-13
>>> 00:00:00.000"/>
>>> +    <PartyContactMechPurpose partyId="DemoSupplier" contactMechId="9001"
>>> contactMechPurposeTypeId="PAYMENT_LOCATION" fromDate="2001-05-13
>>> 00:00:00.000"/>
>>> +    <UserLogin userLoginId="DemoSupplier" currentPassword="{SHA}47b56994
>>> cbc2b6d10aa1be30f70165adb305a41a" partyId="DemoSupplier"/>
>>>        <Party partyId="AcctBigSupplier"/>
>>>              <!--demo data for testCancelCheckRunPayments-->
>>>
>>> Taher, All,
>> Should this data not better in party component?
>>
>> Jacques
>>

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: svn commit: r1793170 - in /ofbiz/ofbiz-framework/trunk/applications: accounting/data/DemoPaymentsInvoices.xml party/data/PartyDemoData.xml

taher
I know I'm stating the obvious, but just to confirm tests are passing on
framework-alone right?

On Fri, May 5, 2017 at 9:30 PM, Jacques Le Roux <
[hidden email]> wrote:

> Done at r1794092
>
> Jacques
>
>
>
> Le 02/05/2017 à 13:28, Taher Alkhateeb a écrit :
>
>> Hi Jacques,
>>
>> Again, feel free to change the data. My objective was simply to get tests
>> running successfully on framework-alone and I would actually appreciate
>> your help since you already did the viewing and testing?
>>
>> On Tue, May 2, 2017 at 2:22 PM, Jacques Le Roux <
>> [hidden email]> wrote:
>>
>> Le 29/04/2017 à 09:07, [hidden email] a écrit :
>>>
>>> Author: taher
>>>> Date: Sat Apr 29 07:07:29 2017
>>>> New Revision: 1793170
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=1793170&view=rev
>>>> Log:
>>>> Fixed: Remove all dependencies from OFBiz framework to plugins
>>>> (OFBIZ-9322)
>>>>
>>>> Further removed dependencies on demo data defined in ecommerce by
>>>> modifying
>>>> the following data items:
>>>> - Move the DemoSupplier demo data from ecommerce to accounting
>>>> - Move the PartyIdentificationType of "CARD_ID" from ecommerce to party
>>>>
>>>> This brings down total failing tests to only two
>>>>
>>>> Modified:
>>>>       ofbiz/ofbiz-framework/trunk/applications/accounting/data/De
>>>> moPaymentsInvoices.xml
>>>>       ofbiz/ofbiz-framework/trunk/applications/party/data/PartyDe
>>>> moData.xml
>>>>
>>>> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/data/Dem
>>>> oPaymentsInvoices.xml
>>>> URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/app
>>>> lications/accounting/data/DemoPaymentsInvoices.xml?rev=17931
>>>> 70&r1=1793169&r2=1793170&view=diff
>>>> ============================================================
>>>> ==================
>>>> --- ofbiz/ofbiz-framework/trunk/applications/accounting/data/Dem
>>>> oPaymentsInvoices.xml
>>>> (original)
>>>> +++ ofbiz/ofbiz-framework/trunk/applications/accounting/data/Dem
>>>> oPaymentsInvoices.xml
>>>> Sat Apr 29 07:07:29 2017
>>>> @@ -74,13 +74,17 @@ under the License.
>>>>              <Invoice invoiceId="8001" invoiceTypeId="PURCHASE_INVOICE"
>>>> partyIdFrom="AcctBigSupplier" partyId="Company" statusId="INVOICE_READY"
>>>> currencyUomId="USD" invoiceDate="2009-07-06 16:48:40.952"
>>>> paidDate="2009-07-06 16:52:52.901" dueDate="2009-08-05 16:48:40.952"/>
>>>>        <InvoiceItem invoiceId="8001" invoiceItemSeqId="1"
>>>> invoiceItemTypeId="PINV_SURCHARGE_ADJ" taxableFlag="Y"
>>>> quantity="1.000000" amount="10.000"/>
>>>> -
>>>> -    <!--
>>>> -         plugins components are loaded after applications components.
>>>> DemoSupplier & AcctBigSupplier data exists in ecommerce component.
>>>> -         So it creates foreign key violation as accounting component is
>>>> loaded first and it tries to find 'DemoSupplier' and 'AcctBigSupplier'
>>>> party.
>>>> -         This change will help to load test data without producing any
>>>> foreign key error.
>>>> -     -->
>>>> -    <Party partyId="DemoSupplier"/>
>>>> +
>>>> +    <Party partyId="DemoSupplier" partyTypeId="PARTY_GROUP"/>
>>>> +    <PartyGroup partyId="DemoSupplier" groupName="Demo Supplier"/>
>>>> +    <PartyRole partyId="DemoSupplier" roleTypeId="SUPPLIER"/>
>>>> +    <ContactMech contactMechId="9001" contactMechTypeId="POSTAL_ADDR
>>>> ESS"/>
>>>> +    <PartyContactMech partyId="DemoSupplier" contactMechId="9001"
>>>> fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
>>>> +    <PostalAddress contactMechId="9001" toName="Demo Supplier Company"
>>>> address1="2004 Factory Blvd" city="City of Industry" postalCode="90000"
>>>> countryGeoId="USA" stateProvinceGeoId="CA"/>
>>>> +    <PartyContactMechPurpose partyId="DemoSupplier"
>>>> contactMechId="9001"
>>>> contactMechPurposeTypeId="BILLING_LOCATION" fromDate="2001-05-13
>>>> 00:00:00.000"/>
>>>> +    <PartyContactMechPurpose partyId="DemoSupplier"
>>>> contactMechId="9001"
>>>> contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2001-05-13
>>>> 00:00:00.000"/>
>>>> +    <PartyContactMechPurpose partyId="DemoSupplier"
>>>> contactMechId="9001"
>>>> contactMechPurposeTypeId="PAYMENT_LOCATION" fromDate="2001-05-13
>>>> 00:00:00.000"/>
>>>> +    <UserLogin userLoginId="DemoSupplier"
>>>> currentPassword="{SHA}47b56994
>>>> cbc2b6d10aa1be30f70165adb305a41a" partyId="DemoSupplier"/>
>>>>        <Party partyId="AcctBigSupplier"/>
>>>>              <!--demo data for testCancelCheckRunPayments-->
>>>>
>>>> Taher, All,
>>>>
>>> Should this data not better in party component?
>>>
>>> Jacques
>>>
>>>
>
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: svn commit: r1793170 - in /ofbiz/ofbiz-framework/trunk/applications: accounting/data/DemoPaymentsInvoices.xml party/data/PartyDemoData.xml

Jacques Le Roux
Administrator
Yep, as mentioned in the commit

Jacques


Le 06/05/2017 à 03:30, Taher Alkhateeb a écrit :

> I know I'm stating the obvious, but just to confirm tests are passing on
> framework-alone right?
>
> On Fri, May 5, 2017 at 9:30 PM, Jacques Le Roux <
> [hidden email]> wrote:
>
>> Done at r1794092
>>
>> Jacques
>>
>>
>>
>> Le 02/05/2017 à 13:28, Taher Alkhateeb a écrit :
>>
>>> Hi Jacques,
>>>
>>> Again, feel free to change the data. My objective was simply to get tests
>>> running successfully on framework-alone and I would actually appreciate
>>> your help since you already did the viewing and testing?
>>>
>>> On Tue, May 2, 2017 at 2:22 PM, Jacques Le Roux <
>>> [hidden email]> wrote:
>>>
>>> Le 29/04/2017 à 09:07, [hidden email] a écrit :
>>>> Author: taher
>>>>> Date: Sat Apr 29 07:07:29 2017
>>>>> New Revision: 1793170
>>>>>
>>>>> URL: http://svn.apache.org/viewvc?rev=1793170&view=rev
>>>>> Log:
>>>>> Fixed: Remove all dependencies from OFBiz framework to plugins
>>>>> (OFBIZ-9322)
>>>>>
>>>>> Further removed dependencies on demo data defined in ecommerce by
>>>>> modifying
>>>>> the following data items:
>>>>> - Move the DemoSupplier demo data from ecommerce to accounting
>>>>> - Move the PartyIdentificationType of "CARD_ID" from ecommerce to party
>>>>>
>>>>> This brings down total failing tests to only two
>>>>>
>>>>> Modified:
>>>>>        ofbiz/ofbiz-framework/trunk/applications/accounting/data/De
>>>>> moPaymentsInvoices.xml
>>>>>        ofbiz/ofbiz-framework/trunk/applications/party/data/PartyDe
>>>>> moData.xml
>>>>>
>>>>> Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/data/Dem
>>>>> oPaymentsInvoices.xml
>>>>> URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/app
>>>>> lications/accounting/data/DemoPaymentsInvoices.xml?rev=17931
>>>>> 70&r1=1793169&r2=1793170&view=diff
>>>>> ============================================================
>>>>> ==================
>>>>> --- ofbiz/ofbiz-framework/trunk/applications/accounting/data/Dem
>>>>> oPaymentsInvoices.xml
>>>>> (original)
>>>>> +++ ofbiz/ofbiz-framework/trunk/applications/accounting/data/Dem
>>>>> oPaymentsInvoices.xml
>>>>> Sat Apr 29 07:07:29 2017
>>>>> @@ -74,13 +74,17 @@ under the License.
>>>>>               <Invoice invoiceId="8001" invoiceTypeId="PURCHASE_INVOICE"
>>>>> partyIdFrom="AcctBigSupplier" partyId="Company" statusId="INVOICE_READY"
>>>>> currencyUomId="USD" invoiceDate="2009-07-06 16:48:40.952"
>>>>> paidDate="2009-07-06 16:52:52.901" dueDate="2009-08-05 16:48:40.952"/>
>>>>>         <InvoiceItem invoiceId="8001" invoiceItemSeqId="1"
>>>>> invoiceItemTypeId="PINV_SURCHARGE_ADJ" taxableFlag="Y"
>>>>> quantity="1.000000" amount="10.000"/>
>>>>> -
>>>>> -    <!--
>>>>> -         plugins components are loaded after applications components.
>>>>> DemoSupplier & AcctBigSupplier data exists in ecommerce component.
>>>>> -         So it creates foreign key violation as accounting component is
>>>>> loaded first and it tries to find 'DemoSupplier' and 'AcctBigSupplier'
>>>>> party.
>>>>> -         This change will help to load test data without producing any
>>>>> foreign key error.
>>>>> -     -->
>>>>> -    <Party partyId="DemoSupplier"/>
>>>>> +
>>>>> +    <Party partyId="DemoSupplier" partyTypeId="PARTY_GROUP"/>
>>>>> +    <PartyGroup partyId="DemoSupplier" groupName="Demo Supplier"/>
>>>>> +    <PartyRole partyId="DemoSupplier" roleTypeId="SUPPLIER"/>
>>>>> +    <ContactMech contactMechId="9001" contactMechTypeId="POSTAL_ADDR
>>>>> ESS"/>
>>>>> +    <PartyContactMech partyId="DemoSupplier" contactMechId="9001"
>>>>> fromDate="2001-05-13 00:00:00.000" allowSolicitation="Y"/>
>>>>> +    <PostalAddress contactMechId="9001" toName="Demo Supplier Company"
>>>>> address1="2004 Factory Blvd" city="City of Industry" postalCode="90000"
>>>>> countryGeoId="USA" stateProvinceGeoId="CA"/>
>>>>> +    <PartyContactMechPurpose partyId="DemoSupplier"
>>>>> contactMechId="9001"
>>>>> contactMechPurposeTypeId="BILLING_LOCATION" fromDate="2001-05-13
>>>>> 00:00:00.000"/>
>>>>> +    <PartyContactMechPurpose partyId="DemoSupplier"
>>>>> contactMechId="9001"
>>>>> contactMechPurposeTypeId="GENERAL_LOCATION" fromDate="2001-05-13
>>>>> 00:00:00.000"/>
>>>>> +    <PartyContactMechPurpose partyId="DemoSupplier"
>>>>> contactMechId="9001"
>>>>> contactMechPurposeTypeId="PAYMENT_LOCATION" fromDate="2001-05-13
>>>>> 00:00:00.000"/>
>>>>> +    <UserLogin userLoginId="DemoSupplier"
>>>>> currentPassword="{SHA}47b56994
>>>>> cbc2b6d10aa1be30f70165adb305a41a" partyId="DemoSupplier"/>
>>>>>         <Party partyId="AcctBigSupplier"/>
>>>>>               <!--demo data for testCancelCheckRunPayments-->
>>>>>
>>>>> Taher, All,
>>>>>
>>>> Should this data not better in party component?
>>>>
>>>> Jacques
>>>>
>>>>

Loading...