details: https://code.openbravo.com/erp/devel/pi/rev/d52eb3542b99 changeset: 30490:d52eb3542b99 user: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com> date: Mon Oct 17 18:08:57 2016 +0200 summary: Related to issue 34055: Remove isunitcost condition
Remove isunitcost condition in M_INITIALIZE_STOCK_VALUATION query. diffstat: src-db/database/model/functions/M_INITIALIZE_STOCK_VALUATION.xml | 1 - 1 files changed, 0 insertions(+), 1 deletions(-) diffs (11 lines): diff -r 839a52f407fc -r d52eb3542b99 src-db/database/model/functions/M_INITIALIZE_STOCK_VALUATION.xml --- a/src-db/database/model/functions/M_INITIALIZE_STOCK_VALUATION.xml Mon Oct 17 17:00:58 2016 +0200 +++ b/src-db/database/model/functions/M_INITIALIZE_STOCK_VALUATION.xml Mon Oct 17 18:08:57 2016 +0200 @@ -75,7 +75,6 @@ LEFT JOIN m_transaction_cost tc ON (trx.m_transaction_id = tc.m_transaction_id) WHERE trx.m_product_id = cur_products.m_product_id AND trx.iscostcalculated = 'Y' - AND tc.isunitcost = 'Y' AND AD_ORG_ISINNATURALTREE(trx.ad_org_id, Cur_legal_entities.ad_org_id, p_client) ='Y' AND trx.ad_client_id = p_client GROUP BY trx.m_transaction_id, trx.m_product_id, tc.c_currency_id, tc.dateacct, w.m_warehouse_id, trx.movementqty ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ Openbravo-commits mailing list Openbravo-commits@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbravo-commits