Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Like the Dynamic Shared Embedded Non-Owner link, this type of link also identifies a non-owner entity for a shared embedded link. However, once linked, a static non-owner locks the embedded record to prevent future updates. If a user subsequently modifies the embedded record data at the owner level, Aptify automatically creates a clone of the original record, links it to the owner, updates the dynamic non-owner links to use the new record, and then modifies the record as necessary. The static record retains its link to the original, unchanged embedded record.

In Aptify, an Order's Bill To and Ship To addresses use static embedded links to a Person's address. At the time an order is created, the Person's address (which is typically owned by the Person's corresponding Company) automatically flows down to the Orders record via logic in the Orders entity object. However, if a Company's address subsequently changes (which would change the Person's address), it would not be appropriate to carry this change over to the Order's Bill To and Ship To addresses. An address change would affect future orders but it should not affect those that occurred in the past.

The embedded link field for a static non-owner entity has the following settings, as illustrated in Figure B.12the figure below, which shows the ShipToAddressID field in the Orders entity:

  • Linked Entity: The name of the embedded entity.
  • Linked Entity Field: Typically, the ID field in the embedded entity.
  • Link Type: Embedded
  • Mode: Static AnchorRTF39313437383a204361707469RTF39313437383a204361707469 Static Shared Embedded Link Image Removed Static 

     Static Shared Embedded LinkImage Added
  • Non-Owner Entity Object: A developer specifies the initial flow-down logic to link the non-owner to the shared embedded record in an entity plug-in object for the non-owner entity. See "Adding Plug-Ins to an Entity" on page 140 for  for details