Fixed issue 17948.Properly configure payment terms provided in F&B.
authorGorka Ion Damián <gorkaion.damian@openbravo.com>
Tue, 30 Aug 2011 12:29:57 +0200
changeset 13621 a94dffaa83dd
parent 13620 ab1bb30e3d60
child 13622 395ce0ebf3e4
Fixed issue 17948.Properly configure payment terms provided in F&B.
referencedata/sampledata/F_B_International_Group.xml
--- a/referencedata/sampledata/F_B_International_Group.xml	Tue Aug 30 12:27:52 2011 +0200
+++ b/referencedata/sampledata/F_B_International_Group.xml	Tue Aug 30 12:29:57 2011 +0200
@@ -1,5 +1,4 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<ob:Openbravo xmlns:ob="http://www.openbravo.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
+<?xml version="1.0" encoding="UTF-8"?><ob:Openbravo xmlns:ob="http://www.openbravo.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <FinancialMgmtMatchingAlgorithm id="F6B492F80B6C4733AA653D8B45679B6C">
     <id>F6B492F80B6C4733AA653D8B45679B6C</id>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
@@ -8156,7 +8155,7 @@
     <widgetClass id="50F3F7AED43A4B31AF176F1AF0714284"/>
     <copiedFrom id="FF8080812C402030012C40246CA40009"/>
     <columnPosition>0</columnPosition>
-    <sequenceInColumn>1</sequenceInColumn>
+    <sequenceInColumn>0</sequenceInColumn>
     <visibleAtRole id="FF8080812AFBCB14012AFBD3E4340031"/>
     <visibleAtUser id="100"/>
     <relativePriority>0</relativePriority>
@@ -8845,7 +8844,7 @@
     <widgetClass id="0B90015CD9C84792A98F1E9357C262E2"/>
     <copiedFrom xsi:nil="true"/>
     <columnPosition>0</columnPosition>
-    <sequenceInColumn>2</sequenceInColumn>
+    <sequenceInColumn>1</sequenceInColumn>
     <visibleAtRole id="FF8080812AFBCB14012AFBD3E4340031"/>
     <visibleAtUser id="100"/>
     <relativePriority>6</relativePriority>
@@ -10279,7 +10278,7 @@
     <description xsi:nil="true"/>
     <comments xsi:nil="true"/>
     <fixedDueDate>false</fixedDueDate>
-    <overduePaymentDaysRule>0</overduePaymentDaysRule>
+    <overduePaymentDaysRule>60</overduePaymentDaysRule>
     <maturityDate1 xsi:nil="true"/>
     <offsetMonthDue>0</offsetMonthDue>
     <nextBusinessDay>false</nextBusinessDay>
@@ -10299,7 +10298,7 @@
     <description xsi:nil="true"/>
     <comments xsi:nil="true"/>
     <fixedDueDate>false</fixedDueDate>
-    <overduePaymentDaysRule>0</overduePaymentDaysRule>
+    <overduePaymentDaysRule>60</overduePaymentDaysRule>
     <maturityDate1 xsi:nil="true"/>
     <offsetMonthDue>0</offsetMonthDue>
     <nextBusinessDay>false</nextBusinessDay>
@@ -10339,7 +10338,7 @@
     <description xsi:nil="true"/>
     <comments xsi:nil="true"/>
     <fixedDueDate>false</fixedDueDate>
-    <overduePaymentDaysRule>0</overduePaymentDaysRule>
+    <overduePaymentDaysRule>30</overduePaymentDaysRule>
     <maturityDate1 xsi:nil="true"/>
     <offsetMonthDue>0</offsetMonthDue>
     <nextBusinessDay>false</nextBusinessDay>
@@ -328122,7 +328121,7 @@
     <paymentTerms id="6D3B4000BE1E4E7EACFA36D97F6E35D5"/>
     <lineNo>20</lineNo>
     <percentageDue>40</percentageDue>
-    <rest>true</rest>
+    <rest>false</rest>
     <excludeTax>false</excludeTax>
     <formOfPayment xsi:nil="true"/>
     <fixedDueDate>false</fixedDueDate>
@@ -328144,7 +328143,7 @@
     <paymentTerms id="65E174ADC0A147A8B4008F47B24A2333"/>
     <lineNo>10</lineNo>
     <percentageDue>50</percentageDue>
-    <rest>true</rest>
+    <rest>false</rest>
     <excludeTax>false</excludeTax>
     <formOfPayment xsi:nil="true"/>
     <fixedDueDate>false</fixedDueDate>
@@ -328166,7 +328165,7 @@
     <paymentTerms id="E9849FDC670B41E4B5D4B5001CEF45D0"/>
     <lineNo>10</lineNo>
     <percentageDue>20</percentageDue>
-    <rest>true</rest>
+    <rest>false</rest>
     <excludeTax>false</excludeTax>
     <formOfPayment xsi:nil="true"/>
     <fixedDueDate>false</fixedDueDate>
@@ -328180,28 +328179,6 @@
     <overduePaymentDayRule xsi:nil="true"/>
     <paymentMethod xsi:nil="true"/>
   </FinancialMgmtPaymentTermLine>
