Recommendation:
1. Don't try to create these kind of Foreign Keys which creates Circular Dependency across tables which would create problems while
* replicating data
* Migrating data
Instead create another table which links the part_no with the vendor_no like
1.entity= part
attribute=(part_no,part_name,quantity order, type)
2.entity=vendor
attribute=(ven_no,ven_name,add)
3.entity= part_vendor
attribute=( id, part_no, vendor_no)
vendor_no is foreign key of part table
part_no is the foreign key of part table.