UpdateResourceUnits

Update Resource Units

Major Business Rule

Object Name: B3001350

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This business function will delete a F3007 Resource Units Record for a given MMCU, MCU, YR, MT, UM

1.2Setup Notes and Prerequisites

• None.

1.3Special Logic

None.

2.Technical Specifications


2.4Processing 

Delete F3007 Row for a given MMCU, MCU, YR, MT, and UM , CTRY using F3007 Key 1
If delete fails, and Suppress Error Messages != 1

     issue GBR error message

Data Structure

D3001350 - Update Resource Units

Data Item Data Structure Description  I/O  Required     Notes

MMCU      Branch                     I     Y


MCU      Cost Center                     I     Y


YR      Calendar Year               I     Y


MT      Calendar Month               I     Y


UM      Unit Of Measure               I     Y


EV01      Suppress Error Messages         O           1 = suppress  errors  

                                                                 0 = allow errors


DTAI      Error Message ID               O


MATH01Effeciency                     I


MATH01Utilization                     I


UM      Update UOM                     I


EV01      Update UOM Y/N               I


STYL      Cost Center Type               I       Y


SHFT      Shift Code                     I       Y

^

Parameter NameData ItemData TypeReq/OptI/O/Both
szBranchMMCUcharNONENONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

szCostCenterMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnCalendarYearYRMATH_NUMERICNONENONE

The calendar year for this calendar.

mnCalendarMonthMTMATH_NUMERICNONENONE

A number that corresponds to the month in a calendar year. 

szUnitOfMeasureUMcharNONENONE

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

cSuppressErrorMessagesEV01charNONENONE

An option that specifies the type of processing for an event.

szErrorMessageIDDTAIcharNONENONE

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.

mnEfficiencyMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

mnUtilizationMATH01MATH_NUMERICNONENONE

- - - Good Performance Low Value. 

szUpdateUomUMcharNONENONE

A user defined code (00/UM) that identifies the unit of measurement for an amount or quantity. For example, it can represent a barrel, box, 
cubic meter, liter, hour, and so on.

cUpdateUOM_YNEV01charNONENONE

An option that specifies the type of processing for an event.

szCostCenterTypeSTYLcharOPTNONE

A user defined code (00/MC) that identifies the classification of the business unit.

cShiftCodeSHFTcharOPTNONE

A user defined code (00/SH) that identifies daily work shifts. In payroll systems, you can use a shift code to add a percentage or amount to 
the hourly rate on a timecard. For payroll and time entry: If an employee always works a shift for which a shift rate differential is applicable, 
enter that shift code on the employee's master record. When you enter the shift on the employee's master record, you do not need to enter the 
code on the timecard when you enter time. If an employee occasionally works a different shift, you enter the shift code on each applicable 
timecard to override the default value.

mnCenturyCTRYMATH_NUMERICOPTNONE

The calendar century associated with the year. Enter is the first two digits of the year. For example, 19 indicates any year beginning with 19 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

Related Functions

None

Related Tables

F3007 Work Center Resource Units