Hi all,
I'm trying to get the max Int-value of a String-column to generate a new 'customId'.
Unfortunatly i get the error: "(Parse(EntityField(LPLA_1.cId AS cId)) > 0)" while using the query:
"int newcId = queryAdapter.FetchTenantEntityList<CustomerEntity>().Where(c => Int32.Parse(c.cId) > 0).Max(c => l.cId).First() + 1;"
Can you help me finding the correct way to do this??