VariableLengthTextToString40

Convert Variable Length Text To String of 40

Minor Business Rule

Object Name: B7900042

Parent DLL: CTRANS

Location: Client/Server

Language: C

Business Function Specification

Source NameB7900042DesignerKevin Clearwater
Data Structure 
D7900042AProgrammerKevin Clearwater
Function Name
ConvertVariableLengthStringTo40System CodeH79
Function Category
Function Use



Revisions Log 
DateModifications bySAR NumberDescription

10/1700Kevin Clearwater4458107CM Token OneWorld Application




1.Functional Description

1.1Purpose

The purpose of this function is to convert a VARCHAR to a fixed string for display in a grid.

1.2Setup Notes and Prerequisites


This function is intended for use only with Content Manager.

 

1.3Special Logic



2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
VTEXTVariableLengthTextIYVariable Length Field from FDA spec

DSCAszDescriptionAlphaOYSmaller fixed field for token and display in grid.


2.2Related Tables 

Table Table Description




2.3Related Business Functions

Source NameFunction Name



2.4Processing 



Pass in VARCHAR copy into smaller static string variable.  Chopped off part doesn't matter.

Data Structure

D7900042A - ConvertVariableLengthTextToStringof40

Parameter NameData ItemData TypeReq/OptI/O/Both
VariableLengthTextVTEXTcharOPTNONE

Variable length text, normally from FDA or RDA, that the Translation Tool set uses.

szDescriptionAlphaDSCAcharOPTNONE

A description for the data items. Enter text in upper and lower case. The system uses this name to search for similar data items. To enter an 
alpha description, follow these conventions: Dates Begin all date fields with the word, Date. Amounts Begin all amount fields with the word, 
Amount. Units Begin all unit, quantity, and volume fields with the word, Units. Name Begin all 30-byte description fields with the word, 
Name. Prompt Begin any Y/N prompting field with the word, Prompt. Address Number  Begin all address numbers (employee, customer, owner) with the 
word, Address Number.

Related Functions

None

Related Tables

None