CalculateCrewAvailability

Calculate Crew Availability

Minor Business Rule

Object Name: N4803150

Parent DLL: CMFG

Location: Client/Server

Language: NER

Data Structure

D4803150A - Calculate Crew Availability

Parameter NameData ItemData TypeReq/OptI/O/Both
cErrorCode_ERRCERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMessage_DTAIDTAIcharOPTNONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cSuppressErrorMessage_SUPPSSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

mnResourceNumber_ANSAANSAMATH_NUMERICOPTNONE

The address book number of a manager or planner.   Note:  A processing option for some forms allows you to enter a default value for this 
field based on values for category codes 1 (Phase), 2, and 3.  You set up the default values on the Default Managers and Supervisors form.  
After you set up the default values and the processing option, the default information displays automatically on any work orders that you 
create if the category code criterion is met.  You can either accept or override the default value. 

szWorkCenterLeadTrade_MCULTMCULTcharOPTNONE

An alphanumeric code used to define the lead craft required to complete the work. The value entered is used as the default craft (work 
center) when new labor detail records are added to the work order.

mnHoursAvailable_HRSAVLHRSAVLMATH_NUMERICOPTNONE

The total hours available for scheduled work during the schedule period. The available hours is multiplied by the load % to calculate the 
target hours to schedule.

jdDateFrom_DTFRDTFRJDEDATEOPTNONE

The beginning date for which the transaction or code is applicable.

jdDateThru_DTTODTTOJDEDATEOPTNONE

The ending date for which the transaction or code is applicable.

Related Functions

None

Related Tables

None
RollUpCrewAvailability

RollUpCrewAvailability

Calculate Crew Availability

Minor Business Rule

Object Name: N4803150

Parent DLL: CMFG

Location: Client/Server

Language: NER

Data Structure

D4803150B - Roll up crew hours

Parameter NameData ItemData TypeReq/OptI/O/Both
cErrorCode_ERRCERRCcharOPTNONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szErrorMsgID_DTAIDTAIcharOPTNONE

A code that identifies and defines a unit of information. It is an alphanumeric code up to 8 characters long that does not allow blanks or 
special characters such as %, &, or +. You create new data items using system codes 55-59. You cannot change the alias.

cSuppressErrorMessage_SUPPSSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

mnManager_ANSAANSAMATH_NUMERICOPTNONE

The address book number of a manager or planner.   Note:  A processing option for some forms allows you to enter a default value for this 
field based on values for category codes 1 (Phase), 2, and 3.  You set up the default values on the Default Managers and Supervisors form.  
After you set up the default values and the processing option, the default information displays automatically on any work orders that you 
create if the category code criterion is met.  You can either accept or override the default value. 

jdDateFrom_DTFRDTFRJDEDATEOPTNONE

The beginning date for which the transaction or code is applicable.

mnHoursNormal_HRSNRMHRSNRMMATH_NUMERICOPTNONE

The total hours that should be available to carry out work during the schedule period based on all the resources in the crew being fully 
available for scheduled work.

mnHoursAvailable_HRSAVLHRSAVLMATH_NUMERICOPTNONE

The total hours available for scheduled work during the schedule period. The available hours is multiplied by the load % to calculate the 
target hours to schedule.

mnHoursScheduled_HRSSCHHRSSCHMATH_NUMERICOPTNONE

The total hours scheduled by the crew during the schedule period.

mnHoursSchedCompleted_HRCSSCHCHRSSCHCMATH_NUMERICOPTNONE

The total hours of scheduled work completed by the crew during the schedule period.

mnHoursComplete_HRSCMPHRSCMPMATH_NUMERICOPTNONE

The total hours completed by the crew during the schedule period.

cDateSchedulePattern_DTSPNDTSPNcharOPTNONE

A code used to specify a Schedule Pattern utilized in maintenance scheduling. For example, M could stand for a weekly scheduling pattern 
starting on Monday with a 7-day period; 2 could stand for biweekly with a 14-day period.  The number of days utilized for display and 
processing is defined in the special handling code of UDC 13/SP (Schedule Pattern).

mnAvgLoadPercentage_LDPCLDPCMATH_NUMERICOPTNONE

The load % is the portion of the forecasted hours that is to be considered for scheduling work. The load % should be set to provide a 
realistic target for the crew to achieve.

Related Functions

None

Related Tables

None