Linking Facilities and Departments: Difference between revisions

From IHRIS Wiki
No edit summary
No edit summary
Line 1: Line 1:
In iHRIS Manage, the module ''ihris-manage-PersonPosition'' defines the '''position''' form which contains the field '''department''' and the required field '''facilty''' which are both independent lists.  In this tutorial, we will discuss how customize iHRIS Manage so that, when editing a position, the departments displayed are dependent on the facility chosen.
This tutorial applies to iHRIS Manage 4.0, although the concepts involved can be applied to iHRIS Qualify as well.  Please refer to these articles:
*[[Defining Forms]]
*[[Forms and Form Classes]]
for background information on forms.  You can see these changes in the [http://bazaar.launchpad.net/~ihris%2Bzanzibar/ihris-manage-zanzibar/central-4.0/files/head%3A/modules/ZNZPosition/ Zanzibar-position] module.
==Overview==
Our goal is to have the departments for a position to depend on the facility chosen for the position.  There are two ways that one could do this.
===Option A===
Due to these weaknesses, we will not implement Option A in this tutorial.
===Option B===
We will implement option B in this tutorial.
==Turning off the existing fields==
===Magic Data/Configuration Changes===
===Template File Changes===
==Creating the facility_department==
===Magic Data/Configuration Changes===
===Template File Changes===
[[Category: Tutorial]]
[[Category: Tutorial]]

Revision as of 11:06, 26 August 2009

In iHRIS Manage, the module ihris-manage-PersonPosition defines the position form which contains the field department and the required field facilty which are both independent lists. In this tutorial, we will discuss how customize iHRIS Manage so that, when editing a position, the departments displayed are dependent on the facility chosen.

This tutorial applies to iHRIS Manage 4.0, although the concepts involved can be applied to iHRIS Qualify as well. Please refer to these articles:

for background information on forms. You can see these changes in the Zanzibar-position module.

Overview

Our goal is to have the departments for a position to depend on the facility chosen for the position. There are two ways that one could do this.

Option A

Due to these weaknesses, we will not implement Option A in this tutorial.

Option B

We will implement option B in this tutorial.

Turning off the existing fields

Magic Data/Configuration Changes

Template File Changes

Creating the facility_department

Magic Data/Configuration Changes

Template File Changes