int-accounting-pgsql - Build # 1825 - Failure:

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


Committers since last success:

Changes for Build #1825

    David Miguelez <[email protected]> null
    Related to Issue 36878. Code Review Fixes

* In ReportValuedStock.java, when looking for the last costing rule
  filter by validated costing rules
* In queries, check that the warehouses are equal only when the warehouse
  dimension is Y
* Use left join with the M_Costing subqueri instead of a join
        src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.java
        src/org/openbravo/erpCommon/ad_reports/ReportValuationStock_data.xsql

    David Miguelez <[email protected]> null
    Related to Issue 36878. Code Review fixes:

* Removed query to retrieve last M_Costing in Consolidated with cost query
  for the group of Transactions without Cost calculated. This must be null
* Take into account Warehouse Dimension in both queries that look for costs
   - In not consolidated, if the Warehouse Dimension is checked, the Warehouse
     of the Costing record must be the same one as the Transaction
   - In the consolidated, the Organization of the Warehouse of the Costing 
record
     must belong to the Organization of the filter of the Report. In this case,
     the average of the Costing records must be returned as the last costing 
record
        src/org/openbravo/erpCommon/ad_reports/ReportValuationStock.java
        src/org/openbravo/erpCommon/ad_reports/ReportValuationStock_data.xsql

    Mark <[email protected]> null
    Fixes issue 36878: [Valued Stock Report]: Wrong Actual Cost and Valuation
if the costing rule is validated with warehouse dimension.

Incorrect computation was made because costs related to transactions were not
grouped by warehouse and more than one cost could be showed with the cost of the
current line related to it. To fix this issue were took into account that if the
costing rule has the warehouse dimension activated, costs will be related to 
them
and calculated taking into account the transaction's warehouse. If the costing 
rule
hasn't the Warehouse dimension activated, then cost doesn't has the warehouse 
column
filled. Both cases are taken into account to a correct computation of costs.

Also was fixed when Consolidated warehouse option is choosed.
        src/org/openbravo/erpCommon/ad_reports/ReportValuationStock_data.xsql




Last 20 lines of the console output:

[...truncated 1275 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-builds

Reply via email to