int-bigamount - Build # 236 - Failure:

Check console output at https://ci.openbravo.com/job/int-bigamount/236/ to view 
the results.


Committers since last success:

Changes for Build #236

    Mark <markm...@gmail.com> null
    [clfr] Merge with PI 2018-08-20
      
    Mark <markm...@gmail.com> null
    [clfr] Related to Merge with PI 2018-08-17.

Fixed wrong merged in AD_COLUMN.xml due to message included by the used merge 
tool
        src-db/database/sourcedata/AD_COLUMN.xml

    Mark <markm...@gmail.com> null
    [clfr] Extract to variable value of (ShipmentInOutLine) getCopiedFromLine() 
cast
to avoid repeat it on several lines
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java

    Mark <markm...@gmail.com> null
    [clfr] Renamed C_ORDER_BPARTNER index to C_ORDER_BPARTNER_DATEORDERED
        src-db/database/model/tables/C_ORDER.xml

    Mark <markm...@gmail.com> null
    [clfr] Related to Merge with PI 2018-08-17.

Fixed wrong merged in AD_COLUMN.xml due to message included by the used merge 
tool
        src-db/database/sourcedata/AD_COLUMN.xml

    Mark <markm...@gmail.com> null
    [clfr] Merge with PI 2018-08-17
      
    Mark <markm...@gmail.com> null
    [clfr] Merge with pi 2018-08-14
      
    Mark <markm...@gmail.com> null
    [clfr] Fixed eclipse warnings because the use of new hibernate version hb5.3

Due to the migration to HB5.3, org.hibernate.Query class is deprecated and some 
of
it methods.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java

    Mark <markm...@gmail.com> null
    [clfr] Merge with pi 2018-07-04
      
    Mark <markm...@gmail.com> null
    [clfr] Merge with pi 2018-07-16
      
    Mark <markm...@gmail.com> null
    [clfr] Removed unneded resources used by the old Create Lines From process

Removed the following files:
  CreateFrom_Invoice.html
  CreateFrom_Invoice.xml

CreateFrom_Invoice.xsql
  Removed all methods except those used in other flows different than Create 
Invoice Lines:
    -selectFromShipmentSOTrxCombo
    -selectFromPOSOTrxCombo
    -selectFromShipmentCombo
    -selectFromPOCombo

CreateFrom.java
  Removed "Invoice" type from pageType(String strTableId) method.
  Removed condition to print invoice page in callPrintPage() method
    else if (strTableId.equals("318")) { // C_Invoice
        printPageInvoice(...);
    }
  Removed printPageInvoice() method.
  Removed condition to save Invoice lines in saveMethod() method:
    else if (strTableId.equals("318"))
      return saveInvoice(vars, strKey, strTableId, strProcessId, strWindowId);
  Removed saveInvoice() method.

Actions in AD
  Removed the field Create Lines From button in the following windows:
    Purchase Invoice window -> Header Tab.
    Sales Invoice window -> Header Tab.
    Partner Invoices window -> Business Partner Info tab
  Note: The button in Partner Invoices window -> Business Partner Info tab is 
actually NOT DISPLAYED. If this functionality will be included in this button 
will be needed to create the new buttons Create Lines From Order and Create 
Lines From Shipment/Receipt in this window.
  Removed Text Interfaces related to 
/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice.html:
    Create from invoice
    Alternative UOM.
    Quantity in Alternative UOM.
  Synchronize terminology executed

Note:
The createfrom column of c_invoice tables wasn't removed because it represents 
a dangerous change that will cause an API change and can be used in other 
modules or flows when an invoice is inserted or updated.
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TEXTINTERFACES.xml
        src/org/openbravo/erpCommon/ad_actionButton/CreateFrom.java
        src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
        src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice.html
        src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice.xml

    Mark <markm...@gmail.com> null
    [clfr] Merge with pi 2018-07-05
      
    Mark <markm...@gmail.com> null
    [clfr] Merge with pi 2018-07-02
      
    Mark <markm...@gmail.com> null
    [clfr] Reordered methods in transformers in the same order they are used.
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Improved the CLF SHIP/RECPT Queries filtering by InOut org and client
instead of take them from the lines.

Also were replaced the subqueries to avoid repeat the same join with tables 
used in
the main query when movementQuantity is calculated. Due that must be marked the
column as NOT FILTERBLE to avoid exceptions when filtering by it
        src-db/database/sourcedata/AD_COLUMN.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Renamed changeAdditionalFiltersIfIsSalesTransaction method in CLF PO
Renamed changeAdditionalFiltersIfIsSalesTransaction method to 
changeAdditionalFilters.
Fixed comment
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Improved CLF PO query filtering by org and client from order header

Improved CLF PO query filtering by organization and client from order header 
instead of
get them from the lines

Removed unused getSalesOrderIdentifier() method.
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Removed the order/inout identifier column from Create Lines From PEs

Columns used to build the identifiers have been included as independent columns 
in
the Create Lines From PEs, because of it it is not needed the identifier columns
as it will be a redundant information.

This change includes remove the column from the select clause of each HQL Table,
and also from the AD. salesOrder and shipmentReceipt fields are removed too, and
was clean the InOutLinePEHQLTransformer to remove the code replacing the 
business
partner name from the InOut identifiers building.
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Changed the grandTotal field reference to Amount and define a length
        src-db/database/sourcedata/AD_COLUMN.xml

    Mark <markm...@gmail.com> null
    [clfr] Merge with pi 2018-06-28
      
    Mark <markm...@gmail.com> null
    [clfr] Improved performance in CLF SO process.

