<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Issue on setting up Relationship"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=112722#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Issue on setting up Relationship"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=112722">bug 112722</a>
              from <span class="vcard"><a class="email" href="mailto:perie_gut@hotmail.com" title="perie_gut@hotmail.com">perie_gut@hotmail.com</a>
</span></b>
        <pre>Version: 5.4.4.1 (x64)
Build ID: da790616461e15a10c95a80eb8ef8ee7b726c114
CPU threads: 4; OS: Windows 6.19; UI render: default; 
Locale: en-US (en_US); Calc: CL



As of the latest version, I still was not able to saved the relationship for
the following:

ContractDetails.BargainPurchaseOptionType  =
BargainPurchaseOption.BargainPurchaseOption

*also for the BargainRenewalOption

and I have tried to manually create the relationship (from insert >
relationship) and got the following error

SQL Status: S0011
Error code: -170

Primary or unique constraint required on main table: "BargainRenewalOption" in
statement [ALTER TABLE "ContractDetails" ADD  FOREIGN KEY
("BargainRenewalOption") REFERENCES "BargainRenewalOption"
("BargainRenewalOption")]</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>