-  <FinancialMgmtPaymentTermLine id="BFC68F6A715443CCA080A30028B9C7F6">
-    <id>BFC68F6A715443CCA080A30028B9C7F6</id>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <paymentTerms id="65E174ADC0A147A8B4008F47B24A2333"/>
-    <lineNo>20</lineNo>
-    <percentageDue>50</percentageDue>
-    <rest>true</rest>
-    <excludeTax>false</excludeTax>
-    <formOfPayment xsi:nil="true"/>
-    <fixedDueDate>false</fixedDueDate>
-    <overduePaymentDaysRule>60</overduePaymentDaysRule>
-    <lastDayCutoff xsi:nil="true"/>
-    <maturityDate1 xsi:nil="true"/>
-    <maturityDate2 xsi:nil="true"/>
-    <maturityDate3 xsi:nil="true"/>
-    <offsetMonthDue xsi:nil="true"/>
-    <nextBusinessDay>true</nextBusinessDay>
-    <overduePaymentDayRule xsi:nil="true"/>
-    <paymentMethod xsi:nil="true"/>
-  </FinancialMgmtPaymentTermLine>
   <FinancialMgmtPaymentTermLine id="C27D54C814F241F191F24FFFB49DD21D">
     <id>C27D54C814F241F191F24FFFB49DD21D</id>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
@@ -328210,7 +328187,7 @@
     <paymentTerms id="6D3B4000BE1E4E7EACFA36D97F6E35D5"/>
     <lineNo>10</lineNo>
     <percentageDue>20</percentageDue>
-    <rest>true</rest>
+    <rest>false</rest>
     <excludeTax>false</excludeTax>
     <formOfPayment xsi:nil="true"/>
     <fixedDueDate>false</fixedDueDate>
@@ -328224,50 +328201,6 @@
     <overduePaymentDayRule xsi:nil="true"/>
     <paymentMethod xsi:nil="true"/>
   </FinancialMgmtPaymentTermLine>
-  <FinancialMgmtPaymentTermLine id="CF715EA17F344E3B80A67404264353C4">
-    <id>CF715EA17F344E3B80A67404264353C4</id>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <paymentTerms id="6D3B4000BE1E4E7EACFA36D97F6E35D5"/>
-    <lineNo>30</lineNo>
-    <percentageDue>40</percentageDue>
-    <rest>true</rest>
-    <excludeTax>false</excludeTax>
-    <formOfPayment xsi:nil="true"/>
-    <fixedDueDate>false</fixedDueDate>
-    <overduePaymentDaysRule>60</overduePaymentDaysRule>
-    <lastDayCutoff xsi:nil="true"/>
-    <maturityDate1 xsi:nil="true"/>
-    <maturityDate2 xsi:nil="true"/>
-    <maturityDate3 xsi:nil="true"/>
-    <offsetMonthDue xsi:nil="true"/>
-    <nextBusinessDay>true</nextBusinessDay>
-    <overduePaymentDayRule xsi:nil="true"/>
-    <paymentMethod xsi:nil="true"/>
-  </FinancialMgmtPaymentTermLine>
-  <FinancialMgmtPaymentTermLine id="EB75D7376CD5467E9AEC5C99E48920DF">
-    <id>EB75D7376CD5467E9AEC5C99E48920DF</id>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <paymentTerms id="E9849FDC670B41E4B5D4B5001CEF45D0"/>
-    <lineNo>20</lineNo>
-    <percentageDue>80</percentageDue>
-    <rest>true</rest>
-    <excludeTax>false</excludeTax>
-    <formOfPayment xsi:nil="true"/>
-    <fixedDueDate>false</fixedDueDate>
-    <overduePaymentDaysRule>30</overduePaymentDaysRule>
-    <lastDayCutoff xsi:nil="true"/>
-    <maturityDate1 xsi:nil="true"/>
-    <maturityDate2 xsi:nil="true"/>
-    <maturityDate3 xsi:nil="true"/>
-    <offsetMonthDue xsi:nil="true"/>
-    <nextBusinessDay>true</nextBusinessDay>
-    <overduePaymentDayRule xsi:nil="true"/>
-    <paymentMethod xsi:nil="true"/>
-  </FinancialMgmtPaymentTermLine>
   <FinancialMgmtAmortization id="00010CA70FF0430399B6962C5B058A87">
     <id>00010CA70FF0430399B6962C5B058A87</id>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
@@ -374020,8 +373953,8 @@
     <processed>false</processed>
     <posted>N</posted>
     <printdetailed>false</printdetailed>
+    <printsummary>false</printsummary>
     <aPRMProcessReconciliation>P</aPRMProcessReconciliation>
-    <printsummary>false</printsummary>
   </FIN_Reconciliation>
   <FIN_Reconciliation id="8A64B71A2C360F9C012C36CA635A001C">
     <id>8A64B71A2C360F9C012C36CA635A001C</id>
@@ -374040,8 +373973,8 @@
     <processed>false</processed>
     <posted>N</posted>
     <printdetailed>false</printdetailed>
+    <printsummary>false</printsummary>
     <aPRMProcessReconciliation>P</aPRMProcessReconciliation>
-    <printsummary>false</printsummary>
   </FIN_Reconciliation>
   <FinancialMgmtPaymentRunPayment id="8A64B71A2C351129012C35C40271001B">
     <id>8A64B71A2C351129012C35C40271001B</id>