ConvertTimeBasisCodetoQuantity

Convert Time Basis Code to Quantity

Major Business Rule

Object Name: B3000330

Parent DLL: CMFGBASE

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose

Convert the time basis code passed in, to time basis units.



2.Technical Specifications



2.4Processing 

Edits:


1.Use business function X0005 GetUDC to retrieve the UDC description 02 which is the time basis 
units.  Put a literal 'TIMB' into szDataDictionaryItem and pass DS TIMB into cUDCOne.

2.The description 02 retrieved is an alpha string.  Use business function B4000770.C 

ConvertStringToNumeric to convert the string to a numeric.  Pass the retrieved description 02 into the 

szGenericString, and use a math numeric work field to hold the numeric value passed back.  (Please note, if this 

business function does not exist, or is not finished, you may need to write this business function 

also.)

3.Pass back the converted numeric value into QNTY Time Basis Units.


Returns:

1.)  Return the converted description 02 into QNTY Time Basis Units which is a numeric field.





Data Structure

D3000330 - ConvertTimeBasisCodeToQuantity

Parameter NameData ItemData TypeReq/OptI/O/Both
cTimeBasisCodeTIMBcharNONENONE

A user defined code (30/TB) that indicates how machine or labor hours are expressed for a product. Time basis codes identify the time 
basis or rate to be used for machine or labor hours entered for every routing step. For example, 25 hours per 1,000 pieces or 15 hours per 
10,000 pieces. You can maintain the time basis codes in Time Basis Codes. The system uses the values in the Description-2 field on the User 
Defined Codes form for costing and scheduling calculations. The description is what the code represents, but is not used in calculations.

mnTimeBasisUnitsQNTYMATH_NUMERICNONENONE

The number of units that the system applies to the transaction.

Related Functions

X0005 Get User Defined Codes

Related Tables

None