Difference between revisions of "How To Get Foreign Keys Set"

From Dabo Wiki
Jump to: navigation, search
(Created page with "You need to set <code>bizobj.FillLinkFromParent</code> to <code>True</code>. Of cause you also have to supply the usual information for the parent-child relation: <syntaxhig...")
 
(No difference)

Latest revision as of 14:09, 17 May 2020

You need to set bizobj.FillLinkFromParent to True.

Of cause you also have to supply the usual information for the parent-child relation:

childBizobj.FillLinkFromParent = True
childBizobj.LinkField = "parent_iid"
parentBizobj.addChild(childBizobj)