Le 30/07/2014 09:04, Adrian Crum a écrit :
"Client" is misspelled in the new label.

Thanks, fixed at r1614608

Why can't we use "Party Tax ID"?

Because there are at least 2 possible kinds, 1 for the vendor and one for the client. India for instance has currently even more types of tax ids, this should simplify soon I heard.
I wanted to make as less as possible changes. But finally to clarify I have 
added the word vendor to the English label of PartyTaxId to clarify
That's what I did also in my custom app (which is actually not - only - for 
France)

Jacques

Adrian Crum
Sandglass Software
www.sandglass-software.com

On 7/30/2014 7:18 AM, [email protected] wrote:
Author: jleroux
Date: Wed Jul 30 06:18:42 2014
New Revision: 1614555

URL: http://svn.apache.org/r1614555
Log:
Introduces few VAT data, to be used later (coming)
Introduces PartyClientTaxId which is mandatory in some country (France for instance: http://vosdroits.service-public.fr/professionnels-entreprises/F31808.xhtml)

Modified:
     ofbiz/trunk/applications/party/config/PartyUiLabels.xml
ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderPeopleData.xml
     ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml

Modified: ofbiz/trunk/applications/party/config/PartyUiLabels.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/party/config/PartyUiLabels.xml?rev=1614555&r1=1614554&r2=1614555&view=diff
==============================================================================
--- ofbiz/trunk/applications/party/config/PartyUiLabels.xml (original)
+++ ofbiz/trunk/applications/party/config/PartyUiLabels.xml Wed Jul 30 06:18:42 
2014
@@ -11839,7 +11839,7 @@
          <value xml:lang="de">Steuer ID</value>
          <value xml:lang="en">Tax ID</value>
          <value xml:lang="es">Código de Impuesto</value>
-        <value xml:lang="fr">N° de TVA intracommunautaire</value>
+        <value xml:lang="fr">N° de TVA du vend.</value>
          <value xml:lang="hi_IN">कर(tax) क्रमांक</value>
          <value xml:lang="it">ID Tasse</value>
          <value xml:lang="ja">税務ID</value>
@@ -11852,6 +11852,10 @@
          <value xml:lang="zh">ç¨ŽåŠ¡æ ‡è¯†</value>
          <value xml:lang="zh_TW">稅務ID</value>
      </property>
+    <property key="PartyClientTaxId">
+        <value xml:lang="en">Cient Tax ID</value>
+        <value xml:lang="fr">N° de TVA du client</value>
+    </property>
      <property key="PartyTaxIdentification">
          <value xml:lang="de">Steuernummer und Befreiung</value>
          <value xml:lang="en">Tax Identification and Exemption</value>

Modified: ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderPeopleData.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderPeopleData.xml?rev=1614555&r1=1614554&r2=1614555&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderPeopleData.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/data/DemoOrderPeopleData.xml Wed Jul 
30 06:18:42 2014
@@ -198,4 +198,8 @@ under the License.
      <PaymentMethod paymentMethodId="FRENCHCUSTOMER" paymentMethodTypeId="CREDIT_CARD" 
partyId="FrenchCustomer" fromDate="2009-01-09 00:00:00.000"/>
      <CreditCard paymentMethodId="FRENCHCUSTOMER" cardType="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>

Modified: ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml?rev=1614555&r1=1614554&r2=1614555&view=diff
==============================================================================
--- ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml (original)
+++ ofbiz/trunk/specialpurpose/ecommerce/data/DemoProduct.xml Wed Jul 30 
06:18:42 2014
@@ -581,6 +581,7 @@ under the License.

<ProductPrice productId="GZ-1000" productPricePurposeId="PURCHASE" productPriceTypeId="DEFAULT_PRICE" currencyUomId="USD" productStoreGroupId="_NA_" fromDate="2001-05-13 12:00:00.0" price="15.99" createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin" lastModifiedDate="2001-05-13 12:00:00.0" lastModifiedByUserLogin="admin"/> <ProductPrice productId="GZ-1000" productPricePurposeId="PURCHASE" productPriceTypeId="LIST_PRICE" currencyUomId="USD" productStoreGroupId="_NA_" fromDate="2001-05-13 12:00:00.0" price="15.0" createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin" lastModifiedDate="2001-05-13 12:00:00.0" lastModifiedByUserLogin="admin"/> + <ProductPrice productId="GZ-1000" productPricePurposeId="PURCHASE" productPriceTypeId="DEFAULT_PRICE" currencyUomId="EUR" productStoreGroupId="_NA_" fromDate="2014-01-01 00:00:00.0" price="10.000" priceWithTax="10.000" priceWithoutTax="8.333" taxAmount="1.667" taxAuthGeoId="FRA" taxAuthPartyId="FRA_TA" taxInPrice="Y" taxPercentage="20.000000"/> <ProductPrice productId="GZ-1001" productPricePurposeId="PURCHASE" productPriceTypeId="DEFAULT_PRICE" currencyUomId="USD" productStoreGroupId="_NA_" fromDate="2001-05-13 12:00:00.0" price="25.99" createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin" lastModifiedDate="2001-05-13 12:00:00.0" lastModifiedByUserLogin="admin"/> <ProductPrice productId="GZ-1001" productPricePurposeId="PURCHASE" productPriceTypeId="LIST_PRICE" currencyUomId="USD" productStoreGroupId="_NA_" fromDate="2001-05-13 12:00:00.0" price="25.99" createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin" lastModifiedDate="2001-05-13 12:00:00.0" lastModifiedByUserLogin="admin"/> <ProductPrice productId="GZ-1004" productPricePurposeId="PURCHASE" productPriceTypeId="AVERAGE_COST" currencyUomId="USD" productStoreGroupId="_NA_" fromDate="2001-05-13 12:00:00.0" price="29.99" createdDate="2001-05-13 12:00:00.0" createdByUserLogin="admin" lastModifiedDate="2001-05-13 12:00:00.0" lastModifiedByUserLogin="admin"/>



Reply via email to