Skip to main content
Question

Custom tab in standard page with entity association


REOGIRARD
Do Gooder (Customer)
Forum|alt.badge.img+5

Hello everyone,

I’m trying to add a tab which contains a list from a custom entity into a standard page.
The standard page is Inventory Part Availability Planning and the custom entity is basically a comments entity.

I added the custom entity into the Projection “InventoryPartAvailabilityPlanningAnalysis” and added an entity association between those 2 entities with 2 mapped keys : “PartNo” and “Contract”.

My custom entity :


 The projection configuration with mapping :


CF$_PART_NO is a persistend field of type reference

I followed documentation and it did not work : the list is not filtered by the effective partNo / contract on the page.
https://docs.ifs.com/techdocs/24r1/040_tailoring/225_configuration/200_client_configurations/250_entity_configurations/010_adding_custom_entity_to_standard_pages/#add_a_custom_entity_to_an_ifs_cloud_standard_page

 

 

 Here is the aurena page design to display my list in my “Comments” tab :

 

 When I check my “Comments” tab, it’s empty, no data :

 

If I set the datasource on the list, no data either.

If I remove the Binding on the list, my data is displayed, but all the entity will be displayed, without filter on Contract and PartNo which I set on the entity association mapping.

I added the binding on the list without datasource according to ​@tofuse comment on this topic :
 



I don’t know what I do wrong and why I cannot filter on specified mapping fields.

Any idea ?

4 replies

EntNadeeL
Hero (Partner)
Forum|alt.badge.img+10
  • Hero (Partner)
  • 181 replies
  • March 28, 2025

@REOGIRARD 

Which data source did you set?


REOGIRARD
Do Gooder (Customer)
Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 10 replies
  • March 28, 2025

Hello ​@EntNadeeL 

I use the custom entity set : RecPartCommentsSet
 


I have 2 choices as you can see in the screenshot below :
 


Selecting the datasource with binding active result in no data in the commentary list I just added, I also have an error related to view / table :


I just checked in entity configuration page if I had to activate an additional view on InvPartConfigProject entity or on my custom entity RecPartComments, but list is empty for InvPartConfigProject entity, and no button “Additional view” available for my custom entity.

In my first message in this thread the datasource was not set even if I tested it, because tofuse says in his commentary in this topic that we don’t need it for the case I try to achieve :
https://community.ifs.com/distribution%2Dcrm%2Dcommerce%2D39/custom%2Dtab%2Dwith%2Da%2Dgroup%2Din%2Difs%2Dcloud%2D26750?postid=123530#post123530#post123530


Forum|alt.badge.img+8
  • Sidekick (Customer)
  • 78 replies
  • March 31, 2025

I had a similar issue recently in Apps 10. After extensive testing I concluded that associations don't work when they are based on a custom reference field. I suspect this is related to the fact that in the custom table, the reference field is populated with the ObjectKey of the referenced object rather than the Object ID itself (although I’m not 100% sure - it’s just a guess really).

I found that if i create custom fields of type “Text” then the associations work fine. This work around is not ideal though, as it means we have to manually enter the value instead of using LoV to populate the field, and it becomes possible to enter invalid values. As such, I would be interested in hearing if anyone has any other workarounds / solutions to this.

  • Robin

REOGIRARD
Do Gooder (Customer)
Forum|alt.badge.img+5
  • Author
  • Do Gooder (Customer)
  • 10 replies
  • March 31, 2025

Hello ​@RobinHunter ,

Thank you for your answer. The 2 fields used for mapping are reference type, so I’m gonna try to remake those as text type and I’ll tell you if it solve my issue.
The no LoV availability is not an issue here and with a workflow I should be able to add partno and contract automatically without any user intervention which avoid any typing error from them.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings