We're reclaiming inactive PDIs to keep them available for active builders. Learn what's changing, who's affected, and how to protect your work. Read More

Supplier & Core Company Records

JeyaNivas
Tera Contributor

Anybody knows if you create a new supplier record in the Supplier table, will a new vendor record be automatically created in the core Company table. If yes, can someone share how it is getting created ?

1 ACCEPTED SOLUTION

Vikram Reddy
Tera Guru

Hey @JeyaNivas,

 

Company [core_company]
        \
         extended by
          \
           Supplier [sn_fin_supplier]

Yes, and it's not a business rule quietly inserting a second record, it's plain table inheritance, the same mechanism you see with cmdb_ci_computer extending cmdb_ci. sn_fin_supplier is a vertical extension of core_company, so the supplier record and its company record share the exact same sys_id and the same base row. Name, address, and phone live on core_company; supplier-specific fields like risk rating, category, and onboarding status live on sn_fin_supplier. So creating a supplier IS creating the core_company record, you're just looking at it through the extended table's form, not a separate object being synced.

References

 

Thank you,
Vikram Karety
Octigo Solutions INC

View solution in original post

4 REPLIES 4

Ankur Bawiskar
Tera Patron

@JeyaNivas 

did you check business rule or flow which is doing this?

 

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Have been trying to find out it it actually happens OOTB

@JeyaNivas 

yes I also think it's Out of the box and part of source to pay architecture

💡 If my response helped, please mark it as correct and close the thread 🔒— this helps future readers find the solution faster! 🙏

Regards,
Ankur
Certified Technical Architect  ||  10x ServiceNow MVP  ||  ServiceNow Community Leader

Vikram Reddy
Tera Guru

Hey @JeyaNivas,

 

Company [core_company]
        \
         extended by
          \
           Supplier [sn_fin_supplier]

Yes, and it's not a business rule quietly inserting a second record, it's plain table inheritance, the same mechanism you see with cmdb_ci_computer extending cmdb_ci. sn_fin_supplier is a vertical extension of core_company, so the supplier record and its company record share the exact same sys_id and the same base row. Name, address, and phone live on core_company; supplier-specific fields like risk rating, category, and onboarding status live on sn_fin_supplier. So creating a supplier IS creating the core_company record, you're just looking at it through the extended table's form, not a separate object being synced.

References

 

Thank you,
Vikram Karety
Octigo Solutions INC