Is there a way to inherit modules of a table as well?

Navaneeth1
Tera Guru

I want to create a custom-scoped application table that inherits from the Change Request Table. Is it possible to inherit the modules of this table as well?

Also, is there a way to inherit the Change Task table as a custom table and define a relationship with my custom CR Table that I created by inheriting as mentioned in the first paragraph?

1 ACCEPTED SOLUTION

Maddysunil
Kilo Sage

@Navaneeth1 

When you create a custom table, you can inherit fields and business logic from existing tables, including tables like the Change Request [change_request] table. However, directly inheriting modules (such as forms, lists, and related lists) from the parent table is not supported.

Here's how you can achieve something similar:

  1. Inherit Fields and Business Logic: When creating your custom table, you can extend the existing table, such as Change Request [change_request], to inherit its fields and business rules. You can do this by extending the table in the Table Definition [sys_db_object] table or through application development studio.

  2. Copy Module Configuration: While you can't directly inherit modules from the parent table, you can manually configure your custom table's forms, lists, and related lists to match the modules of the parent table. You'll need to manually recreate the module configurations in your custom table by adding forms, lists, and related lists that suit your requirements.

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks

View solution in original post

4 REPLIES 4

Maddysunil
Kilo Sage

@Navaneeth1 

When you create a custom table, you can inherit fields and business logic from existing tables, including tables like the Change Request [change_request] table. However, directly inheriting modules (such as forms, lists, and related lists) from the parent table is not supported.

Here's how you can achieve something similar:

  1. Inherit Fields and Business Logic: When creating your custom table, you can extend the existing table, such as Change Request [change_request], to inherit its fields and business rules. You can do this by extending the table in the Table Definition [sys_db_object] table or through application development studio.

  2. Copy Module Configuration: While you can't directly inherit modules from the parent table, you can manually configure your custom table's forms, lists, and related lists to match the modules of the parent table. You'll need to manually recreate the module configurations in your custom table by adding forms, lists, and related lists that suit your requirements.

Please Mark Correct if this solves your query and also mark 👍Helpful if you find my response worthy based on the impact.

 

Thanks

Sohail Khilji
Kilo Patron
Kilo Patron

Hi @Navaneeth1,

 

Try using Insert and Stay open, it can help with some extend..


☑️ Please mark responses as HELPFUL or ACCEPT SOLUTION to assist future users in finding the right solution....

LinkedIn - Lets Connect

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Navaneeth1 

 

When we extend any table we inherit 

 

Field

Business Logic ( BR / Scripts ) but not the modules. You need to create the modules by own.

 

Insert and stay help you to create same record / data but not module. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Dipen Wadhwana
Giga Guru

Hi @Navaneeth1 ,

 

When extending a table, it inherits fields and properties from an existing table, creating a parent-child relationship, but modules must be created separately. Insert and Stay functionality facilitates creating identical records or data but does not handle module creation.

 

Please mark this response as helpful if your question has been answered correctly.