smusba
16th March 2010, 12:02
Dear,
I have a moudule for shrimp processing. in the for field i want to restrict the item whose start position is "3" or "4" and 5th and 6th position are
60,32,33,58 etc.
My sample item code is
3 HGC 60 001001
4HXE 80001008
field.tdsfl102.sitm:
check.input:
select tiitm001.*
from tiitm001
where tiitm001._index1 = {:tdsfl102.sitm}
selectdo
tdsfl102.coop = tiitm001.copr
selectempty
message("Raw Item not found")
set.input.error("")
endselect
if tiitm001.item(5,6;2) = "60" then
message("Donot Enter H/o items")
set.input.error("")
endif
I have a moudule for shrimp processing. in the for field i want to restrict the item whose start position is "3" or "4" and 5th and 6th position are
60,32,33,58 etc.
My sample item code is
3 HGC 60 001001
4HXE 80001008
field.tdsfl102.sitm:
check.input:
select tiitm001.*
from tiitm001
where tiitm001._index1 = {:tdsfl102.sitm}
selectdo
tdsfl102.coop = tiitm001.copr
selectempty
message("Raw Item not found")
set.input.error("")
endselect
if tiitm001.item(5,6;2) = "60" then
message("Donot Enter H/o items")
set.input.error("")
endif