Link Names in JavaScript

When using Javascript, you need specific parameters to identify link relations.

To specify link relations in JavaScript, use the following parameters:

  • $Parent: Reads the parent record.
  • $Children: Reads all child records. Specify $Children[<infoAreaID] to determine from which info area the child records are read, e.g., $Children[Y2] gets the opportunity participants linked to an opportunity.
  • $Link: Specifies the link to be used, e.g., $Link[KP:1] reads all person records linked via the link with ID 1.
  • $RelatedCompany/$RelatedPerson/$RelatedHuman: Reads the target FI/KP/PE record for a relationship record. Example in UPDATE_DEFAULT: The menu action A_GotoRelatedPerson in M_Relationship_TreeView is used to access a related KP record from a relationship record.
  • $GenericLink
  • $CustomLink
  • $CurrentRep