int-basic-pgsql - Build # 1574 - Still Failing:

Check console output at https://ci.openbravo.com/job/int-basic-pgsql/1574/ to 
view the results.


Committers since last success:

Changes for Build #1573

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add 'Enable Cancel and Replace' preference in order to 
activate C&R in Openbravo backend
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_REF_LIST.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Don't create automatically reservations for new order 
in Openbravo backend
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Set Invoiced Quantity of inverse order line to Zero
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix issue while original order is delivered in more 
than one shipment
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Backout 54b63a6b9bcc revision
        src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
        src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual_data.xsql

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Merge from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Don't display cancellation orders in Create Lines 
>From Form neither in Create Invoices from Orders
        src/org/openbravo/erpCommon/ad_actionButton/CreateFrom_Invoice_data.xsql
        src/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual_data.xsql

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Refactor createOrUdpatePayment method to remove 
duplicated code
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Don't create unnecessary payment schedule detail for 
paid original order
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Don't display cancellation orders (*R*) in Copy from 
Order orders popupç
        src/org/openbravo/erpCommon/info/SalesOrder_data.xsql

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix issue with discounts
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Deliver in new order what it was delivered in old 
order if there are no cancel and replace prefs active
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData11.java
        
src-test/src/org/openbravo/test/cancelandreplace/CancelAndReplaceTest.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Set *R* to payments of Amount 0 if credit used is also 0
        src/org/openbravo/event/FINPaymentEventHandler.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix issue with cancel and replace document numbers
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Added a method to add foreign keys to be exluced in 
export.database validation
        src/org/openbravo/service/system/DatabaseValidator.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix on C_ORDLINE_CHK_RESTRICTIONS_TRG.xml. Avoid 
executing a query in some cases
        src-db/database/model/triggers/C_ORDLINE_CHK_RESTRICTIONS_TRG.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Comment added
        src/org/openbravo/event/FINPaymentEventHandler.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Use constant variable for a Material Shipment 
docbasetype
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix on ad_message
        src-db/database/sourcedata/AD_MESSAGE.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Don't clear session in the first iteration with 
scrollable results
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Removed Openbravo @author
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHookCaller.java
        
src/org/openbravo/erpCommon/businessUtility/CancelLayawayPaymentsHook.java
        
src/org/openbravo/erpCommon/businessUtility/CancelLayawayPaymentsHookCaller.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Added two new columns in FIN_PAYMENT_DETAIL_V with 
corresponding fields

This two new columns will display the financial account and the payment method 
of the payment. If the total amount of the payment is 0, the column will be 
empty
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_COLUMN.xml
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/model/views/FIN_PAYMENT_DETAIL_V.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix a mistake
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Skip some foreign key validations in export database
        src/org/openbravo/service/system/DatabaseValidator.java

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Make messages translatable
        src-db/database/sourcedata/AD_MESSAGE.xml
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove commented lines
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove unnecessary OBDal.getInstance().flush()
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add missing Business Partner in payment schedule 
details for netting payment+
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fixed issue while creating payment schedule detail. 
Add correct amount
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Skip discount type lines when creating replacement 
order
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix equals instruction. Compare strings instead objects
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Get payment method and financial account coming from 
Web POS as Strings
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove useless paramaters of a method
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Create new reservations only if replacement order 
exists
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Use ReservationUtils.processReserve method close old 
order reservations
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] While querying for pending amount to pay in Old Order 
filter by those records without payment detail
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fixed Sample Data
        referencedata/sampledata/QA_Testing/AD_FORM_ACCESS.xml
        referencedata/sampledata/QA_Testing/AD_PROCESS_ACCESS.xml
        referencedata/sampledata/QA_Testing/AD_PROCESS_REQUEST.xml
        referencedata/sampledata/QA_Testing/AD_WINDOW_ACCESS.xml
        referencedata/sampledata/QA_Testing/OBUIAPP_PROCESS_ACCESS.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix issue while setting truncated description
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] C_DocTypeTarget_ID parameter must be blank if has not 
value, not null
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Code review for reservations flow

1) Attend to 'Enable Stock Reservations' preference when checking reservations 
for order lines.
2) Remove duplicated code adding a new private method.
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Code review changes

