StaffEntity GitHub

📊 Overview: 2 Functions 1 Getters

Extends: Entity

🕐 Last updated: 2026-01-13T16:04:13.446Z


📑 Table of Contents


Functions

Regular Functions

permissionCheck

[🖥️ local]

Function permissionCheck($PermissionName : Text; $DisplayWarning : Boolean) -> $HasPermission : Boolean

Checks if this staff member has the specified permission; optionally displays a warning if denied

Parameters:

Name Type Optional Description
$PermissionName Text - -
$DisplayWarning Boolean - -

Returns: Boolean


copyPermissionsFrom

[🖥️ local]

Function copyPermissionsFrom($StaffEntity : cs.StaffEntity) -> $Success : Boolean

Copies all permissions from another staff member to this staff member within a transaction

Parameters:

Name Type Optional Description
$StaffEntity cs.StaffEntity - -

Returns: Boolean


Computed Attributes (Getters/Setters/Query/OrderBy)

FullName

[🔍 get only, 🖥️ local]

Function get FullName -> Text

Returns the full name of the staff member by combining first and last names

Returns: Text


🗂️ Tables

  • Staff - ORDA Entity class for Staff table
  • Staff - ORDA DataClass class for Staff table

� Forms


Generated from StaffEntity.4dm


This site uses Just the Docs, a documentation theme for Jekyll.