Avoid the join with C_ORDER table, and now is doing the filtering by the order
fields directly from the view instead of the C_ORDER table.
Was needed to add all the order fields to the C_INVOICE_CANDIDATE_V view, and 
also
those fields used in the select clause to show the order information in the PE.

Was adapted the OrderLinePEHQLTransformer to get the information from the view 
(ic)
when the process is executed in the Sales Invoice, and to get the information 
from
the order when it is executed from the Purchase Window.
        src-db/database/model/views/C_INVOICE_CANDIDATE_V.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Filter by date range from the InvoiceCandidateView instead of the 
Order
to improve performance
        src-db/database/sourcedata/AD_TAB.xml
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed LEFT JOIN with Invoice Lines condition in CLF PO
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Take the BP Location from the Invoice Header instead of get it from 
InOut

Improved the way that BP location is retrieved taking it directly from the 
invoice
header and not taking into account the BP of the Shipment/Receipt because it 
must be
the same than the invoice header.

Removed unneded method after this refactor.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed improvements in CLF PO taking into account that it is possible 
that
not exists related invoice lines to the candidates order lines in the processing
invoice.
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Backed out changes related to set the NOT EXISTS subquery again due 
to
some errors in negative orders
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Armaignac <collazoan...@gmail.com> null
    [clfr] Increase Customer A BP Credit Limit to 1000000
        referencedata/sampledata/QA_Testing/C_BPARTNER.xml

    Mark <markm...@gmail.com> null
    [clfr] Merge with pi 2018-06-25
      
    Mark <markm...@gmail.com> null
    [clfr] Some changes to calculate quantities

To improve performance and make more legible the resulting query in CLFR PO, was
replaced the subquery used to get the already invoiced quantity in the 
processing
invoice by a direct SUM() clause.

This change causes that the generated SQL query appends to the query an 
aggregation
function (SUM) to the main query when the PE is filtered by Ordered Qty or AUM 
Qty.
Because of it, these columns as marked as NOT FILTERABLE.

Also was changed the methods in transformers to always return the operative 
quantity
from the formula calculating the ordered quantity.
        src-db/database/sourcedata/AD_COLUMN.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed HAVING clause of CLF PO validating condition in NOT EXISTS 
subquery
previously removed in HQL refactoring
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Improved the Create Lines From Purchase Orders process

It is made a LEFT OUTER JOIN with the invoice lines of the invoice that is 
processed
related to the current order line.
Was removed the NOT EXISTS subquery used to exclude all the order lines related 
to the
processing invoice from the where clause.
In the GROUP BY clause is subtracted the invoiced quantity, this way it is not 
showed those
lines wich the subtraction is different than 0
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Set AUM field not orderable
        src-db/database/sourcedata/AD_COLUMN.xml

    Mark <markm...@gmail.com> null
    [clfr] Code review in Transformers to simplify code getting Operative 
Quantity

As the Operative Quantity is calculated based on Base Quantity, is reused the 
HQL
code used to calculate the Base Quantity (Ordered or Movement). This way the 
code
is more simple and legible.
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Merge with pi - 2018-06-20
      
    Mark <markm...@gmail.com> null
    [clfr] Recalculate AUM fields if any of the orderUOM or operativeUOM is 
empty
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java

    Mark <markm...@gmail.com> null
    [clfr] Get quantities directly from the JSON instead of the order/inout line

As the selected lines are pre-processed before creating the new invoice lines,
the JSON containing the lines to be copied already has all the quantities 
calculated.
If it is an order line without any shipment related or it is an inout line then 
the
quantities are the same that are shown in the PE. In case the order line has 
inout
related, then the process add as many inout lines as the order line have 
related,
and these new JSON entries are going with the quantities calculated.
In both cases it is not needed to take thhis information from the objects, just 
from the
JSON line directly.
Removed unneded methods from CreateLinesFromUtil, and move to package the used 
ones.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java

    Mark <markm...@gmail.com> null
    [clfr] Added some needed columns to group by to avoid errors in Oracle
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Disable sorting for UOM, Product, Warehouse and Storage Bin fields.

To improve the performance, these fields are retrieved by a subquery instead of
doing JOIN with the tables. As this left clause is used by platform to build the
query is used when filtering, it fails when this subquery is used as ORDERING 
condition
of the generated query ordering by the selected column.

To keep the improvements introduced by the subquery, user will be able
to filter by the column but not to order by them.
        src-db/database/sourcedata/AD_COLUMN.xml

    Mark <markm...@gmail.com> null
    [clfr] Improved the performance in Create Lines From Order

Avoid joins with tables just the get the ID, and in case it is needed to get 
another
field is used a subquery in the select clause instead of join with related 
table.
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Improved performance in Create Invoice Lines From InOut queries

Avoid joins with tables just the get the ID, and in case of is needed to get 
another
field is used a subquery in the select clause instead of join with related 
table.

Also fixed copyright
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Avoid join with M_PriceList table to improve performance in CLF PO

Avoid the join with M_PriceList table because it is only made to get if it 
includes
taxes or not. As it can be retrieved from the order header, it is better to get 
from it
instead of do a join with the M_PriceList Table.

Also fixed the copyright in OrderLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Added index on M_InOut table to improve performance in queries
        src-db/database/model/tables/M_INOUT.xml

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Extracted logic to new private method
Reordered methods to right position for code readability
Avoid returning TaxRate in updateTaxRate()
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Removed static declaration to class
Added private to inner class variables
Moved method to right place to improve code readability
Simplified code.
Return empty string instead of null
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Simplied code: property names are exactly the same.
Reduced the number of variables to improve code readability
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateProductAndAttributes.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Simplied code: property names are exactly the same
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateProductAndAttributes.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Use StringBuilder instead of StringBuffer
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Mark <markm...@gmail.com> null
    [clfr] Created a new preference to define the count of days ago that records