1) Set proper method name to getOrderDocumentNoLabel.
2) Remove getDocumentNo method from cancelandreplaceutils class and use 
directly FIN_Utility getDocumentNo method.
3) Add some constants
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Come changes in createPayments functionality

1) Truncate properly payments description to columns size.
2) give proper name and documentation to createPayment method.
3) Rename some confusing variables.
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix issue in C_ORDER and C_ORDERLINE triggers 
validations
        src-db/database/model/triggers/C_ORDER_CHK_RESTRINCTIONS_TRG.xml
        src-db/database/model/triggers/C_ORDLINE_CHK_RESTRICTIONS_TRG.xml

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] create getPaymentScheduleOfOrder method and remove 
duplicated code
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Split processShipment method in to two processes and 
add javadoc
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and replace] Add missing javadoc. Don't pass an unnecessary 
parameter. Declare inside method
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove unnecessary params on some methods
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Obtain properly document type for Netting Shipment
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Refactor a query using scrollable results
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Change some method's name to be more clear
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Added Sampledata for Cancel and Replace automated tests
        referencedata/sampledata/QA_Testing/AD_SEQUENCE.xml
        referencedata/sampledata/QA_Testing/C_ORDER.xml
        referencedata/sampledata/QA_Testing/C_ORDERLINE.xml
        referencedata/sampledata/QA_Testing/C_ORDERLINETAX.xml
        referencedata/sampledata/QA_Testing/C_ORDERTAX.xml
        referencedata/sampledata/QA_Testing/FIN_PAYMENT.xml
        referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULE.xml
        referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULEDETAIL.xml
        referencedata/sampledata/QA_Testing/M_STORAGE_PENDING.xml
        
src-test/src/org/openbravo/test/cancelandreplace/CancelAndReplaceTest.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Added sampledata
        referencedata/sampledata/QA_Testing/AD_FORM_ACCESS.xml
        referencedata/sampledata/QA_Testing/AD_PINSTANCE.xml
        referencedata/sampledata/QA_Testing/AD_PROCESS_ACCESS.xml
        referencedata/sampledata/QA_Testing/AD_PROCESS_REQUEST.xml
        referencedata/sampledata/QA_Testing/AD_SEQUENCE.xml
        referencedata/sampledata/QA_Testing/AD_WINDOW_ACCESS.xml
        referencedata/sampledata/QA_Testing/C_ORDER.xml
        referencedata/sampledata/QA_Testing/C_ORDERLINE.xml
        referencedata/sampledata/QA_Testing/C_ORDERLINETAX.xml
        referencedata/sampledata/QA_Testing/C_ORDERTAX.xml
        referencedata/sampledata/QA_Testing/FIN_PAYMENT.xml
        referencedata/sampledata/QA_Testing/FIN_PAYMENT_DETAIL.xml
        referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULE.xml
        referencedata/sampledata/QA_Testing/FIN_PAYMENT_SCHEDULEDETAIL.xml
        referencedata/sampledata/QA_Testing/M_INOUT.xml
        referencedata/sampledata/QA_Testing/M_STORAGE_PENDING.xml
        referencedata/sampledata/QA_Testing/OBUIAPP_PROCESS_ACCESS.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove duplicated code
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Get cancel and replace preferences values outside 
order lines loop and extract them to separate methods
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fixed a mistake
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Make some methods private in CancelAndReplaceUtils 
utils method
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add missing javadocs
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Clear session each time a Scroller is used
        
src-test/src/org/openbravo/test/cancelandreplace/CancelAndReplaceTest.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Instanciate BigDecimal with String
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove unnecessary global variables
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fixes in FinPaymentEventHandler

1) Remove duplicated code
2) If the new document number size is greater than 30, truncate it to 30 
characters
        src/org/openbravo/event/FINPaymentEventHandler.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Declare *R* String used in inverse sales orders 
documentno as constant
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java
        src/org/openbravo/event/FINPaymentEventHandler.java

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add missing javadoc
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHook.java
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHookCaller.java
        
src/org/openbravo/erpCommon/businessUtility/CancelLayawayPaymentsHook.java
        
