Parent Copy Rule Type

Parent Copy Rule Type
You can obtain parent values or reference parent data without cascade processing if the parent value is subsequently altered by defining Parent Copy derivation rules. API Creator derives parent role names from foreign key relationships.
  1. In API Creator, in the Manage section, click 
    If your API does not have existing rules, the Welcome to Rules page appears. If your API has existing rules, they are listed on the By entity tab by default.
  2. Complete one of the following:
    • If you have not defined any rules, on the Welcome to Rules page, click 
      Create a Rule
    • If you have at least one rule defined, on the By entity tab, click 
      Create New Rule
  3. Select the
    Parent Copy
    rule type, the entity to which it applies, and then click 
    Create Rule
  4. Define the parameters of the rule:
    Rule name
    The name of the parent copy rule. 
    To apply a default value, leave this field blank.
    The name of the parent entity and column representing the value to be copied into.
    The topic associated with this rule.
    Parent attribute to copy
    The parent attribute whose value is copied into the child attribute when you associate the child to a parent.
    The value is copied to child only during a POST. Changes to the parent attribute are not propagated to the child attribute.
    Select this checkbox to activate the rule.
     The definition must be complete.
  5. Click 
    Activate and Close
     to return to the list of rules.
The count rule is created.