on 09-06-2010 10:19 PM
Buenas tardes
Necesito sacar todos los productos del almacen y dar entrada con un código diferente, existe una forma de exportar todo lo que hay en existencias con lote, como si estuvieran listos para DTW?? y únicamente cambiar el código y dar entrada nuevamente?
Espero haberme explicado, muchas gracias.
Puedes armar un template con un query entre la OITM,la OITW y la OIBT para traer tu relacion de articulos con existencia y numeros de lote
De esta forma acomodas tus columnas para armar de nuevo tu carga con su nuevo ItemCode
Apoyate en tus templates de cargas iniciales
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gracias por la guia, posteo mi consultar por si alguno le sirve, tiene detalle pero sirve para lo que requiero
TOTALES
select 1 as 'RecordKey', 0 as 'LineNum', 'xxxxxx' as 'AccountCode', T1.ItemCode,T1.WhsCode,t1.OnHand as 'Quantity',0 as 'UnitPrice' from OITM T0
inner join OITW T1 on T0.ItemCode=T1.ItemCode
where T0.ItmsGrpCod = 148 and T1.OnHand <> 0
group by T1.ItemCode,T1.WhsCode,t1.OnHand
order by LineNum
CANTIDAD POR LOTE Y ALMACEN
select 1 as 'RecordKey', 0 as 'LineNum',T1.InDate as AddmisionDate,rank() over (order by T1.ItemCode) as BaseLineNumber, T1.BatchNum,t1.Quantity,T1.ItemCode,T1.WhsCode from OITM T0
inner join OIBT T1 on T0.ItemCode=T1.ItemCode
where T0.ItmsGrpCod = 148 and T1.Quantity <> 0
group by T1.ItemCode,T1.WhsCode,T1.BatchNum,t1.Quantity,T1.InDate
order by BaseLineNumber
Saludos
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
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.