ConcatenateUDCCodeSY_RT_KY

Parse UDC Code SY|RT|KY

Minor Business Rule

Object Name: B0000700

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D0000700B - Concatenate UDC Code SY|RT|KY

Parameter NameData ItemData TypeReq/OptI/O/Both
szUDCProductCode_SYSYcharREQINPUT

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

szUserDefinedCode_RTRTcharREQINPUT

A code that identifies the table that contains user defined codes. The table is also referred to as a UDC type.

szUserDefinedCodeValue_KYKYcharREQINPUT

A list of valid codes for a specific user defined code list.

szOutputCode_SY_RT_KYKYXcharREQOUTPUT

This column contains a list of valid externally defined codes for a specific Code Map.

Related Functions

None

Related Tables

F0004 User Defined Code Types
ParseUDCCodeSY_RT_KY

ParseUDCCodeSY_RT_KY

Parse UDC Code SY|RT|KY

Minor Business Rule

Object Name: B0000700

Parent DLL: CFIN

Location: Client/Server

Language: C

B0000700 - Parse UDC Code SY|RT|KY:

Functional Description


Purpose


  This business function is used in the XPI information query for F0005 user defined codes.  It 

receives an input code (SY|RT|KY) consisting of the three primary keys to the F0005 UDC table separated by 

a pipe sign "|",  (e.g. "00|PM|BUILDING" or "00|14|       USA").  It will then parse out the three 

keys (in the specified order) from the input code and return the three separate keys SY,RT,KY without 

separator characters, to be used when retrieving the F0005 records.  

  Please note that some of the KY values in the third segment are left justified  (such as 

"BUILDING"), and some are right justified  (such as "       USA" ).  Right justified values must include leading 

spaces for proper retrieval from the F0005 table.  Normally, however this third value will not be 

passed in.  A partial key fetch will be used instead.  A partial key fetch from the F0005 table can be 

achieved by passing in only part of the key, as in "SY|RT"  (e.g. "00|PM" or "00|14|") to fetch multiple 

records.                                    


Setup Notes and Prerequisites



Special Logic


  If any of the three key values concatenated within the input code are longer than the corresponding 

F0005 key fields SY,RT,or KY... the characters will be copied into the correct key until the end of 

the key field is reached.  Extra characters in the input string will be ignored until the next 

separator character is found.  The order and length of the F0005 key fields (excluding the Null terminator) 

which will be returned are:


No. DDFIELDSTRING

ITEMNAMELENGTH


1)SYUDC Product Code      4

2)RTUser Defined Code      2

3)KYUser Defined Code Value    10



Technical Specification




Data Structure

D0000700 - Parse UDC Code SY|RT|KY

Parameter NameData ItemData TypeReq/OptI/O/Both
szInputCode_SY_RT_KYKYXcharREQINPUT

This column contains a list of valid externally defined codes for a specific Code Map.

szUDCProductCode_SYSYcharOPTOUTPUT

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

szUserDefinedCode_RTRTcharOPTOUTPUT

A code that identifies the table that contains user defined codes. The table is also referred to as a UDC type.

szUserDefinedCodeValue_KYKYcharOPTOUTPUT

A list of valid codes for a specific user defined code list.

mnCodeLengthCDLMATH_NUMERICOPTOUTPUT

The length of the user defined code. It cannot be greater than 10 characters.

Related Functions

None

Related Tables

F0004 User Defined Code Types
TrimUDCValue_KY_ToCodeSize

TrimUDCValue_KY_ToCodeSize

Parse UDC Code SY|RT|KY

Minor Business Rule

Object Name: B0000700

Parent DLL: CFIN

Location: Client/Server

Language: C

Data Structure

D0000700C - Trim UDC Value KY To Code Size

Parameter NameData ItemData TypeReq/OptI/O/Both
szUDCValue_KY_F0005KYcharREQINPUT

A list of valid codes for a specific user defined code list.

mnCodeLengthCDLMATH_NUMERICREQINPUT

The length of the user defined code. It cannot be greater than 10 characters.

szUDCValue_KY_TrimmedKYcharREQOUTPUT

A list of valid codes for a specific user defined code list.

Related Functions

None

Related Tables

F0004 User Defined Code Types