src/org/openbravo/erpCommon/businessUtility/CancelLayawayPaymentsHookCaller.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Backout 713fe4f1659e revision. Breaks dbconsistency
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_COLUMN.xml
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Make protected executeHooks method private inside 
CancelAndReplaceOrderHookCaller
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHookCaller.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Use global variable cancelLayawayPaymentsHook in 
CancelLayawayPaymentsHookCaller
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHook.java
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHookCaller.java
        
src/org/openbravo/erpCommon/businessUtility/CancelLayawayPaymentsHookCaller.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Copyright of several files updated
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Some comments improved
        
src-test/src/org/openbravo/test/cancelandreplace/CancelAndReplaceTest.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Little fix on C_ORDLINE_CHK_RESTRICTIONS_TRG
        src-db/database/model/triggers/C_ORDLINE_CHK_RESTRICTIONS_TRG.xml
        
src-test/src/org/openbravo/test/cancelandreplace/CancelAndReplaceTest.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData1.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData10.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData2.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData3.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData4.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData7.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData8.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData9.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove eclipse warning
        
src-test/src/org/openbravo/test/cancelandreplace/CancelAndReplaceTest.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Several Name, Description and Help texts improved
        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_MESSAGE.xml
        src-db/database/sourcedata/AD_REF_LIST.xml
        src-db/database/sourcedata/OBUIAPP_PROCESS.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove some foreign keys to avoid performance issues 
when deleting records

Foreign keys from C_ORDER and C_ORDERLINE tables have been deleted to avoid 
performance issues. New checks have been added in C_ORDER and C_ORDERLINE 
triggers to maintain database consistency
        src-db/database/model/tables/C_ORDER.xml
        src-db/database/model/tables/C_ORDERLINE.xml
        src-db/database/model/triggers/C_ORDER_CHK_RESTRINCTIONS_TRG.xml
        src-db/database/model/triggers/C_ORDLINE_CHK_RESTRICTIONS_TRG.xml
        src-db/database/sourcedata/AD_MESSAGE.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove duplicated 
FIN_Utility.getFinancialAccountPaymentMethodByOrganization method
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove unnecessary AD_ELEMENT's
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_COLUMN.xml
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Set as Read Only some fields when cancelling a Sales 
Order
        src-db/database/sourcedata/AD_COLUMN.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Display Cancel and Replace and Confirm Cancel and 
Replace button only fo Standard Orders
        src-db/database/sourcedata/AD_FIELD.xml
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Replace OrderLineEventHandler with Client Event 
Handler Action
        
src/org/openbravo/common/actionhandler/CancelAndReplaceGetCancelledOrderLine.java
        web/js/cancelAndReplace.js
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
        src-db/database/sourcedata/AD_MESSAGE.xml
        src/org/openbravo/event/OrderLineEventHandler.java

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed error with the netting payments documentNo
        src/org/openbravo/event/FINPaymentEventHandler.java

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed problem when moving shipments from orders when 
using Web POS.
The delivered quantity is updated in OrderLoader class.
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add Cancel and Replace JUnit tests
        
src-test/src/org/openbravo/test/cancelandreplace/CancelAndReplaceTest.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData1.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData10.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData2.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData3.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData4.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData5.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData6.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData7.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData8.java
        
src-test/src/org/openbravo/test/cancelandreplace/data/CancelAndReplaceTestData9.java
        src-test/src/org/openbravo/test/AllAntTaskTests.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fixed issue when Associating old shipment to new 
receipt
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] remove setMaxResults(1)
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add a validation to avoid executing Cancel and Replace 
for POS and Warehouse Orders
        src-db/database/sourcedata/AD_MESSAGE.xml
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel Replace] Refactor createPayments to simplify code

Also changes to attend payment schedule details summed amounts instead of 
payment schedule amounts in order to take into account payments 'Awaiting 
Execution'
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Only remove *R* from no Zero payments to those that 
have *R* at the end
        src/org/openbravo/event/FINPaymentEventHandler.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Execute CancelAndReplaceUtils.cancelAndReplaceOrder in 
admin mode
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Don't allow to change order lines qty of cancellation 
orders when originals are delivered
        src-db/database/sourcedata/AD_MESSAGE.xml
        src/org/openbravo/event/OrderLineEventHandler.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix some fields names and positions
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add createReplacementOrder method in 
CancelAndReplaceUtils.java
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    Remove rollback and close from Cancel and Replace Utils