will start to be filtered.

The preference will store the count of days but if it isn't defined then process
will use 365 as default to filter by those records processed in current year.
        src-db/database/sourcedata/AD_REF_LIST.xml
        src-db/database/sourcedata/AD_TAB.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Return an empty value as operativeQuantity if AUM is not enabled
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Created indexees to improve the performance in Create Lines From PO 
flows
        src-db/database/model/tables/C_ORDER.xml
        src-db/database/model/tables/M_MATCHPO.xml

    Mark <markm...@gmail.com> null
    [clfr] Backed out changeset: c02ae20e8e27

It is failing in Oracle due to use of aggregate function
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed the orderQuantity field calculation in Create Lines From PO

Retrieved the order quantity in the same way that in the old process, getting 
the
already invoiced/matched quantities from subqueries instead of directly from 
the table
because of problems when filtering by this field.
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Added filters on ordered/movement date fields to limit query

Were added filters on ordered/movement date fields to limit query to initially 
show
only those records created in the last current year and improve the performance 
in
environments with high volumes of information.

User can remove this filter at any time from the UI to get all the records or to
define other customized filters.
        src-db/database/sourcedata/AD_TAB.xml

    Mark <markm...@gmail.com> null
    [clfr] Removed call to the TO_NUMBER function as it is not needed anymore 
when
orderQuantity is calculated
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Use the same logic as is in the C_DIVIDE function to avoid DIVISION 
BY 0
and to return null in case the ordered/movement quantity is 0
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Merge with pi 2018-06-11
      
    Mark <markm...@gmail.com> null
    [clfr] Improved the way the AUM is retrieved in the PEs.

If AUM preference is enabled then the AUM used in the line is retrieved else the
default AUM. If the AUM preference isn't enabled then it is not needed to get 
this
information because it will be not used in the processing logic and it is 
returned
an empty string instead of execute the logic when AUM is enabled.

Also it avoids DIVISION BY ZERO if qtyOrdered or movementQuantity is ZERO at
division time when orderQuantity is calculated.
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Filter by the business partner InvoiceCandidateV view when copying 
lines
from Sales Order lines to improve the performance and increase the candidates 
lines
filtering
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed the prepayment amount updation

Invoice prepayment is not updated anymore if an existing invoice line linked to 
the
order (from the order line or from the InOut header) already exists
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Mark <markm...@gmail.com> null
    [clfr] Avoid exceptions when filtering by ordered/movement quantity field

As the Ordered/Movement quantity fields are usually calculated by the 
substraction
of the matched/invoiced/shipped quantities to the ordered/movement quantity it 
is
needed to retrieve it by the sum of related lines.

When the P&E is filtered by the Ordered/Movement Quantity, the platform takes 
the
column definition (orderedQuantity - SUM(...)) and adds it to the WHERE CLAUSE 
of the
generated query, adding the entered filters in the UI to correctly filtering 
all records
by the column.

The way to avoid the exception is to replace the aggregation function (sum) by 
a subquery
recalculating the same value representing the matched/invoiced/shipped totals.
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Removed the information message in the Create Lines From InOut P&Es

This information message showed in the InOUt P&E is not needed because the 
information
is shown in the lines is the same that will be copied to the invoice line when
it is created. It is not the case of Create Lines From Order due the possibility
of the order lines to be related to shipment/receipts lines.
        src-db/database/sourcedata/OBUIAPP_PROCESS.xml

    Mark <markm...@gmail.com> null
    [clfr] Some improvements in HQL queries

1.      Replaced the C_DIVIDE original by a normal division to avoid use of 
functions.
2.      Avoid the use of M_AttributeSetInstance.
3.      Avoid the join with c_bpartner table and grouped by 
o/sh.businessPartner.id
4.      Avoid the join with C_DocType table and group by o/sh.documentType.id
5.      Avoid the join with AD_ORG table and group by o/sh.organization.id
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Moved method to the right position inside the class
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Simplify methods
The acct dimension property names are exactly the same for orders and inouts, 
so there is no need to differenciate them.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Removed CreateLinesFromProcessHook.isCopiedFromInOutLine()
This method actually can create a confusion. Right now the process is boolean: 
it can be either copied from an order or inout line.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessHook.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Armaignac <collazoan...@gmail.com> null
    [clf] jUnit Automated Tests for Create Lines process
        src-test/src/org/openbravo/test/createlinesfrom/CreateLinesFromTest.java
        
src-test/src/org/openbravo/test/createlinesfrom/data/CLFTestDataConstants.java
        
src-test/src/org/openbravo/test/createlinesfrom/data/CLFTestDataPO_02.java
        
src-test/src/org/openbravo/test/createlinesfrom/data/CLFTestDataSO_01.java
        
src-test/src/org/openbravo/test/createlinesfrom/data/CreateLinesFromTestData.java
        
src-test/src/org/openbravo/test/createlinesfrom/data/InvoiceLineData.java
        src-test/src/org/openbravo/test/createlinesfrom/data/OrderLineData.java
        
src-test/src/org/openbravo/test/createlinesfrom/data/ShipmentInOutLineData.java
        src-test/src/org/openbravo/test/AllAntTaskTests.java

    Armaignac <collazoan...@gmail.com> null
    [clfr] Dimensions was added to QA Sample Data

The Costcenter, Project, UserDimension1 and UserDimension2 dimensions was added
to the QA Sample Data
        referencedata/sampledata/QA_Testing/C_COSTCENTER.xml
        referencedata/sampledata/QA_Testing/C_PROJECT.xml
        referencedata/sampledata/QA_Testing/C_PROJECT_ACCT.xml
        referencedata/sampledata/QA_Testing/USER1.xml
        referencedata/sampledata/QA_Testing/USER2.xml

    Mark <markm...@gmail.com> null
    [clfr] Renamed some class, methods and variables
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/InOutLineData.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/ShipmentInOutLineData.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Create isCopiedFromInOutLine() in CreateLinesFromProcessHook
and renamed some methods.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessHook.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed bug when the order line has shipment related but they are 
invoiced
already.

If the order line to be copied have related shipment lines then only will taken
into account those that aren't already invoiced.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Fixed issue: original query was using IsInvoiced at line level
However I have kept the filter on sh.completelyInvoiced because it can 
represent a performance improvement
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Reduced class and methods visibility
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/ShipmentInOutLineData.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Extracted Acct Dimension logic to a separate class
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/InsertAcctDimensions.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Reordered and renamed some methods and params
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java

    Mark <markm...@gmail.com> null
    [clfr] Change additional filters to filter by InvoiceCandidateV view 
instead of
order line when is copying from a sales order line
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Removed unneded call to TO_DATE function
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java

    Mark <markm...@gmail.com> null
    [clfr] Displayed separately fields contained in records identifiers.

The record identifier is showed also but will be removed as it makes poor the 
performance
        src-db/database/sourcedata/AD_FIELD.xml

    Mark <markm...@gmail.com> null
    [clfr] Fixed the prices calculation in the same way than is in the old 
process
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java

    Mark <markm...@gmail.com> null
    [clfr] Added o.grandTotalAmount to the OrderLinePEHQLTransformer group by to
avoid group by error in Oracle
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Takes the invoice line description from the copied line description
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Mark <markm...@gmail.com> null
    [clfr] Avoid the use of the AD_Identifier function to improve performance.

Added new additional fields to allow to user to filter by them if needed.
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Armaignac <collazoan...@gmail.com> null
    [clfr] A Bom product was added to QA Sample Data
for testing create lines from with a product defined as BOM
        referencedata/sampledata/QA_Testing/M_PRODUCT.xml
        referencedata/sampledata/QA_Testing/M_PRODUCTPRICE.xml
        referencedata/sampledata/QA_Testing/M_PRODUCT_ACCT.xml
        referencedata/sampledata/QA_Testing/M_PRODUCT_BOM.xml

    Mark <markm...@gmail.com> null
    [clfr] Merge with pi 31-05-2018
      
    Mark <markm...@gmail.com> null
    [clfr] Improved performance in OrderLinePEHQLTransformer. Removing subquery
with logic already included in the main query.
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Removed unnecessary fields from the group by clause of the 
transformers
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Merge with pi 30-05-2018
      
    Mark <markm...@gmail.com> null
    [clfr] Copied all the gross prices from the order line
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java

    Mark <markm...@gmail.com> null
    [clfr] Added information message to the P&Es in the onload event.
        
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/procurement/ob-procurement.js
        src-db/database/sourcedata/AD_MESSAGE.xml
        src-db/database/sourcedata/OBUIAPP_PROCESS.xml

    Mark <markm...@gmail.com> null
    [clfr] Fixed javadoc of CreateLinesFromProcessHook
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessHook.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed join with M_MatchInv instead of M_MatchPO when creating from PO
lines with related receipts
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed the grossUnitPrice and grossListPrice assignment
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed query to get the shipment/receipt lines related to an order 
line

CreateLinesFromUtil.getRelatedShipmentLines method was improved to correctly 
filter
the shipment in out lines related to an order line. Were added more restrictions
according the order line belongs to a sales or a purchase order, and a new 
relation
with the procurementPOInvoiceMatchList of the in out line was added in case of 
Purchase flows.

This method is now returning only the required information to later be added to
its JSON representation. This includes get the ordered quantity correctly 
calculated.
It returns a list of ShipmentInOutLineData objects, created to store 
specifically
this required information to store later in the JSON and be used by the process,
and nothing more.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/ShipmentInOutLineData.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Hidde the attribute field from the P&E
        src-db/database/sourcedata/AD_FIELD.xml

    Mark <markm...@gmail.com> null
    [clfr] Created invoice line account dimensions at the end of the line 
processing
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java

    Mark <markm...@gmail.com> null
    [clfr] Set the invoice line dimensions from the copied line dimensions if 
exists
or take it from the header in other case
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Mark <markm...@gmail.com> null
    [clfr] Copy to the invoice line organization the same is in the copied line
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Mark <markm...@gmail.com> null
    [clfr] Copy Attribute set value form the line instead of cloning it
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateProductAndAttributes.java

    Mark <markm...@gmail.com> null
    [clfr] Added support to the transformers classes to be extended. Also added 
new
@selectClause@ to the C_OrderLine_PE_HQL and M_InOut_PE_HQL tables to be 
extended
the select clause and bring the possibility that add more fields to the select 
clause
by the creation of new transformers in an easy way
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Use limit to improve performance and refactor names
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Fixed compilation error
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessHook.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Added FIXME with known issue
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Use Hibernate objects is mandatory to avoid db errors when calling 
db functions
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessHook.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Simplified getOrderPrepaymentAmt() method
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] isOrderLineOrHasRelatedOrderLine() transformed to 
hasRelatedOrderLine()
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Removed useless comments and change method names
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Remove useless parameters
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessHook.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Replaced Hook Interface by Abstract Class to avoid code duplication

Centralized the init logic in the new CreateLinesFromProcessHook class, so we 
avoid code duplication in the hooks.
Do not store Hibernate objects as class variables to avoid issues if clearing 
session.
Added useful public methods in CreateLinesFromProcessHook class to be used by 
the hooks.
Adapted hooks to make use of this new methods.

