Vedank Kulshrestha
Programmer
Hello,
I tried to fetch reference name for selected Tender Item on check. @Dtl_Selected[ecnt] gives always 0 for Reference Item. Are there any way to determine and fetch tender reference name ? Below is the code snippet for reference but it couldn't give the result that I am expecting to see.
var dtype:a5
var ecnt:n3
var selected:n2
for ecnt = 1 to @Numdtlt
dtype = @Dtl_type[ecnt]
selected = @Dtl_Selected[ecnt]
if dtype = "R" and selected = 1
InfoMessage "RefName","@dtl_name"
endif
endfor
Any help would be appreciated .
I tried to fetch reference name for selected Tender Item on check. @Dtl_Selected[ecnt] gives always 0 for Reference Item. Are there any way to determine and fetch tender reference name ? Below is the code snippet for reference but it couldn't give the result that I am expecting to see.
var dtype:a5
var ecnt:n3
var selected:n2
for ecnt = 1 to @Numdtlt
dtype = @Dtl_type[ecnt]
selected = @Dtl_Selected[ecnt]
if dtype = "R" and selected = 1
InfoMessage "RefName","@dtl_name"
endif
endfor
Any help would be appreciated .