List of internal organization assignments. The denouement essence, which indicates which employee on which position works (appointment). There is also a type of assignment (temporary, permanent, part-time, etc.)

# new org_employeeonstaff_ns ()

Members

# attrs : orgEmployeeonstaffAttrs static

Attributes defined in metadata. Property does not exist in real life and added for IDE

# entity : UBEntity instance

Reference to entity metadata

Methods

# addNew (ctxubMethodParams) instance

Create record with filled default values and return it to caller. Newly created record is not inserted to database. For inserting record to the database insert method should be called

Arguments:

# delete (ctxubMethodParams) instance

Delete record by ID

Arguments:

# insert (ctxubMethodParams) instance

New record insertion

Arguments:

# newversion (ctxubMethodParams) instance

Create new version of specified record

Arguments:

# select (ctxubMethodParams) instance

ORM query for read records

Arguments:

# update (ctxubMethodParams) instance

Update existed record

Arguments:
  • ctx: ubMethodParams
    • mParamsobject

      Update method parameters

    • fieldListarray.<string>

      Optional attributes names. Values of this attributes will be returned in result. Additional DB query is required to return values, so if caller do not need it better to not pass a fieldList to update

# updatePendingStaffUnitCaptions () instance

Sets properly values for org_staffunit.captions. Can be called from scheduler

# updatestaffunitcaption (staffUnitIDNumber) instance

Updates all multilingual captions for org_staffunit

Arguments: