Forum Stats

  • 3,854,261 Users
  • 2,264,344 Discussions


apex foreign key constraint error

Parvez Tunio
Parvez Tunio Member Posts: 140 Blue Ribbon


There was initially master detail relation I have disabled the foreign key constraint in child still i am getting this error parent key not found while inserting in child table , it seems apex has stored somewhere in meta data please help to solve this


  • InoL
    InoL Member Posts: 10,068 Gold Crown
    edited Aug 16, 2022 8:28PM

    it seems apex has stored somewhere in meta data 

    No it doesn't. This realy means that there is a FK constraint violation. What is the result of

    select constraint_name, table_name, constraint_type, status 
    from all_constraints
    where constraint_name = '<the constraint name under the red bar>'

    But how are trying to make a master-detail page without a master record?