Another fix: When creating material transaction lines for netting shipment in 
cancelAndReplaceOrder method, when the product has an attribute set and 'Is 
Required at Least One Value' property of the attribute set is 'Y' set a fake 
AttributeSetInstance to avoid an error thrown in the trigger
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Commit done to pass try
        src-db/database/sourcedata/M_OFFER_TYPE.xml

    Asier Martirena <asier.martir...@openbravo.com> null
    Merged from PI
      
    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed problem with inverse orders delivery and invoice 
status.
The delivery and invoice status must be 0.
        src-db/database/sourcedata/AD_COLUMN.xml

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Changed 'Cancelled' for 'Canceled' in elements and 
messages
        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_MESSAGE.xml
        src-db/database/sourcedata/OBUIAPP_PROCESS.xml

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] 'Cancel and Replace' and 'Confirm Cancel and Replace' 
are now Standard Definition process, not Manual processes
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java
        web/js/cancelAndReplaceSalesOrderProcess.js
        web/js/confirmCancelAndReplaceSalesOrderProcess.js

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Backed out changeset fdcf66a76c82
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Changes in AD_Column after doing a Synchronize 
terminologies
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_COLUMN.xml

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] The default payment type is taken using directly the 
setDefaultType method, not from the json
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] License added to FINPaymentEventHandler.java class
        src/org/openbravo/event/FINPaymentEventHandler.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed problem that used to set *R* twice to some 
netting payments
        src/org/openbravo/event/FINPaymentEventHandler.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Inverse order doesn't have to store the time in 
orderered date
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed problem with the negative document number taken 
from POS
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Solved problems with to pass try.
Data needed to be exported
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_REF_LIST.xml

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed error generated during the merge
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] New event handler to change the documentNo for 
payments of amount 0.
Also compilation problems solved.
        src/org/openbravo/event/FINPaymentEventHandler.java
        src-db/database/model/views/FIN_PAYMENT_DETAIL_V.xml

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] In Sales Order/Invoice, Financial Account and Payment 
Method are not shown for details with payment of quantity 0.
Also, in cancelled orders, the delivery status is shown as 0% for cancelled 
orders.
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_COLUMN.xml
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml
        
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/model/views/FIN_PAYMENT_DETAIL_V.xml
        src-db/database/sourcedata/AD_COLUMN.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Log an error in the log file
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] When doing a C&R, the new documents generated doesn't 
use the sequence to calculate the docNo
        src-db/database/sourcedata/AD_FIELD.xml
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Code cleaned
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Remove duplicated code
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed problems when doing a cancel and replace in 
backend.
The financial account and was not correctly taken.
In C&R, the finishOrderPayments method mustn't be called if previously was any 
paymentScheduleDetail
        
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix issue where creating reservations for the new order

When new lines are created for a not fully paid layaway, the delivered quantity 
is still null so it should be taken into account
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add Replacement Order field in Sales Order window
        src-db/database/model/tables/C_ORDER.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel Layaway] Create new payments only if outstanding amount is not Zero
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] The inverse order must have the avtive user in 
'createdBy' field
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel & Replace] Add inverseOrder and jsonorder as parameters to cancel 
and replace hook
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHook.java
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHookCaller.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel & Replace] In C&R, the inverse order must have discounts with 
negative sign
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed problem with reservation.
A reservation mustn't be created if the delivered amount is the total amount.
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Modified hook to add new parameter
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHook.java
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHookCaller.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] The discounts of the original order are copied in the 
new order
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] When loading the payment schedule details, select only 
those that have payment detail
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Removed code that works with transactions.
Those transactions doesn't exist, because the payment of amount 0 doesn't 
generate transactions
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] In C&R, the paid amount in the new ticket is set in 
only one payment detail, even if there are multiple details
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] The amount of the new detais must be the amount of the 
old details, not the amount of the old payment
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Silambarasan Sekar <silambara...@qualiantech.com> null
    [Cancel and Replace] Hook for Cancel and Replace Order.
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHook.java
        
