The model for managing the internal organization structure
- includes organizations, departments, staffs, positions, employees, professions
- can store hierarchical organization charts
- all entities are historical and support safe delete
Used ubs_setting
keys
org.organization.OKPORequired
- boolean,false
by default. Sets the mandatory of CCEO code for internal and external organizations
Roles
OrganizationManager
- user with this role can edit the organizational structureLocalOrgManager
- user with this role can edit the organizational structure of the own organization (the organization he works for)
Classes
- org_department_ns
- org_diagram_ns
- org_employee_ns
- org_employeeonstaff_ns
- org_employeeonstaff_pending_ns
- org_execgroup_ns
- org_execgroupmember_ns
- org_orgaccount_ns
- org_organization_ns
- org_profession_ns
- org_staffunit_ns
- org_unit_ns
Types
# orgDepartmentAttrs inner
Properties
ID
: number | orgUnitAttrsparentID
: number | orgUnitAttrsParent
code
: stringInternal code
name
: stringDepartment name
fullName
: stringDepartment full name
description
: stringDepartment description
nameGen
: stringDepartment name in genitive case
nameDat
: stringDepartment name in dative case
fullNameGen
: stringDepartment full name in genitive case
fullNameDat
: stringDepartment full name in dative case
depTypeID
: number | cdnDeptypeAttrsDepartment type
caption
: stringCaption
mi_data_id
: number | orgDepartmentAttrsmi_dateFrom
: Datemi_dateTo
: Datemi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrsmi_deleteDate
: Datemi_deleteUser
: number | ubaUserAttrs
# orgDiagramAttrs inner
Properties
ID
: numberorgunitID
: number | orgUnitAttrsRoot
caption
: stringName
isdefault
: booleanDefault
document
: stringOrganization chart
mi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrsmi_deleteDate
: Datemi_deleteUser
: number | ubaUserAttrs
# orgEmployeeAttrs inner
Properties
ID
: numbercode
: stringCode
userID
: number | ubaUserAttrsUser
lastName
: stringLast name
firstName
: stringFirst name
middleName
: stringMiddle name
birthDate
: DateDate of birth
description
: stringComment
sexType
: string | ubmEnumAttrsGender
suffix
: stringSuffix
shortFIO
: stringLast name with initials
fullFIO
: stringFull name
apply
: stringTitle
lastNameGen
: stringLast name in genitive
lastNameDat
: stringLast name in dative
lastNameObj
: stringLast name in objective
firstNameGen
: stringFirst name in genitive
firstNameDat
: stringFirst name in dative
firstNameObj
: stringFirst name in objective
middleNameGen
: stringMiddle name in genitive
middleNameDat
: stringMiddle name in dative
middleNameObj
: stringMiddle name in objective
shortFIOGen
: stringShort name in genitive
shortFIODat
: stringShort name in dative
shortFIOObj
: stringShort name in objective
fullFIOGen
: stringFull name in genitive
fullFIODat
: stringFull name in dative
fullFIOObj
: stringFull name in objective
applyGen
: stringTitle in genitive
applyDat
: stringTitle in dative
applyObj
: stringTitle in objective
facsimile
: stringFacsimile
avatar
: stringAvatar
mi_data_id
: number | orgEmployeeAttrsmi_dateFrom
: Datemi_dateTo
: Datemi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrsmi_deleteDate
: Datemi_deleteUser
: number | ubaUserAttrs
# orgEmployeeonstaffAttrs inner
Properties
ID
: numbertabNo
: stringEmployee
employeeID
: number | orgEmployeeAttrsEmployee
staffUnitID
: number | orgStaffunitAttrsPosition
employeeOnStaffType
: string | ubmEnumAttrsAssignment Type
description
: stringDescription
caption
: stringCaption
mi_data_id
: number | orgEmployeeonstaffAttrsmi_dateFrom
: Datemi_dateTo
: Datemi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrsmi_deleteDate
: Datemi_deleteUser
: number | ubaUserAttrs
# orgEmployeeonstaffPendingAttrs inner
Properties
ID
: numberemponstaffID
: number | orgEmployeeonstaffAttrsAssignment
startDate
: DateStart
endDate
: DateEnd
mi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrs
# orgExecgroupAttrs inner
Properties
ID
: number | orgUnitAttrsparentID
: number | orgOrganizationAttrsParent unit
groupType
: string | ubmEnumAttrsType
code
: stringCode
name
: stringName of the group
nameGen
: stringName in genitive case
nameDat
: stringName in dative case
mi_data_id
: number | orgExecgroupAttrsmi_dateFrom
: Datemi_dateTo
: Datemi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrsmi_deleteDate
: Datemi_deleteUser
: number | ubaUserAttrs
# orgExecgroupmemberAttrs inner
Properties
ID
: numberexecGroupID
: number | orgExecgroupAttrsExecutors group
orgUnitID
: number | orgStaffunitAttrsExecutor
mi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrs
# orgOrgaccountAttrs inner
Properties
ID
: numberorganizationID
: number | orgOrganizationAttrsOrganization
currencyID
: number | cdnCurrencyAttrsCurrency
bankID
: number | cdnBankAttrsBank
code
: stringCode
acctype
: string | ubmEnumAttrsType
description
: stringDescription
mi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrsmi_deleteDate
: Datemi_deleteUser
: number | ubaUserAttrs
# orgOrganizationAttrs inner
Properties
ID
: number | orgUnitAttrsparentID
: number | orgUnitAttrsParent
code
: stringInternal code
OKPOCode
: stringCCEO
taxCode
: stringTax number
vatCode
: stringVAT number
name
: stringOrganization name
fullName
: stringOrganization full name
nameGen
: stringName in genitive case
nameDat
: stringName in dative case
fullNameGen
: stringFull name in genitive case
fullNameDat
: stringFull name in dative case
description
: stringOrganization description
orgBusinessTypeID
: number | cdnOrgbusinesstypeAttrsOrganization type
orgOwnershipTypeID
: number | cdnOrgownershiptypeAttrsOwnership type
mi_data_id
: number | orgOrganizationAttrsmi_dateFrom
: Datemi_dateTo
: Datemi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrsmi_deleteDate
: Datemi_deleteUser
: number | ubaUserAttrs
# orgProfessionAttrs inner
Properties
ID
: numbercode
: stringCode
name
: stringName
fullName
: stringFull name
nameGen
: stringName in genitive case
nameDat
: stringName in dative case
fullNameGen
: stringFull name in genitive case
fullNameDat
: stringFull name in dative case
description
: stringCaption
mi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrsmi_deleteDate
: Datemi_deleteUser
: number | ubaUserAttrs
# orgStaffunitAttrs inner
Properties
ID
: number | orgUnitAttrsparentID
: number | orgUnitAttrsParent
code
: stringInternal code
name
: stringPosition name
fullName
: stringFull name
description
: stringPosition description
nameGen
: stringPosition name in genitive case
nameDat
: stringPosition name in dative case
fullNameGen
: stringFull name in genitive case
fullNameDat
: stringFull name in dative case
caption
: stringCaption
professionExtID
: number | cdnProfessionAttrsProfession
professionID
: number | orgProfessionAttrsPosition type
staffUnitTypeID
: number | cdnStaffunittypeAttrsStaff unit type
subordinationLevel
: numberSubordination level
isBoss
: booleanBoss
mi_data_id
: number | orgStaffunitAttrsmi_dateFrom
: Datemi_dateTo
: Datemi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrsmi_deleteDate
: Datemi_deleteUser
: number | ubaUserAttrs
# orgUnitAttrs inner
Properties
ID
: numberparentID
: number | orgUnitAttrsParent
code
: stringInternal code
caption
: stringCaption
unitType
: string | ubmEnumAttrsOrg. unit type
mi_treePath
: stringmi_data_id
: number | orgUnitAttrsmi_dateFrom
: Datemi_dateTo
: Datemi_owner
: number | ubaUserAttrsmi_createDate
: Datemi_createUser
: number | ubaUserAttrsmi_modifyDate
: Datemi_modifyUser
: number | ubaUserAttrsmi_deleteDate
: Datemi_deleteUser
: number | ubaUserAttrsmi_unityEntity
: string