Hello,
Please forgive for my language and terminologies used if are incorrect
below is what I am struggling with
I have a custom module name COF
I wanted to have a relationship with opportunities 1 : M [1 Opportunity can contain many COFs]
I wanted to have a relationship with Accounts1 : M [1 Account can contain many COFs] Billing Account
I wanted to have a relationship with Accounts1 : M [1 Account can contain many COFs] Shipping Account
I wanted to have a relationship with Contacts1 : M [1 Contact can contain many COFs] Billing Contact
I wanted to have a relationship with Contacts1 : M [1 Contact can contain many COFs] Shipping Contact
I have created relationships via script
PFB below script
\custom\metadata\custom_relationships_cof.php
\custom\Extension\application\Ext\TableDictionary\custom_relationships_cof.php
After doing QRR it prompted for create table in the query box after comparing the vardefs
I executed the code and the fields got created verified the relationship tables are present in the database.
Now I have created a relate fields in the COF module as below
\custom\Extension\modules\itb_cof\Ext\Vardefs\COF_Fields.php
After that I did a quick repair and rebuild
Then in studio I have placed the fields into the record view of COF module
when I related the account, contact, opportunity record into the relate field on record view of COF module
When I try to create COF record or edit any existing COF record all the other values gets save but these related field value does not get save
I also checked into the respective database relationship table there is no entry.
can anyone point me out what I am missing here ? or where did I go wrong ?