src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceOrderHookCaller.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Check if triggers are disabled before enabling them
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed errors in CancelAndReplace class.
Triggers must be only enabled and disabled if they were previously disabled.
'obposAppCashup' property is only set if the process comes from Web POS
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel And Replace] When creating the final order, if the outstanding is 0 
the payments are not set (are set in the invoice)
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Antonio Moreno <antonio.mor...@openbravo.com> null
    [Cancel and Replace] Always ensure that reservations are released and 
created
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Antonio Moreno <antonio.mor...@openbravo.com> null
    Added the possibility to associate shipment lines to the new lines instead 
of old ones.
        src-db/database/sourcedata/AD_REF_LIST.xml
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Backed out changeset 1d9f1d65930b
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Modified methods calls to not use deprecated methods
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Prakash M <prak...@qualiantech.com> null
    Fixes Issue 779 : Created index in order
        src-db/database/model/tables/C_ORDER.xml

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] In C&R process triggers are enabled when processing 
payments
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed issue with cancel layaway without partial 
payments
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fix solved in amount and outstanding amount in cancel 
layaway
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Solved problem with dependencies.
> Hook created to solve it.
        
src/org/openbravo/erpCommon/businessUtility/CancelLayawayPaymentsHook.java
        
src/org/openbravo/erpCommon/businessUtility/CancelLayawayPaymentsHookCaller.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed error with transaction's cashupId attribute when 
using C&R
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Inverse order and it transactions now have the 
cashupId value set
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed issue with negative order ordered quantity and 
delivered quantity
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed issue when creating order lines during cancel 
and replace process.
There was an error with negative order's orderlines.
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Get properly negative documentno coming from Web POS
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Cancel layaway process implemented for partially 
delivered.
The infraestructure is implemented, but it doesn't work because the partially 
delivered tickets are not treated correctly in Web POS.
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Fixed bug with the payment created to complete the 
inverse pay.
Now the payment is equal to the negative of the outstanding, not the amount.
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Cancel layaway refactored.
Now, cancel layaway creates in backend exactly the same payments created in Web 
POS.
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] The inverse payment must only create one payment 
schedule detail
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Adrián Romero <adrianrom...@openbravo.com> null
    Fixed cancel and replace layaways creation date.
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Remove duplicated line
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fixes and changes in Cancel and Replace utility

* Changes to support the functionality in the backend
* Changes to support the functionality when using it from Web POS but having 
triggers disabled
        src-db/database/sourcedata/AD_AUXILIARINPUT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_MESSAGE.xml
        src-db/database/sourcedata/AD_TAB.xml
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java
        web/js/confirmCancelAndReplaceSalesOrderProcess.js

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add proper messages
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_MESSAGE.xml
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Change Cancelled and Replaced column name to Is 
Cancelled
        src-db/database/model/tables/C_ORDER.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] show proper messages when cancelling and replacing a 
Sales Order
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        web/js/cancelAndReplaceSalesOrderProcess.js

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Display Cancelled and Replaced field in Sales Order
        src-db/database/sourcedata/AD_FIELD.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Pay completely Cancelled order when original order has 
no payments
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and replace] Add cancelOrder method to utils
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Fix issue with auxiliary input in Oracle
        src-db/database/sourcedata/AD_AUXILIARINPUT.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Refactor in get orderline list method
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Set properly delivered quantity to orderlines
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Implement C&R to be able to call from OrderLoader in 
Web POS
        src-db/database/sourcedata/AD_REF_LIST.xml
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Implement netting shipment for new order, dont 
re-assign old shipment
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add Is cancelled and replaced column to Sales Order
        src-db/database/model/tables/C_ORDER.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] Add CancelAndReplaceNoNetShipment property list option
        src-db/database/sourcedata/AD_REF_LIST.xml

    Unai Martirena <unai.martir...@openbravo.com> null
    [Cancel and Replace] New Utils class to implement refactored Confirm Cancel 
