a!queryEntity( entity: cons!TEMS_ENTITY_V_TE_DETAILS, query: a!query( paginginfo: a!pagingInfo(1, - 1), logicalexpression: a!queryLogicalExpression( operator: "OR", filters: { a!queryFilter( field: "cafNumber", operator: "=", value: tostring(local!selectedCaf) ) } ) ), fetchTotalCount: true ).data
Hi All,
I am getting the error "Cannot index property 'permittedTeRange' of type String into type List of Variant". I have attached the code above. Can anyone please help me out.
Discussion posts and replies are publicly visible
Seems like you try to fetch data from a field using dot-notation. This does not work in case the query returns no data. Use the index() function instead or make sure the query always returns valid data.