Note that right now we save the invoice line before calling the hooks to have a 
invoice line id.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessHook.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateAccAndDefPlanFromProduct.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateProductAndAttributes.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessImplementationInterface.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Fixed javadoc
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessImplementationInterface.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Logic is run inside admin mode,
Removed selectedLines variable class to improve code cleanliness
Renamed method names and added more to clarify purpose
Moved getRelatedShipmentLines() to CreateLinesFromUtil
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Avoid adding new lines to the JSONArray while it is iterating on its 
ele-
ments.

Added a comment explaining the reason of why a flush is invoked at this point of
the code.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed Movement Date reference and hide unneded fields
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Initialize lastLineNo in main method,
Reorder and deleted some simple methods to make the code easier to understand
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Avoid storing Hibernate object as class variable
This might create problems if clearing session.
Reordered methods in the way they are used.
Declared private class for ordering as static
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Avoid useless error logging,
Reordered method to improve code clarity
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Removed debug performance.
It is better to use a profiler instead of contaminating the code
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Use isAssignableFrom() to validate class. Renamed variable
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Renamed CreateInvoiceLinesFrom to CreateInvoiceLinesFromHandler
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromHandler.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromInOutLines.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromOrderLines.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFrom.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Renamed CreateLinesFromProcess to CreateInvoiceLinesFromProcess
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFrom.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Avoid passing currentInvoice to hooks,
Set 
CreateLinesFromProcessImplementationInterface.CREATE_LINES_FROM_PROCESS_HOOK_QUALIFIER
 as public to be able to be easily used by external modules
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessImplementationInterface.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateAccAndDefPlanFromProduct.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateProductAndAttributes.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Simplified some methods
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Reduced method visibility to package
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Refactorized and simplified CreateInvoiceLinesFrom
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFrom.java

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Minor improvement in javadoc
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromInOutLines.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromOrderLines.java

    Mark <markm...@gmail.com> null
    [clfr] Added line order date to the group by clause.
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Added new fields to the Create Invoice Lines from Shipment/Receipt 
P&E
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Added new fields to the Create Invoice Lines from Order P&E
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Backed out to use columns with String instead of Table reference due 
to
known issue in oracle
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml

    Mark <markm...@gmail.com> null
    [clfr] Refactorized the HQL select to define columns as Table reference

Reordered fields in P&E
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml

    Mark <markm...@gmail.com> null
    [clfr] Add uom.name to the group by clause
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Use same column names in C_OrderLine_PE_HQL and M_InOutLine_PE_HQL 
tables
as in C_OrderLine and M_InOutLine tables
        src-db/database/sourcedata/AD_COLUMN.xml

    Mark <markm...@gmail.com> null
    [clfr] Created hasNotEmptyValue to validate a property is inside a 
JSONOBject
and it is not an empty value
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed the AUM workflows after the last SQL refactor
        src-db/database/sourcedata/AD_COLUMN.xml
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed the Order Line updation at invoice header level.

If exists more than one order related with the invoice lines then the Order 
header
will be null, in other hand it will be the order related with invoice lines.

Was necessary to call a flush after each new invoice line was copied to be able 
to
get the information of the order lines related to them.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Mark <markm...@gmail.com> null
    [clfr] Changed CREATE_LINES_FROM_PROCESS_HOOK_QUALIFIER constant to package
instead of public
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessImplementationInterface.java

    Mark <markm...@gmail.com> null
    [clfr] Moved CreateLinesFromUtil class to package instead of public to avoid
creating public API.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromUtil.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFrom.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateProductAndAttributes.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Removed unused variables and logic related with discount as it isn't 
used
in the replaced Create Lines From process
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java

    Mark <markm...@gmail.com> null
    [clfr] Redefined hooks execution order to be always multiple of 10 in 
getOrder()
method
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateAccAndDefPlanFromProduct.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateProductAndAttributes.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java

    Mark <markm...@gmail.com> null
    [clfr] Removed the setDiscount() method as this information it is not saved 
in
the created invoice line in the current behaviour of the Create Lines From
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java

    Mark <markm...@gmail.com> null
    [clfr] New method to get if the processing line is an order or it has an 
order
line related

Returned directly the result instead of assigning it to a variable in 
UpdateInvoiceLineInformation.
getOrderPrepaymentAmt() method

Extracted isOrderLine || ((ShipmentInOutLine) copiedLine).getSalesOrderLine() 
to a
method and replaced it in every java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Refactorized CreateLinesFromProcess

Removed some duplicated code
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java

    Mark <markm...@gmail.com> null
    [clfr] Removed unused parameter in CreateLinesFromUtil.getSuccessMessage()
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFrom.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed Create Lines From In/Out HQL to avoid grouping errors in 
Oracle.

Added the orderQuantity calculation clause to the group by clause.
Changed the columns reference from Table to String, and used the object IDs to
get the object identifier as String instead of an object, due it was causing
problems when queries were executed in Oracle
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed Create Lines From Order HQL to avoid grouping errors in Oracle.

Added the orderQuantity calculation clause to the group by clause.
Changed the columns reference from Table to String, and used the object IDs to
get the object identifier as String instead of an object, due it was causing
problems when queries were executed in Oracle
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Refactorized the way the orderedQuantity and the operativeQuantity is
returned.

If the processin line is an Order Line and it is related with a Shipment/Receipt
line then the ordered and operative quantities used will the movement quantity 
of
the Shipment/Receipt Line. In other hands will be the ordered/movement quantity
showed in the P&E.