& Replace logic
        src/org/openbravo/erpCommon/businessUtility/CancelAndReplaceUtils.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Asier Martirena <asier.martir...@openbravo.com> null
    [Cancel and Replace] Merge from but-dev
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Bugfix 2
        src-db/database/model/functions/M_INOUT_POST.xml
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Bugfix
        src-db/database/sourcedata/AD_FIELD.xml
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Guillermo Gil <guillermo....@openbravo.com> null
    [Cancel and Replace] Set payment amounto to zero
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Payments amount fix
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Pop Up Remove 2
        web/js/cancelAndReplaceSalesOrderProcess.js
        web/js/confirmCancelAndReplaceSalesOrderProcess.js

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Pop Up Remove
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
        src-db/database/sourcedata/OBUIAPP_PROCESS.xml
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] General Bugfix
        src-db/database/sourcedata/AD_AUXILIARINPUT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Partial Payments Creation 2
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Code Review
        src-db/database/model/tables/C_ORDER.xml
        src-db/database/model/tables/C_ORDERLINE.xml
        src-db/database/sourcedata/AD_AUXILIARINPUT.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/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Partial Payments Creation
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Standard Order Document Type modification commented out
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Standard Order Document Type modification
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Shipment Bugfix
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Payments Creation 2
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Display logic bugfix & Payments Creation 1
        src-db/database/sourcedata/AD_AUXILIARINPUT.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] General Bugfix & Booked status for replacement order
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Shipments Creation 2
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Guillermo Gil <guillermo....@openbravo.com> null
    [Cancel and Replace] Added missing elements
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    Shipments Creation 1
        src-db/database/model/tables/C_ORDERLINE.xml
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_FIELD.xml
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Button Display logic bugfix
        src-db/database/sourcedata/AD_FIELD.xml

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Button Display logic
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_ELEMENT.xml
        src-db/database/sourcedata/AD_FIELD.xml
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Orders Creation & Display logic bugfix
        src-db/database/sourcedata/AD_FIELD.xml
        src-db/database/sourcedata/AD_TAB.xml
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Buttons, Process Definition & Temporal Order Creation 2
        src-db/database/model/tables/C_ORDER.xml
        src-db/database/sourcedata/AD_COLUMN.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/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java

    Ander Iraceburu <ander.iraceb...@openbravo.com> null
    [Cancel and Replace] Buttons, Process Definition & Temporal Order Creation 1
        src/org/openbravo/common/actionhandler/CancelAndReplaceSalesOrder.java
        
src/org/openbravo/common/actionhandler/ConfirmCancelAndReplaceSalesOrder.java
        src-db/database/model/tables/C_ORDER.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_REF_LIST.xml
        src-db/database/sourcedata/M_OFFER_TYPE.xml
        src-db/database/sourcedata/OBUIAPP_PROCESS.xml

    RM packaging bot <staff...@openbravo.com> null
    CI: merge back from main
        src-db/database/sourcedata/AD_MODULE.xml

    RM packaging bot <staff...@openbravo.com> null
    CI: update AD_MODULE to version 30071
        
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

Changes for Build #1574

    Mark <markm...@gmail.com> null
    Fixes issue 33838: Correct Stock Reservation when created from a closed 
order

When voiding a shipment related to a reserved order, if order is closed, new 
reservation will not be created (in case order was fully shipped) and existing 
reservation will not be updated (in case order was partially shipped).
Besides, when closing an order, related reservation will be also closed.
        src-db/database/model/functions/C_ORDER_POST1.xml
        src-db/database/model/functions/M_INOUT_POST.xml

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    Related to issue 33879: Code review improvements
        src-db/database/model/functions/M_INOUT_POST.xml
        
src/org/openbravo/common/actionhandler/ManagePrereservationActionHandler.java
        
src/org/openbravo/common/actionhandler/ManageReservationActionHandler.java

    Mark <markm...@gmail.com> null
    Fixes issue 33879: Avoid error when closing reservation from Stock 
Reservation

Avoided exception when the quantity of reservation stock lines have null value.
When the ManageReservationActionHandler processed the stock reservation it 
stores the realesed quantity with ZERO value instead of null.
        
src/org/openbravo/common/actionhandler/ManageReservationActionHandler.java

    Alvaro Ferraz <alvaro.fer...@openbravo.com> null
    Related to issue 24191: Code review improvements

