details: https://code.openbravo.com/erp/devel/pi/rev/0e5a0a310e6e changeset: 18445:0e5a0a310e6e user: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com> date: Mon Nov 05 13:11:21 2012 +0100 summary: Fixes issue 22124: Deferred functionality should be just available when product is selected
details: https://code.openbravo.com/erp/devel/pi/rev/0fea55f4bab1 changeset: 18446:0fea55f4bab1 user: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com> date: Mon Nov 05 13:16:10 2012 +0100 summary: Related to Issue 22124: Fixes demo data. details: https://code.openbravo.com/erp/devel/pi/rev/02f1129b497f changeset: 18447:02f1129b497f user: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com> date: Mon Nov 05 13:17:31 2012 +0100 summary: Related to issue 22124. Fixes C_INVOICE_CREATE. details: https://code.openbravo.com/erp/devel/pi/rev/06923e2b9a96 changeset: 18448:06923e2b9a96 user: Eduardo Argal Guibert <eduardo.argal <at> openbravo.com> date: Mon Nov 05 13:36:04 2012 +0100 summary: Related to issue 22124.Missing files in previous commit. diffstat: referencedata/sampledata/F_B_International_Group.xml | 17142 +++------ referencedata/sampledata/QA_Testing.xml | 2014 +- src-db/database/model/functions/C_COMMISSIONRUN_PROCESS.xml | 36 +- src-db/database/model/functions/C_CREATE_PINVOICE_FROM_OUTS.xml | 34 +- src-db/database/model/functions/C_GET_DEFAULT_PERIOD.xml | 75 + src-db/database/model/functions/C_INVOICE_CREATE.xml | 118 +- src-db/database/model/functions/C_INVOICE_POST.xml | 86 +- src-db/database/model/functions/M_INOUT_CREATEINVOICE.xml | 33 +- src-db/database/model/functions/M_RAPPEL_INVOICE_CREATE.xml | 54 +- src-db/database/model/tables/C_INVOICELINE.xml | 32 +- src-db/database/model/tables/M_PRODUCT.xml | 12 +- src-db/database/model/triggers/C_INVLINE_CHK_RESTRICTIONS_TRG.xml | 8 +- src-db/database/sourcedata/AD_COLUMN.xml | 226 +- src-db/database/sourcedata/AD_ELEMENT.xml | 43 +- src-db/database/sourcedata/AD_FIELD.xml | 88 +- src-db/database/sourcedata/AD_REFERENCE.xml | 14 + src-db/database/sourcedata/AD_REF_LIST.xml | 36 + src/org/openbravo/erpCommon/ad_actionButton/CopyFromInvoice_data.xsql | 6 +- src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java | 109 +- src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql | 14 +- src/org/openbravo/erpCommon/ad_callouts/SL_Invoice_Product.java | 90 +- src/org/openbravo/erpCommon/ad_forms/DocInvoice.java | 22 +- src/org/openbravo/erpCommon/ad_forms/DocLineInvoice_data.xsql | 9 +- src/org/openbravo/erpCommon/ad_forms/DocLine_Invoice.java | 64 +- src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice.java | 21 +- src/org/openbravo/erpCommon/ad_process/ExpenseAPInvoice_data.xsql | 14 +- src/org/openbravo/erpCommon/utility/AccDefUtility.java | 171 + 27 files changed, 7677 insertions(+), 12894 deletions(-) diffs (truncated from 37363 to 300 lines): diff -r 3b7ece7dc2c1 -r 06923e2b9a96 referencedata/sampledata/F_B_International_Group.xml --- a/referencedata/sampledata/F_B_International_Group.xml Fri Nov 02 13:56:59 2012 +0100 +++ b/referencedata/sampledata/F_B_International_Group.xml Mon Nov 05 13:36:04 2012 +0100 @@ -29220,7 +29220,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-26T00:00:00.0Z</expectedDate> - <daysOverdue>5</daysOverdue> + <daysOverdue>7</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -29436,7 +29436,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-25T00:00:00.0Z</expectedDate> - <daysOverdue>6</daysOverdue> + <daysOverdue>8</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -30012,7 +30012,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-25T00:00:00.0Z</expectedDate> - <daysOverdue>6</daysOverdue> + <daysOverdue>8</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -30636,7 +30636,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-18T00:00:00.0Z</expectedDate> - <daysOverdue>43</daysOverdue> + <daysOverdue>45</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -30876,7 +30876,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-08-21T00:00:00.0Z</expectedDate> - <daysOverdue>71</daysOverdue> + <daysOverdue>73</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -31068,7 +31068,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-30T00:00:00.0Z</expectedDate> - <daysOverdue>1</daysOverdue> + <daysOverdue>3</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -31788,7 +31788,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-19T00:00:00.0Z</expectedDate> - <daysOverdue>42</daysOverdue> + <daysOverdue>44</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -32268,7 +32268,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-19T00:00:00.0Z</expectedDate> - <daysOverdue>42</daysOverdue> + <daysOverdue>44</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -32580,7 +32580,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-30T00:00:00.0Z</expectedDate> - <daysOverdue>1</daysOverdue> + <daysOverdue>3</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -33012,7 +33012,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-13T00:00:00.0Z</expectedDate> - <daysOverdue>18</daysOverdue> + <daysOverdue>20</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -33060,7 +33060,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-19T00:00:00.0Z</expectedDate> - <daysOverdue>12</daysOverdue> + <daysOverdue>14</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -33516,7 +33516,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-18T00:00:00.0Z</expectedDate> - <daysOverdue>43</daysOverdue> + <daysOverdue>45</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -33564,7 +33564,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-19T00:00:00.0Z</expectedDate> - <daysOverdue>42</daysOverdue> + <daysOverdue>44</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -33708,7 +33708,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-21T00:00:00.0Z</expectedDate> - <daysOverdue>40</daysOverdue> + <daysOverdue>42</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -33852,7 +33852,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-25T00:00:00.0Z</expectedDate> - <daysOverdue>6</daysOverdue> + <daysOverdue>8</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -34140,7 +34140,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-30T00:00:00.0Z</expectedDate> - <daysOverdue>1</daysOverdue> + <daysOverdue>3</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -34260,7 +34260,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-18T00:00:00.0Z</expectedDate> - <daysOverdue>43</daysOverdue> + <daysOverdue>45</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -35340,7 +35340,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-19T00:00:00.0Z</expectedDate> - <daysOverdue>12</daysOverdue> + <daysOverdue>14</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -36060,7 +36060,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-30T00:00:00.0Z</expectedDate> - <daysOverdue>1</daysOverdue> + <daysOverdue>3</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -36972,7 +36972,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-17T00:00:00.0Z</expectedDate> - <daysOverdue>14</daysOverdue> + <daysOverdue>16</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -37068,7 +37068,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-14T00:00:00.0Z</expectedDate> - <daysOverdue>47</daysOverdue> + <daysOverdue>49</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -37356,7 +37356,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-30T00:00:00.0Z</expectedDate> - <daysOverdue>1</daysOverdue> + <daysOverdue>3</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -37404,7 +37404,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-25T00:00:00.0Z</expectedDate> - <daysOverdue>6</daysOverdue> + <daysOverdue>8</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -37812,7 +37812,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-25T00:00:00.0Z</expectedDate> - <daysOverdue>6</daysOverdue> + <daysOverdue>8</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -37932,7 +37932,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-30T00:00:00.0Z</expectedDate> - <daysOverdue>1</daysOverdue> + <daysOverdue>3</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -38004,7 +38004,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-15T00:00:00.0Z</expectedDate> - <daysOverdue>16</daysOverdue> + <daysOverdue>18</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -38028,7 +38028,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-18T00:00:00.0Z</expectedDate> - <daysOverdue>43</daysOverdue> + <daysOverdue>45</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -38100,7 +38100,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-17T00:00:00.0Z</expectedDate> - <daysOverdue>44</daysOverdue> + <daysOverdue>46</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -38484,7 +38484,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-18T00:00:00.0Z</expectedDate> - <daysOverdue>43</daysOverdue> + <daysOverdue>45</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -38604,7 +38604,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-08-22T00:00:00.0Z</expectedDate> - <daysOverdue>70</daysOverdue> + <daysOverdue>72</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -38988,7 +38988,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-18T00:00:00.0Z</expectedDate> - <daysOverdue>13</daysOverdue> + <daysOverdue>15</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -39156,7 +39156,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-10-25T00:00:00.0Z</expectedDate> - <daysOverdue>6</daysOverdue> + <daysOverdue>8</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> @@ -40140,7 +40140,7 @@ <aprmModifPaymentINPlan>false</aprmModifPaymentINPlan> <aprmModifPaymentOUTPlan>false</aprmModifPaymentOUTPlan> <expectedDate>2012-09-19T00:00:00.0Z</expectedDate> - <daysOverdue>42</daysOverdue> + <daysOverdue>44</daysOverdue> <lastPaymentDate xsi:nil="true"/> <numberOfPayments>0</numberOfPayments> </FIN_Payment_Schedule> ------------------------------------------------------------------------------ LogMeIn Central: Instant, anywhere, Remote PC access and management. Stay in control, update software, and manage PCs from one command center Diagnose problems and improve visibility into emerging IT issues Automate, monitor and manage. Do more in less time with Central http://p.sf.net/sfu/logmein12331_d2d _______________________________________________ Openbravo-commits mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openbravo-commits
