spc0053 !!!! URGENTE!! AYUDA CON EL TRABAJO!!
Publicado por gonz@ (10 intervenciones) el 18/05/2012 14:41:07
HOLA!
el warning surge cuando pongo las condiciones "when not &ArticuloId.IsEmpty()"...
alguna equivalencia al when not..
porque si o si necesito que sea asi, por como hice el modelo
DESDE YA MIL GRACIAS!!
Event GridPorMes.Load
if &FlagPorMes
for each order TG_Anio
where TG_Anio >= &AnioI when not &AnioI.IsEmpty()
where TG_Anio <= &AnioF when not &AnioF.IsEmpty()
&Anio = TG_Anio
for each order TG_Mes
where TG_Mes >= &MesI
where TG_Mes <= &MesF
&Mes = str(TG_Mes)
&Venta = 0
for each
where TG_SucursalId = &SucursalId
where TG_ArticuloID = &ArticuloId when not &ArticuloId.IsEmpty()
where TG_ProductoId = &ProductoId when not &ProductoId.IsEmpty()
where TG_SubFamiliaId = &SubFamiliaId when not &SubFamiliaId.IsEmpty()
where TG_FamiliaId = &FamiliaId when not &FamiliaId.IsEmpty()
&Venta += TG_Venta
endfor
LOAD
endfor
endfor
endif
EndEvent
spc0053 Conditional constraint "TG_ArticuloID = &ArticuloId" cannot be generated in group starting at line 404. Changed to standard constraint.
el warning surge cuando pongo las condiciones "when not &ArticuloId.IsEmpty()"...
alguna equivalencia al when not..
porque si o si necesito que sea asi, por como hice el modelo
DESDE YA MIL GRACIAS!!
Event GridPorMes.Load
if &FlagPorMes
for each order TG_Anio
where TG_Anio >= &AnioI when not &AnioI.IsEmpty()
where TG_Anio <= &AnioF when not &AnioF.IsEmpty()
&Anio = TG_Anio
for each order TG_Mes
where TG_Mes >= &MesI
where TG_Mes <= &MesF
&Mes = str(TG_Mes)
&Venta = 0
for each
where TG_SucursalId = &SucursalId
where TG_ArticuloID = &ArticuloId when not &ArticuloId.IsEmpty()
where TG_ProductoId = &ProductoId when not &ProductoId.IsEmpty()
where TG_SubFamiliaId = &SubFamiliaId when not &SubFamiliaId.IsEmpty()
where TG_FamiliaId = &FamiliaId when not &FamiliaId.IsEmpty()
&Venta += TG_Venta
endfor
LOAD
endfor
endfor
endif
EndEvent
spc0053 Conditional constraint "TG_ArticuloID = &ArticuloId" cannot be generated in group starting at line 404. Changed to standard constraint.
Valora esta pregunta
0