which is Efficient way

Certified Associate Developer

for explaining sake im using this examples 

Let's say

local!role : index(
local!lookupDetails,
wherecontains(
cons!IHL_TXT_R_ALL_CATEGORIES[1],
index(
local!lookupDetails,
"role"
null
)
)
)

i need to use one values from the record in my UI many places

for that can i  hold it in one local and pass wherever needed.

or can i use it directly wherever  i needed

if so i need to call index,whereconains in many places right dont it consume memory 

and it will make the code repetitive lines get increase

what is the best practice.
 

  Discussion posts and replies are publicly visible

Parents Reply Children