function for filtering and counting

PHOTO EMBED

Mon Jul 15 2024 14:59:49 GMT+0000 (Coordinated Universal Time)

Saved by @nishpod

res = thisapp.Residents.Fetchallresbyemail(input.Email);
for each  item in res
{
	counterr = 0;
	resprop = Residents[ID == item && Developments == 39703000013659197].Property_address;
	ipdcheck = pod_planner.Properties.IPDprivate(resprop);
	if(ipdcheck == "True")
	{
		counterr = counterr + 1;
	}
}
content_copyCOPY