CreateConfiguredTableKeyID

CreateConfiguredTableKeyID

Minor Business Rule

Object Name: B3201690

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
The Business Function will be used to build a temporary string of Table Segment Values and to calculate Configured Table Key ID (part of F3283 

Primary Key).


1.2Setup Notes and Prerequisites
None.


1.3Special Logic

None


2.Technical Specifications


2.1Parameters:


Data Item Data Structure DescriptionI/ORequiredNotes TSV1Table Segment Value 1IR TSV2Table Segment Value 2IR TSV3Table Segment Value 

3IR TSV4Table Segment Value 4IR TSV5Table Segment Value 5IR TSV6Table Segment Value 6IR TSV7Table Segment Value 7IR TSV8Table Segment 

Value 8IR TSV9Table Segment Value 9IR TSV10Table Segment Value 10IR TSV11Table Segment Value 11IR TSV12Table Segment Value 

12IR TSV13Table Segment Value 13IR TSV14Table Segment Value 14IR TSV15Table Segment Value 15IR TSV16Table Segment Value 16IR TSV17Table Segment 

Value 17IR TSV18Table Segment Value 18IR TSV19Table Segment Value 19IR TSV20Table Segment Value 1IR CTKIDConfigured Table Key 

IDOR SUPPSSuppress Error MessageIO DTAIError Message IDOO


2.2Related Tables 

Table Table Description F3283Rules Table Detail


2.3Related Business Functions

Source NameFunction Name B3200460F3293EvaluateAndProcessAIR


2.4Processing

Set Strings to have NULL as first element 

If  (TableSegmentValue1) is not BLANK

   Copy TableSegmentValue1 into TempString

   Concatenate TempString to  BigString 

End If

Concatenate / (Segmnet Deliminater) to BigString

'85

 (same processing for  segments 2-19)

'85

If  (TableSegmentValue1) is not BLANK

   Copy TableSegmentValue1 into tempString

   Concatenate TempString to  BigString 

End If

Use API to set Pointer ID

Call B3201440 (CreateConfiguredTableKeyID)

To retrieve ConfiguredTableKeyID


3.2 Where Used: APPs/UBEs/NERs/BSFNs


Application/Business Function                      Application/BF Name B3200460F3293EvaluateAndProcessAIR P3283Configured Table Values

Data Structure

D3201690 - CreateConfiguredTableKeyID

Parameter NameData ItemData TypeReq/OptI/O/Both
szTableSegmentValue1TSV1charOPTNONE

A value used as a key to a table.

szTableSegmentValue2TSV2charOPTNONE

A value used as a key to a table.

szTableSegmentValue3TSV3charOPTNONE

The Table Segment Value is a value used as a key to a table.

szTableSegmentValue4TSV4charOPTNONE

The Table Segment Value is a value used as a key to a table.

szTableSegmentValue5TSV5charOPTNONE

The Table Segment Value is a value used as a key to a table.

szTableSegmentValue6TSV6charOPTNONE

The Table Segment Value is a value used as a key to a table.

szTableSegmentValue7TSV7charOPTNONE

The Table Segment Value is a value used as a key to a table.

szTableSegmentValue8TSV8charOPTNONE

The Table Segment Value is a value used as a key to a table.

szTableSegmentValue9TSV9charOPTNONE

The Table Segment Value is a value used as a key to a table.

szTableSegmentValue10TSV0charOPTNONE

The Table Segment Value is a value used as a key to a table.

szTableSegmentValue11TSV11charOPTNONE

A value that is used as a key to a table.

szTableSegmentValue12TSV12charOPTNONE

A value that is used as a key to a table.

szTableSegmentValue13TSV13charOPTNONE

A value that is used as a key to a table.

szTableSegmentValue14TSV14charOPTNONE

A value that is used as a key to a table.

szTableSegmentValue15TSV15charOPTNONE

A value that is used as a key to a table.

szTableSegmentValue16TSV16charOPTNONE

A value that is used as a key to a table.

szTableSegmentValue17TSV17charOPTNONE

A value that is used as a key to a table.

szTableSegmentValue18TSV18charOPTNONE

A value that is used as a key to a table.

szTableSegmentValue19TSV19charOPTNONE

A value that is used as a key to a table.

szTableSegmentValue20TSV20charOPTNONE

A value that is used as a key to a table.

szConfiguredTableKeyIDCTKIDcharOPTNONE

An identifier that represents a branch, table name, and up to 20 segment key values. It is generated from an encryption algorithm. The 
system always converts the configured table information into a 32-character digest. The digest is always a full 32 characters in length, consists of 
numbers and characters, and does not contain any blanks. You cannot determine the initial value from the digest, and it has no significant 
meaning.

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

szErrorMessageIDDTAIcharOPTNONE

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.

Related Functions

None

Related Tables

None