ValidateUDC

Validate User Defined Codes

Minor Business Rule

Object Name: B0900045

Parent DLL: CFIN

Location: Client/Server

Language: C

Functional Description

Purpose

Function uses the "jdeValidateUDC" jde API to check existence of a Sys Code, UDC Type, and UDC Key 

combination.  An error is indicated if the combination does not exist.  


Setup Notes and Prerequisites


Special Logic




Technical Specification


After memory for the data structure is initialized to Nulls, passed values are copied to Data 

Structure DS25238.  This structure is required for the "jdeValidateUDC" API.  If the "jdeValidateUDC" returns 

Null (not found), the error 0027 (User Defined Code Error) is indicated to the user.  Otherwise, the 

function completes successfully with no indication to the user.


Data Structure

D0900045 - Validate User Defined Codes

Parameter NameData ItemData TypeReq/OptI/O/Both
szSystemCodeSYcharNONENONE

Special Input Expected
a valid system code



^

szUserDefinedCodesRTcharNONENONE

Special Input Expected
a UDC code type

^

szUserDefinedCodeKeyKYcharNONENONE

Special Input Expected
a UDC code Value

^

Related Functions

None

Related Tables

None