ResourceAssignmentHoursDist

Resource Assignment Hours Distribution

Minor Business Rule

Object Name: N4803110

Parent DLL: CMFG

Location: Client/Server

Language: NER

Data Structure

D4803110 - Resource Assignment Hours Distribution

Parameter NameData ItemData TypeReq/OptI/O/Both
cMode_EV01EV01charREQINPUT

This field is used to specify the mode for the function.
Valid values are:

1 = Distribute hours when ADDING a resource

2 = Distribute hours after DELETING a resource

cDistributionMethod_EV01EV01charOPTINPUT

(FUTURE)
This option will be used to allow for different methods of distributing assigned hours to resources. Currently this function 

evenly distributes assigned hours based on the number of assigned people and the estimated hours of the task.

szResourceType_RRTYRRTYcharREQINPUT

This field is used to identify the resource type. This field is used to identify the resource being ADDED or the resource 
that was just DELETED.

mnResourceNumber_RSCNRSCNMATH_NUMERICOPTINPUT

This field is used to identify the resource number. Currently this field is not being used.

mnOrderNumber_DOCODOCOMATH_NUMERICOPTINPUT

This field represents the work order number that the resource is being ADDED to or DELETED from.

mnOperationSequence_OPSQOPSQMATH_NUMERICOPTINPUT

This field represents part of the key to the routing step that the resource is being ADDED to or DELETED from.

szOperationTypeCode_OPSCOPSCcharOPTINPUT

This field represents part of the key to the routing step that the resource is being ADDED to or DELETED from.

szCostCenter_MCUMCUcharOPTINPUT

This field represents part of the key to the routing step that the resource is being ADDED to or DELETED from.

mnEstimatedHoursHRSOMATH_NUMERICOPTINPUT

This field is used to pass the estimated hours either from the work order header(HRSO) or the routing labor 
hours(RUNL).


This field is not used in Mode 2.

mnEstimatedMachineHoursRUNMMATH_NUMERICOPTINPUT

This field is used to pass the estimated machine hours from the routing machine hours(RUNM).

This field is not used in Mode 2.

mnAssignedHours_AHRSAHRSMATH_NUMERICOPTOUTPUT

This field is used to pass back the assigned hours for the resource that is being ADDED. 

This field is not used when in Mode 2.

mnEstCapacityPerDay_AHRSAHRSMATH_NUMERICOPTINPUT

A number that indicates the hours that have been assigned to this task.

cPeriodTypePDTPcharOPTINPUT

A code that indicates the period type that appears in the Resource Assignments Workbench program (P48331). The Resource 
Assignments Workbench program displays weekly or daily buckets in the detail area or tree structure. Period types are defined in UDC table 48/PT.

nNumberOfPeriodsINT01integerOPTINPUT

Number of Days in Future to Query for Responses Due. 

szSDInclusionRuleMVERcharOPTINPUT

A user defined code (40/RV) that identifies an inclusion rule that you want the system to use for this branch/plant. The Manufacturing and 
Warehouse Management systems use inclusion rules as follows:     o For Manufacturing:        Allows multiple versions of resource rules for 
running MPS, MRP, or DRP.     o For Warehouse Management:        Allows multiple versions of inclusion rules for running putaway and picking. The 
system processes only those order lines that match the inclusion rule for a specified branch/plant.

Related Functions

None

Related Tables

None