VerifySupplementalDatabase

Verify Supplemental Database

Major Business Rule

Object Name: N4101010

Parent DLL: COPBASE

Location: Client/Server

Language: NER

Functional Description

Purpose

This function verifies that the parameters exist in a  master file based on the Alias from the F00090 
file.


Setup Notes and Prerequisites

None.

Special Logic

None.

Technical Specification

The function verifies that the Numeric field entered by the user exists in the F4101 if the Alias = 
'ITM'.

The function verifies that the Numeric field entered by the user exists in the F1201 if the Alias = 

'NUMB'.

The function verifies that the Alpha field entered by the user exists in the F08001 if the Alias = 

'JBCD'.

The function verifies that the Alpha field entered by the user exists in the F08001 if the Alias = 

'JBST'.

The function verifies that the Numeric field entered by the user exists in the F0101 if the Alias = 

'AN8'.

The function verifies that the Alpha field entered by the user exists in the F4801 if the Alias = 

'RORN'.

The function verifies that the Alpha field entered by the user exists in the F4801 if the Alias = 

'RCTO'.


Retrievals:

1.)  Supplemental Database Table (F00090).
SFN1- SDB Numeric Key Flag 1

SFN2- SDB Numeric Key Flag 2

SBA1- SDB Alpha Key Flag 1

SBA2- SDB Alpha Key Flag 2



^

Data Structure

D4101010 - Verify Supplemental Database

Parameters:
Data Item
Data Structure Description  I/0Required
SAL1Supplemental Database Alias 1  IY
SAL3Supplemental Database Alias 3

SBA1Supplemental Data Alpha Key 1  IY

SBN1Supplemental Data Numeric Key 1  IY

DTAIData Item  ON

ERRCError Code  ON

SAL2Supplemental Database Alias 2

SAL4Supplemental Database Alias 4

SBN2Supplemental Numeric Key 2  IY

SBA2Supplemental Data Alpha Key 2  IY

MCUCost Center

KCOCompany Key



^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSuppDatabaseAlias1SAL1charNONENONE

A data dictionary alias name for the first alphanumeric key of the generic supplemental database. Valid values for this key are defined in 
the attached user defined code.

szSuppDatabaseAlias3SAL3charNONENONE

A data dictionary alias name for the first numeric key of the generic supplemental database. Valid values for this key are defined in the 
attached user defined code.

szSuppDataAlphaKey1SBA1charNONENONE

This field specifies one of the alphanumeric keys to the Generic Supplmental Database.  The key may be selected from a list of supported 
data items such as Job Number, Job Type, Document Type etc

mnSuppDataNumericKey1SBN1MATH_NUMERICNONENONE

This field specifies one of the numeric keys to the Generic Supplemental Database. You can select the key from a list of supported data 
items, such as Address Number, Account ID, Asset ID, Item Number, and so on.

szDataItemDTAIcharNONENONE

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.

cErrorCodeERRCcharNONENONE

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

szSuppDatabaseAlias2SAL2charNONENONE

A data dictionary alias name for the second alphanumeric key of the generic supplemental database. Valid values for this key are defined 
in the attached user defined code.

szSuppDatabaseAlias4SAL4charNONENONE

A data dictionary alias name for the second numeric key of the generic supplemental database. Valid values for this key are defined in the 
attached user defined code.

mnSuppDataNumericKey2SBN2MATH_NUMERICNONENONE

This field specifies one of the numeric keys to the Generic Supplmental Database.  The key may be selected from a list of supported data 
items such as address book, Account ID, Asset ID, Item Number etc.

szSuppDataAlphaKey2SBA2charNONENONE

This field specifies one of the alphanumeric keys to the Generic Supplmental Database.  The key may be selected from a list of supported 
data items such as Job Number, Job Type, Document Type etc

szCostCenterMCUcharNONENONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szCompanyKeyKCOcharNONENONE

A number that, with the document number, document type and G/L date, uniquely identifies an original document, such as invoice, voucher, 
or journal entry. If you use the Next Numbers by Company/Fiscal Year feature, the Automatic Next Numbers program (X0010) uses the 
document company to retrieve the correct next number for that company. If two or more original documents have the same document number and 
document type, you can use the document company to locate the desired document.

Related Functions

None

Related Tables

None