[ 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:
parent
03c13ddb83
commit
60ddefa711
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue