on 05-02-2011 8:18 PM
Buenos Dias
He estado intentando hacer un query que me muestre cuantos articulos tengo en un almacen y el peso total de estos articulos (en estos casos seria toneladas), Alguna idea.
Se los agredeceria mucho
Saludos
Asi es quiero hacer lo segundo.
La cantidad y e peso total de ese articulo en el almacen.
Es decir si en un alacen tengo el 2 pieza de articulo 0001 donde uno pesa 10 y el otro 5, el query deberia mostrar articulo 0001 Peso total=15
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hola
Calcular el stock en el almacen no es problema, pero el peso lo tienen dentro de los datos de articulos en SAP o quieres hacer la operacion de calculo por articulo?
Slds
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Intentar esta consulta,
Select T0.ItemCode, T1.OnHand,
(Isnull(T0.SWeight1,1) * T1.InStock) [Peso Total]
from OITM T0
inner join OITW T1 on T0.ItemCode = T1.ItemCode
where T1.OnHand > 0
Saludos
Bala
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
104 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.