[ 2021945 ] Setup integration Payroll with Project and Activity Control

http://sourceforge.net/tracker/index.php?func=detail&aid=2021945&group_id=176962&atid=879335
This commit is contained in:
vpj-cd 2008-07-19 01:18:10 +00:00
parent 03c13ddb83
commit 60ddefa711
5 changed files with 3 additions and 6 deletions

View File

@ -18,8 +18,7 @@ obl.c_uom_id,
s.qtyonhand, s.qtyonhand,
round(obl.qtyrequiered, 4) AS qtyrequiered, round(obl.qtyrequiered, 4) AS qtyrequiered,
CASE WHEN o.qtybatchs = 0 THEN 1 ELSE round(obl.qtyrequiered / o.qtybatchs, 4) END AS qtybatchsize, CASE WHEN o.qtybatchs = 0 THEN 1 ELSE round(obl.qtyrequiered / o.qtybatchs, 4) END AS qtybatchsize,
round(bomqtyreserved(obl.m_product_id, round(bomqtyreserved(obl.m_product_id,obl.m_warehouse_id, 0), 4) AS qtyreserved,
obl.m_warehouse_id, 0, 4) AS qtyreserved,
round(bomqtyavailable(obl.m_product_id, obl.m_warehouse_id,0), 4) AS qtyavailable, round(bomqtyavailable(obl.m_product_id, obl.m_warehouse_id,0), 4) AS qtyavailable,
obl.m_warehouse_id, obl.m_warehouse_id,
obl.qtybom, obl.qtybom,

View File

@ -18,8 +18,7 @@ obl.c_uom_id,
s.qtyonhand, s.qtyonhand,
round(obl.qtyrequiered, 4) AS qtyrequiered, round(obl.qtyrequiered, 4) AS qtyrequiered,
CASE WHEN o.qtybatchs = 0 THEN 1 ELSE round(obl.qtyrequiered / o.qtybatchs, 4) END AS qtybatchsize, CASE WHEN o.qtybatchs = 0 THEN 1 ELSE round(obl.qtyrequiered / o.qtybatchs, 4) END AS qtybatchsize,
round(bomqtyreserved(obl.m_product_id, round(bomqtyreserved(obl.m_product_id,obl.m_warehouse_id, 0), 4) AS qtyreserved,
obl.m_warehouse_id, 0, 4) AS qtyreserved,
round(bomqtyavailable(obl.m_product_id, obl.m_warehouse_id,0), 4) AS qtyavailable, round(bomqtyavailable(obl.m_product_id, obl.m_warehouse_id,0), 4) AS qtyavailable,
obl.m_warehouse_id, obl.m_warehouse_id,
obl.qtybom, obl.qtybom,

View File

@ -546,8 +546,7 @@ obl.c_uom_id,
s.qtyonhand, s.qtyonhand,
round(obl.qtyrequiered, 4) AS qtyrequiered, round(obl.qtyrequiered, 4) AS qtyrequiered,
CASE WHEN o.qtybatchs = 0 THEN 1 ELSE round(obl.qtyrequiered / o.qtybatchs, 4) END AS qtybatchsize, CASE WHEN o.qtybatchs = 0 THEN 1 ELSE round(obl.qtyrequiered / o.qtybatchs, 4) END AS qtybatchsize,
round(bomqtyreserved(obl.m_product_id, round(bomqtyreserved(obl.m_product_id,obl.m_warehouse_id, 0), 4) AS qtyreserved,
obl.m_warehouse_id, 0, 4) AS qtyreserved,
round(bomqtyavailable(obl.m_product_id, obl.m_warehouse_id,0), 4) AS qtyavailable, round(bomqtyavailable(obl.m_product_id, obl.m_warehouse_id,0), 4) AS qtyavailable,
obl.m_warehouse_id, obl.m_warehouse_id,
obl.qtybom, obl.qtybom,