Added some logs to the CreateLinesFromUtil.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Refactorized method names in CreateLinesFromUtil
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Used new InvoiceCandidateV column names instead previous than sync 
termi-
nology
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Avoid NPE.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Sync terminology to export the InvoiceCandidateV table correctly
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml

    Mark <markm...@gmail.com> null
    [clfr] Fixed C_INVOICE_CANDIDATE_V sql reordering the new added columns and
adding them to the Group By clause.
        src-db/database/model/views/C_INVOICE_CANDIDATE_V.xml

    Víctor Martínez Romanos <victor.marti...@openbravo.com> null
    [clfr] Refactorized and simplified Action Handlers

Created abstract class CreateInvoiceLinesFrom to centralize action handler 
logic related to Create Invoice Lines From.
Created CreateInvoiceLinesFromInOutLines and CreateInvoiceLinesFromOrderLines 
class to implement the concrete logic for each flow.

Renamed & moved classes to clearly indicate their intention 
(CreateInvoiceLinesFrom*)
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFrom.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromInOutLines.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateInvoiceLinesFromOrderLines.java
        src-db/database/sourcedata/AD_REFERENCE.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/AD_WINDOW.xml
        src-db/database/sourcedata/OBUIAPP_PROCESS.xml
        src/org/openbravo/common/actionhandler/CreateLinesFromInOut.java
        src/org/openbravo/common/actionhandler/CreateLinesFromOrder.java

    Mark <markm...@gmail.com> null
    [clfr] Refactorized the transformer to include the Create From Shipment flow

Included the logic of the Create Lines From Shipment in the transformer.
Set the main query as MAINFROM
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Moved transformers to src.org.openbravo.commondatasource package
        src/org/openbravo/common/datasource/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/datasource/OrderLinePEHQLTransformer.java
        src/org/openbravo/common/inserters/InOutLinePEHQLTransformer.java
        src/org/openbravo/common/inserters/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Refactorized the Create From Receipt query.

Removed the existing inserters to be included all their logic in a centralized
transformer.
        src/org/openbravo/common/inserters/InOutLinePEHQLTransformer.java
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector1.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector2.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector3.java

    Mark <markm...@gmail.com> null
    [clfr] Refactorized the transformer to include the Create From Sales Order 
flow

Included the logic of the Create Lines From Sales Order in the transformer.
Refactorized the transformer to be more legible.
        src/org/openbravo/common/inserters/OrderLinePEHQLTransformer.java

    Mark <markm...@gmail.com> null
    [clfr] Refactorized the Create From Purchase Order query.

Removed the existing inserters to be included all their logic in a centralized
transformer.

Logic included for the Purchase Order flows.
        src/org/openbravo/common/inserters/OrderLinePEHQLTransformer.java
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector1.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector2.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector3.java

    Mark <markm...@gmail.com> null
    [clfr] Created a new table in AD to map a new entity with 
C_INVOICE_CANDIDATE_V

Created InvoiceCandidateV table to be used in Create Lines From Sales Order 
process
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml

    Mark <markm...@gmail.com> null
    [clfr] Added needed fields to C_INVOICE_CANDIDATE_V to export it to AD
        src-db/database/model/views/C_INVOICE_CANDIDATE_V.xml

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    [clfr] Fix CreateLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    [clfr] Fix CreateLinesFromUtil.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    [clfr] Rename CreateLinesFromProcess variable as createLinesFromProcess
        src/org/openbravo/common/actionhandler/CreateLinesFromInOut.java
        src/org/openbravo/common/actionhandler/CreateLinesFromOrder.java

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    [clfr] Use correct element and reference in uom and operativeUOM columns
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    [clfr] Use correct element in salesOrder and shipmentReceipt columns
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml

    Mark <markm...@gmail.com> null
    [clfr] Merge with changes
      
    Mark <markm...@gmail.com> null
    [clfr] Merge with pi
      
    Armaignac <collazoan...@gmail.com> null
    [clfr] Fixed orders line related to shipmentInOutLine

When an order line was related to more than one shipmentInOutLine a wrong
invoice line was created not related to the shipmentInOutLine.

Now the process create invoice lines as many relations the selected order line
have with shipmentInOutLine
        src-db/database/sourcedata/AD_TABLE.xml
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    [clfr] Change the order of Create Lines From Order and Create Lines From 
Shipment/Receipt fields
        src-db/database/sourcedata/AD_FIELD.xml

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    [clfr] Remove unneeded window element
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    [clfr] Fix Create Lines From Order process definition data access level
        src-db/database/sourcedata/OBUIAPP_PROCESS.xml

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    [clfr] Make createfromorders and createfrominouts columns mandatory
        src-db/database/model/tables/C_INVOICE.xml
        src-db/database/sourcedata/AD_COLUMN.xml

    Mark <markm...@gmail.com> null
    [clfr] Added condition to Create Lines From receipt to not take into account
order not invoiceable
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector0.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed Order quantity calculation
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector3.java

    Mark <markm...@gmail.com> null
    [clfr] Improved performance in Create Lines from Shipment/Receipt
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector1.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector2.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector3.java

    Mark <markm...@gmail.com> null
    [clfr] Merge with pi
      
    Mark <markm...@gmail.com> null
    [clfr] Merge with pi
      
    Mark <markm...@gmail.com> null
    [clfr] Update the prepayment amount at time of line creation and not at the 