- Move AcctSchemaStructureProvider.java to same folder as 
OrganizationStructureProvider.java.
- Rename acctSchemaSP variable to acctSchemaProvider in OBContext.java.
- Remove unused data variable in AcctSchema.java.
- Add commentary to explain why we send limit manually to xsql query in 
AcctServer.java.
- Do not send numberRegisters parameter to AcctServerData.select as we are 
already sending the limit.
- Undo changes in AcctServerData.periodOpen method and create new 
AcctServerData.selectPeriodOpen method to avoid a functional API change.
        src/org/openbravo/dal/security/AcctSchemaStructureProvider.java
        src/org/openbravo/dal/core/OBContext.java
        src/org/openbravo/erpCommon/ad_forms/AcctSchema.java
        src/org/openbravo/erpCommon/ad_forms/AcctServer.java
        src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql
        src/org/openbravo/erpCommon/ad_forms/AcctSchemaStructureProvider.java

    David Miguelez <david.migue...@openbravo.com> null
    Fixes Issue 24191. Improves performance for Accounting Background Process.

Adds Index in FIN_FINACC_TRANSACTION Table.
Modifies query in AcctServer_data to properly limit the results returned.
Modifies query in AcctServer_data to remove the order clause.
Persist information about Accounting Schemas in Java code so it is no longer
necessary to access the Database everytime to retrive that information.
        src/org/openbravo/erpCommon/ad_forms/AcctSchemaStructureProvider.java
        src-db/database/model/tables/FIN_FINACC_TRANSACTION.xml
        src/org/openbravo/dal/core/OBContext.java
        src/org/openbravo/erpCommon/ad_forms/AcctSchema.java
        src/org/openbravo/erpCommon/ad_forms/AcctServer.java
        src/org/openbravo/erpCommon/ad_forms/AcctServer_data.xsql

    Atul Gaware <atul.gaw...@openbravo.com> null
    Fixes issue 33859: Wrong Total Gross Amount in orders and invoices

Wrong Total Gross Amount in orders and invoices as the changes made in tax tab 
records do not recalculate it.

For Purchase Order and Sales Order, Tax tab is made read only so only record 
are created, modified and deleted only through order lines.
Manual insertion, updation and deletion is not possible.

In case of Sales Invoice and Purchase Invoices, records created by invoice line 
are marked with recalculate flag = Yes.
Read Only logic based on this flag does not allow user to modify fields tax, 
tax amount and taxable amount of invoice tax records.
Event handler restricts user to delete invoice tax records with recalculate 
flag = Yes.
To avoid event handlers interference with 
ReorderCascadingChildDeletionsHandler.java, on Invoice deletetion, before 
deleting invoice tax records, flag recalculate is set = No
        src/org/openbravo/event/InvoiceTaxEventHandler.java
        
modules/org.openbravo.client.application/src/org/openbravo/client/application/event/ReorderCascadingChildDeletionsHandler.java
        src-db/database/sourcedata/AD_COLUMN.xml
        src-db/database/sourcedata/AD_MESSAGE.xml
        src-db/database/sourcedata/AD_TAB.xml




Last 20 lines of the console output:

[...truncated 19617 lines...]
    [junit] Sep 16, 2016 11:14:56 AM org.openqa.selenium.remote.Augmenter 
extractRemoteWebDriver
    [junit] WARNING: Augmenter should be applied to the instances of 
@Augmentable classes or previously augmented instances only
    [junit] Sep 16, 2016 11:25:43 AM org.openqa.selenium.remote.Augmenter 
extractRemoteWebDriver
    [junit] WARNING: Augmenter should be applied to the instances of 
@Augmentable classes or previously augmented instances only
    [junit] Sep 16, 2016 11:38:12 AM org.openqa.selenium.remote.Augmenter 
extractRemoteWebDriver
    [junit] WARNING: Augmenter should be applied to the instances of 
@Augmentable classes or previously augmented instances only
    [junit] 

BUILD FAILED
/srv/ci/workspace/int-basic-pgsql/SANDBOX/automation/pi/build.xml:335: The 
following error occurred while executing this line:
/srv/ci/workspace/int-basic-pgsql/SANDBOX/automation/pi/build.xml:74: Test 
com.openbravo.test.integration.erp.testsuites.smoke.SmokeModulesSuite failed

Total time: 60 minutes 30 seconds
Build step 'Execute managed script' marked build as failure
Recording test results
Archiving artifacts
Checking \] ERROR|\] WARN
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any
------------------------------------------------------------------------------
_______________________________________________
Openbravo-builds mailing list
Openbravo-builds@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to