Skip to main content

HI Expert,

 

I'm in the process of creating a custom LOV filtration.

 

there I added new custom LU to hold  some basic data, where you can match object level and object types, I have added a fndboolean field to set the record status as allowed or not 

 

 

Then I  Created a reference field to this LU in Functional object entity, now I'm going to add that as a lov field in the functional object page and filter based on the object level attached to the functional object (This works perfectly)

 

additionally I want to filter the LOV based on the Allowed toggle button, as soon as i add that into data source addgreget ref I'm getting the below error. 

 

 

any idea to resolve this ?

Kind Regards!

Niyo

@NiyomalN Hi Niyomal!

I’m not sure about the Data Source AggregateRef usage, but there’s an easy way to filter LoV’s from Page Designer using OData filter syntax. If you haven’t tried that already, I’d highly recommend that approach to show only the Allowed records. See more here: 

https://docs.ifs.com/techdocs/24r2/040_tailoring/225_configuration/200_client_configurations/310_conditional_fields/100_conditional_lov/

Best regards,

Rukmal


@NiyomalN Hi Niyomal!

I’m not sure about the Data Source AggregateRef usage, but there’s an easy way to filter LoV’s from Page Designer using OData filter syntax. If you haven’t tried that already, I’d highly recommend that approach to show only the Allowed records. See more here: 

https://docs.ifs.com/techdocs/24r2/040_tailoring/225_configuration/200_client_configurations/310_conditional_fields/100_conditional_lov/

Best regards,

Rukmal

Hi Rukmal,

 

Thank you so much for the response, I tried this earlier. the problem is when I create a custom field using fndboolean  in a custom LU and when I use that custom Lu's Boolean field as a filer or in data source aggregate ref. it seems like the system is passing two different types into OData filter query .

 

I'm not sure why the types are change when referencing to a Boolean field in a custom LU.

 

OData Filtration works with other string types custom fields in custom LU without any issues.

 

Only the Boolean fields are gibing this issue.

 

Kind Regards!
Niyomal.


@Navinth Bakmeedeniya is this something you can advise on?

Thanks!

Rukmal 


Hello ​@NiyomalN 

I assume you are testing this in 24R2 version. If so, this is due to a core defect in the metadata generation for reference type custom attributes, where Boolean LOV attributes had been incorrectly mapped as enumerations.

The issue is already fixed in the latest SU (as of now), 24R2 SU4 & onwards.

Hope this helps!

Thanks.

Navinth

cc - ​@Rukmal Fernando 


Hello ​@NiyomalN 

I assume you are testing this in 24R2 version. If so, this is due to a core defect in the metadata generation for reference type custom attributes, where Boolean LOV attributes had been incorrectly mapped as enumerations.

The issue is already fixed in the latest SU (as of now), 24R2 SU4 & onwards.

Hope this helps!

Thanks.

Navinth

cc - ​@Rukmal Fernando 

Thank you so much ​@Navinth Bakmeedeniya  🙂.

 

customer is in SU3 so once we have SU4 I'll re map the changes. for the time being i added another custom LU to manipulate the Boolean and it worked.

 

once we update , I'll check this .

 

Kind Regards!
Niyomal.


@NiyomalN As I mentioned previously, this is caused in in IFS Cloud 24R2 this is due to a core defect in the metadata generation for reference type custom attributes, where Boolean LOV attributes had been incorrectly mapped as enumerations.

We included the initial fix in 24R2 SU4 but we’ve now released an improvement on top of that, which is already available in 24R2 SU5. So, I advice you to go for 24R2 SU5 or above, which would provide you a more precise metadata generation covering almost all related aspects of this.


Reply