end
of the process.
Moved all the logic of the invoice prepayment updation to be execeuted when 
each line
is copied as it is in the current Create Lines From process instead of do it at 
the end
of the process.
Also it adds the order reference to the invoice if all the copied lines don't 
belong
to the different orders, in this case, the reference will be NULL. If all the 
lines belongs
to the same order, then the invoice will be updated with it as order reference.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Mark <markm...@gmail.com> null
    [clfr] Take the AUM from directly from the PE
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Synchronize terminology
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml

    Mark <markm...@gmail.com> null
    [clfr] Added HQL Injectors to orderQuantity calculation
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector3.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector3.java

    Mark <markm...@gmail.com> null
    [clfr] Merge with pi
      
    Mark <markm...@gmail.com> null
    [clfr] Added the shipmentInOutLine reference to the Create Lines from Order 
PE

This column is used to save the reference to the Shipment/receipt line from the
invoice line is created, if it is the case.
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Always copy the attribute set of the copied line not only the 
attribute
set instance
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateProductAndAttributes.java

    Mark <markm...@gmail.com> null
    [clfr] Copy the invoice line Taxable amount from the related order line tax 
base
amount if exists, else use the line net amount instead.
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java

    Mark <markm...@gmail.com> null
    [clfr] Added orderQuantity to the C_OrderLine_HQL_PE table/CLFOrder PE

Also is setted operativeUOM and operativeQuantity if AUM preference is enabled
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed quantity calculation and AUM quantity values in Create Lines 
From
Order PE
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector1.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector2.java

    Mark <markm...@gmail.com> null
    [clfr] Added an extra pickExecuteLineValues parameter to hooks to be able 
to use
all the pick and execute line values.

The values selected/calculated in the line of the Pick and Execute can be 
different
than the values of the original record been copied (copiedLine) if they are
recalculated in the query or changed in the Pick and Execute window by a manual 
user operation
(for a future behavior)
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessImplementationInterface.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateAccAndDefPlanFromProduct.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateProductAndAttributes.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Filtering by M_MatchPO.invoiceLine not null in Create Lines From 
Order
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector2.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector1.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector2.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed Create Lines From Shipment/Receipt query failing in Oracle
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector1.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector2.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector2.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed Create Lines From Order query failing in Oracle
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector1.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector2.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed grouping condition when order lines are retrieved
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector0.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed the prices calculation when the copied line is related to an 
order
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java

    Mark <markm...@gmail.com> null
    [clfr] Changed the reference of the lineNo columns from Number to Integer
        src-db/database/sourcedata/AD_COLUMN.xml

    Mark <markm...@gmail.com> null
    [clfr] Fixed query to get correct order lines
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector0.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed the message when the process ends
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Backedout the change of the Project column/fields to Contract to 
avoid
failures by differences in AD
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/OBUIAPP_PARAMETER.xml

    Mark <markm...@gmail.com> null
    [clfr] Updated BOMParent to the invoice lines
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java

    Mark <markm...@gmail.com> null
    [clfr] Hide the old Create Lines From button from the SSales/Purchase 
Invoice
windows.

Also are set to read only the Ordered/MOvement Quantity fields
        src-db/database/sourcedata/AD_FIELD.xml

    Mark <markm...@gmail.com> null
    [clfr]Removed createlinesfromorder package and all its lines as the Create 
Lines
>From process will handle the order lines as well as the Shipment/Receipt lines.
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/CreateLinesFromOrderProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/CreateLinesFromOrderProcessImplementationInterface.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdateAccAndDefPlanFromProduct.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdateProductAndAttributes.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdateTax.java

    Mark <markm...@gmail.com> null
    [clfr] Created CreateLinesFromProcess to process in a generic way the 
source of
the lines be copied (Order/Shipment/Receipt)
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/CreateLinesFromProcessImplementationInterface.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateAccAndDefPlanFromProduct.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateProductAndAttributes.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/UpdateTax.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromUtil.java
        src/org/openbravo/common/actionhandler/CreateLinesFromInOut.java
        src/org/openbravo/common/actionhandler/CreateLinesFromOrder.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/CreateLinesFromOrderProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromMessageUtil.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed example of hook definition in Create Lines From Order
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/CreateLinesFromOrderProcessImplementationInterface.java

    Mark <markm...@gmail.com> null
    [clfr] Updated copyright and some java doc
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/CreateLinesFromOrderProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdatePricesAndAmounts.java

    Mark <markm...@gmail.com> null
    [clfr] Create Lines From Order process finished
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/CreateLinesFromOrderProcess.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/CreateLinesFromOrderProcessImplementationInterface.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdateAccAndDefPlanFromProduct.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdateInvoiceLineInformation.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdatePricesAndAmounts.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdateProductAndAttributes.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdateQuantitiesAndUOMs.java
        
src/org/openbravo/common/actionhandler/createlinesfromorderprocess/UpdateTax.java
        
src/org/openbravo/common/actionhandler/createlinesfromprocess/util/CreateLinesFromMessageUtil.java
        src/org/openbravo/common/actionhandler/CreateLinesFromOrder.java

    Mark <markm...@gmail.com> null
    [clfr] Fixed display logic for AUM fields and adapted HQL tables
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector2.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector2.java

    Mark <markm...@gmail.com> null
    [clfr] Display logic for Quantities and UOMs taking into account AUM 
preference

Hide or show quantity or operative quantity taking into account the AUM 
Preference.
The same for UOM and AUM fields.

Operative fields have been reordered to be shown in the same position than base 
fields
        src-db/database/sourcedata/AD_FIELD.xml

    Mark <markm...@gmail.com> null
    [clfr] Renamed elements from "Create From" to "Create Lines From"

