Skip to main content
Question

Adding an attribute to entity does not actually add it to the entity


Forum|alt.badge.img+7

Hi, sorry was not able to phrase the question better, but here’s my issue:

 

I’m trying to do a customization in IFS Cloud, where I have to add a new attribute to two different entities (InstantInvoice & CustomerOrderInvHead). In both cases I do it the same way, in a Developer studio project choose to customize the respective entity, and then add a new attribute to the -Cust entity. Below is a screenshot of the Instant Invoice one:

 

For Instant Invoice, this works as expected, developer studio generates a .cre file that can be used to add the new column to the InstantInvoice table.

 

However, the issue I’m running into is that the other entity, CustomerOrderInvHead, is somehow a different kind of an entity, and doing the same customization to it does not yield a .cre file at all, and it seems as if the whole entity does not contain an underlying table, but rather is just extended from the Invoice entity. In such a case, how am I supposed to add a new attribute to it?

3 replies

Shehan Chandrasekara
Sidekick (Employee)
Forum|alt.badge.img+8

Since CustomerOrderInvHead is extended from the Invoice entity, I think you should add the new attribute to the Invoice entity if it does not exist there already. This step ensures that the attribute is part of the base structure from which CustomerOrderInvHead derives.


Rhillson
Sidekick (Customer)
Forum|alt.badge.img+5
  • Sidekick (Customer)
  • 32 replies
  • August 8, 2024

Deleted*


Forum|alt.badge.img+3
  • Do Gooder (Partner)
  • 13 replies
  • January 10, 2025
Shehan Chandrasekara wrote:

Since CustomerOrderInvHead is extended from the Invoice entity, I think you should add the new attribute to the Invoice entity if it does not exist there already. This step ensures that the attribute is part of the base structure from which CustomerOrderInvHead derives.

Hi ​@Shehan Chandrasekara  would you still leave it as public attribute in CustomerOrderInvHead entity or just add to Invoice entity and use CustomerOrderInvHead related client and projection file to show filed on Customer Invoice screen? 


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