CalculateFilledHeadCount

F08105 Calculate Filled HeadCount

Minor Business Rule

Object Name: N0800026

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description
The purpose of the Named ER is to calculated the Filled HeadCount for a given requisition in the F08105 table.
   

Technical Specifications


Parameters


Data Item      Data Structure Descriptio       I/O       Required   Table       Notes
REQN      Requisition Nu                     I              Y                F08102        Pass in Requisition Number

HDCT      Headcount                            O            Y        Filled Headcount is returned



Related Tables 


Table Table Description
F08105Requisition Activity


Processing


1.Filled Headcount is initialized to zero.
2.Maximum length of  Data Dictionary item for "CRST" is retrieved.

3.Pointer is set to beginning of the F08105 for Requisition Number that is passed in.

4.While the Requisition Number is found:

Check the length of the code that is in the Candidate Status field.
If the length of the code is less than the maximum length allowed by the Data Dictionary

Pad the field with blanks at the end of the Candidate Status code.  (This is so we can find a hit when we go to the UDCs (08/CN) to get 
the Special Handling Code for the Candidate Status.)

End If
Goto the UDCs (08/CN) with the Candidate Status code to get the associated Special Handling Code.

If the associated Special Handling Code equals "FIL"

Add 1 to the Filled Headcount.
End If
       End While


^

Data Structure

DN0800026 - Determine Filled HeadCount for a Given Requisition

Parameter NameData ItemData TypeReq/OptI/O/Both
mnRequisitionNumberREQNMATH_NUMERICNONENONE

The number that identifies the position requisition. This number must be unique. The next number program assigns this number if no other 
number is provided when the requisition is initially entered.

mnFilledHeadcountHDCTMATH_NUMERICNONENONE

The number of employees requested, budgeted, or approved for a position or requisition.

Related Functions

None

Related Tables

None