Generating unique ID with identical TEA

@ayman.tuffaha the A{IM.RE_code} is working perfectly, it is what I am using as a placeholder for now while waiting for the sequence to work. And it is still not working

This specific line of code is not recognized from my end… Is there perhaps any other way to look into this. Maybe it the version of DHIS2 I am using, which is 2.37.8; perhaps the code is different for that version upward.

image
I am still getting that