on 01-03-2015 8:37 PM
Hola,
Me gustaría crear un Query que me sacase el stock actual de todos los componentes de una determinada lista de materiales.
Muchas gracias.
Hola
como bien indica Carlos utilizaría OITT, ITT1 para los componentes y OITW para el stock por almacén.
Un saludo
Agustín Marcos Cividanes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hola
más o menos:
SELECT T1.[Code], T2.[ItemName], T3.[OnHand] FROM OITT T0 INNER JOIN ITT1 T1 ON T0.Code = T1.Father INNER JOIN OITM T2 ON T0.Code = T2.ItemCode INNER JOIN OITW T3 ON T2.ItemCode = T3.ItemCode AND T1.warehouse = T3.warehouse WHERE T0.[Code] = '[%0]'
Un saludo
Agustín Marcos Cividanes
Hola Oscar podrias utilizar las tablas OITT (Encabezado de Lista de Materials) la ITT1 (Detalle de lista de materiales) y la OITM (Articulos) y en los articulos podrias utiliza rl campo OnHand(que es el stock del articulo).
Espero te sea de ayuda mi comentario
Saludos
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
97 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
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.