External Functions

The user or partner can add reports and processes (codeunits) to the solution and place access in various locations in the solution.

The difference between added functionality via this feature and features added as object changes (via extensions) is that the user or partner can easily place the enhancement where it is appropriate, based on the related reservation type or the activity type entry.

For example, features that only apply to a certain activity, are only accessible on reservation or activity pages, which are then standing on a record belonging to the same reservation type or activity type. Special golf functions, for example, could only be accessed in a golf appointment and so on.

To set up external functions

  1. Navigate LS Activity - Setup - External Functions Setup.

The fields on the External Functions Setup page are:

Field Description
Type Where in the solution the function will be accessible. Available options are:
  • Role Center: Accessed from the Role Center.
  • Reservation: Accessed from the Reservation list or card.
  • Activity: Accessed from the Activity list or card.
Code The reservation type or the activity type that this function is limited to cover, based on the type setting. Leave this field blank, if the function is general and should be accessible for any reservation or activity.
Execution Type Specifies if the function executes a codeunit or a report.
Description General description of the function.
Object The object ID of the report or the codeunit, depending on execution type.
Execution Parameter None or current Record. If the type is Reservation or Activity, the relevant record will be passed on to the object as current active record.