Renamed
"Create From Order" to "Create Lines From Order"
"Create From Shipment/Receipt" to "Create Lines From Shipment/Receipt"
Renamed "CreateFromOrder.java" action handler to "CreateLinesFromOrder.java"
Renamed "CreateFromInOut.java" action handler to "CreateLinesFromInOut.java"
Renamed several elements in the AD to replace the "Create From" substring with
"Create Lines From".
        src/org/openbravo/common/actionhandler/CreateLinesFromInOut.java
        src/org/openbravo/common/actionhandler/CreateLinesFromOrder.java
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_REFERENCE.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/AD_WINDOW.xml
        src-db/database/sourcedata/OBUIAPP_PROCESS.xml
        src/org/openbravo/common/actionhandler/CreateFromInOut.java
        src/org/openbravo/common/actionhandler/CreateFromOrder.java

    Mark <markm...@gmail.com> null
    [clfr] Reordered fields and updated AUM fields in HQLs
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector0.java

    Mark <markm...@gmail.com> null
    [clfr] Improved C_OrderLine_PE_HQL HQL Table

Renamed OrderLinePEHQLInjector to OrderLinePEHQLInjector0.
Created OrderLinePEHQLInjector1 to get the correct quantity according the
document is a sales transaction or not.
Created OrderLinePEHQLInjector2 to get the correct alternative quantity 
according the
document is a sales transaction or not.
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector1.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector2.java
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector.java

    Mark <markm...@gmail.com> null
    [clfr] Improved performance in C_OrderLine_PE_HQL HQL Table
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/AD_TABLE.xml

    Mark <markm...@gmail.com> null
    [clfr] Fixed M_InOut_PE_HQL HQL Table to get better performance and to 
adapt to
Shipment/Rceipts be the case

Renamed InOutLinePEHQLInjector to InOutLinePEHQLInjector0.
Created InOutLinePEHQLInjector1 to get the correct movement quantity according 
the
document is a sales transaction or not.
Created InOutLinePEHQLInjector2 to get the correct alternative movement 
quantity according the
document is a sales transaction or not.
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector0.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector1.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector2.java
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector.java

    Mark <markm...@gmail.com> null
    [clfr] Initial commit

New PEs and linked them with the Copy From Order/Shipment/Receipt
buttons

This patch includes:
- New database columns for the Created From Order and Create From 
Shipment/Receipt
definition
- New fields defined for Created From Order and Create From Shipment/Receipt 
buttons
- Creation of two new HQL based tables. To retrieve order and shipment/receipt 
lines
  each one.
- Created initial column to the tables (to be updated in other phase)
- Created two new Pick And Edit windows: "Create From Order" and "Create From 
Shipment/
  Receipt".
- Created two new windows references pointing to these previous Pick and Edits.
- Created two new Process Definition, each one for "Create From Order" and 
"Create
  From Shipment/Receipt" processes.
- Added the created PEs as window reference value of each one.
- Linked the "Create From Order" and "Create From Shipment/Receipt" buttons to 
the new
  Process Definitions.
- Initilization for the CreateFromOrder and CreateFromInOut action handlers, 
that
will be used to implement the logic for the lines creation from orders/shipments
or receipts, be the case.
- Defined columns for C_OrderLine_PE_HQL table and fields for PE.
- Defined columns for M_InOutLine_PE_HQL table and fields for PE.
- Created OrderLinePEHQL injector to be used as insertion point in 
C_OrderLine_PE_HQL HQL query definition.
- Created InOutLinePEHQL injector to be used as insertion point in 
M_InOutLine_PE_HQL HQL query definition.
- Synchronize Terminology
        src/org/openbravo/common/actionhandler/CreateFromInOut.java
        src/org/openbravo/common/actionhandler/CreateFromOrder.java
        src/org/openbravo/common/inserters/InOutLinePEHQLInjector.java
        src/org/openbravo/common/inserters/OrderLinePEHQLInjector.java
        src-db/database/model/tables/C_INVOICE.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_REFERENCE.xml
        src-db/database/sourcedata/AD_REF_TABLE.xml
        src-db/database/sourcedata/AD_TAB.xml
        src-db/database/sourcedata/AD_TABLE.xml
        src-db/database/sourcedata/AD_WINDOW.xml
        src-db/database/sourcedata/OBUIAPP_PARAMETER.xml
        src-db/database/sourcedata/OBUIAPP_PROCESS.xml
        src-db/database/sourcedata/OBUIAPP_REF_WINDOW.xml

    RM packaging bot <staff...@openbravo.com> null
    CI: merge back from main
      
    RM packaging bot <staff...@openbravo.com> null
    CI: update AD_MODULE to version 34515
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.apachejdbcconnectionpool/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.utility.cleanup.log/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml
        
modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
        src-db/database/sourcedata/AD_MODULE.xml

    Carlos Aristu <carlos.ari...@openbravo.com> null
    fixes bug 39128: compile.apply.module task gets stuck on 2.50 to pi updating

  The compile.apply.module ant task uses the Hibernate pool during the process 
of updating 2.50 to pi. Under this scenario, the task was never finishing 
because although all its actions were completed, the jvm was not able to 
terminate due to a non-daemon thread used by the Hibernate pool to validate its 
status.

  To avoid this problem, we force the stop of the non-daemon thread by 
explicitly closing the Hibernate pool once the task has finished using DAL.
        src/org/openbravo/erpCommon/modules/ApplyModuleTask.java




Last 20 lines of the console output:

[...truncated 2958 lines...]
+ (( i=0 ))
+ (( i<12 ))
++ jps
++ grep Bootstrap
++ true
+ '[' '' = '' ']'
+ break
++ jps
++ grep Bootstrap
++ true
+ '[' '' '!=' '' ']'
+ true
+ '[' 0 '!=' 0 ']'
+ echo

POST BUILD TASK : SUCCESS
END OF POST BUILD TASK : 0
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openbravo-builds mailing list
Openbravo-builds@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to