on 06-02-2011 9:23 PM
Hola a todos
He creado un camo de usuario para las Notas crédito por Servicio llamado U_ItemCodeSer, he creado una busqueda formateada para que me traiga los códigos.
Ahora en la descripcion estoy haciendo una busqueda formateada que me traiga el nombre dependiento del código que haya en ItemCodeSer, pero no me trae ninguna informacion.
Esto es la busqueda que tengo
DECLARE @DESC VARCHAR(100)
SET @DESC = ( SELECT T0.ItemName FROM .[OITM] T0 WHERE T0.ItemCode='$[RIN1.U_ItemCodeSer]')
Que estoy haciendo mal que no me quiere traer la descripcion
JUAN CAMILO
Te falta al final el
select @DESC
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
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.