
johndanter
Legendary Poster
Hi folks,
We have created a UBEVER and the user is prompted to enter their MCU and ITM.
So in the versions data selection MCU and ITM were setup the usual way with = NULL
What some users have been doing is saying WHERE BC ITM = BC ITM (rather than the list they should be using)
Data Selection in Job is
IF CostCenter (F41021)(MCU)[String] == Literal: 236S
AND IdentifierShortItem (F41021)(ITM)[MATH_NUMERIC] == IdentifierShortItem (F41021)(ITM)[MATH_NUMERIC]
SQL
SELECT LIITM, LIMCU, LILOCN, LILOTN, LIPBIN, LIQWBO, LIHCOM, LIPCOM, LIFUN1, LIQOWO, LIQTY1, LIJOBN, LIPID, LIUPMJ, LIUSER, LITDAY, LIPJCM FROM CRPDTA.F41021 WHERE ( ( LIMCU = ' 236S' AND LIITM = LIITM ) ) ORDER BY LIITM ASC,LIMCU ASC,LIPBIN ASC
Is there a way of restricting users from doing this and forcing them to add actual literal values.
Thanks
John
We have created a UBEVER and the user is prompted to enter their MCU and ITM.
So in the versions data selection MCU and ITM were setup the usual way with = NULL
What some users have been doing is saying WHERE BC ITM = BC ITM (rather than the list they should be using)
Data Selection in Job is
IF CostCenter (F41021)(MCU)[String] == Literal: 236S
AND IdentifierShortItem (F41021)(ITM)[MATH_NUMERIC] == IdentifierShortItem (F41021)(ITM)[MATH_NUMERIC]
SQL
SELECT LIITM, LIMCU, LILOCN, LILOTN, LIPBIN, LIQWBO, LIHCOM, LIPCOM, LIFUN1, LIQOWO, LIQTY1, LIJOBN, LIPID, LIUPMJ, LIUSER, LITDAY, LIPJCM FROM CRPDTA.F41021 WHERE ( ( LIMCU = ' 236S' AND LIITM = LIITM ) ) ORDER BY LIITM ASC,LIMCU ASC,LIPBIN ASC
Is there a way of restricting users from doing this and forcing them to add actual literal values.
Thanks
John
Last edited: