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.
D3000330 - ConvertTimeBasisCodeToQuantity
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cTimeBasisCode | TIMB | char | NONE | NONE |
A user defined code (30/TB) that indicates how machine or labor hours are expressed for a product. Time basis codes identify the time
| ||||
mnTimeBasisUnits | QNTY | MATH_NUMERIC | NONE | NONE |
The number of units that the system applies to the transaction. |
X0005 Get User Defined Codes |
None |