F00092RunProgramFromSupplDB

F00092, Run Program from Supplement Database

Major Business Rule

Object Name: B4101000

Parent DLL: COPBASE

Location: Client

Language: C

Functional Description

Purpose

This function will run an application based on the parameters: Supplemental 

Database Code,

Type of Data, Business Unit, Key Company, Numeric Key 1, Numeric Key 2, Alpha Key 

2,

application ID, form ID and version.


Setup Notes and Prerequisites


Special Logic


Technical Specification


Parameters

Data Item     Data Structure Description      I/O      Required     Notes

SDB           Supplemental Database Code       I          Y

TYDT          Type of Data                     I          Y

MCU           Business Unit                    I          Y

KCO           Key Company                      I          Y

SBA1          Alpha Key 1                      I          Y

SBA2          Alpha Key 2                      I          Y

SBN1          Numeric Key 1                    I          Y

SBN2          Numeric Key 2                    I          Y


Related Tables

F00091 - Supplemental Database Data Types

F00090 - Supplemental Database Setup


Related Business Fuctions


Processing

Use Supplemental Database Code to retrieve key Alias (Key can no more than 3 

aliases) from F00090.

Do dynamic resolution of the retrieved alias and the form variable (form variable 

could be MCU, KCO,

SBA1, SBA2, SBN1, SBN2).

If the variable fits tha alias, create data structure using that alias.

Use Start_Form_Dynamic with the data structure created.  Pass in the application 

ID, form ID,

and (optional) version from the F00091.

^

Data Structure

D4101000 - F00092, Run Program From Supplement Database

Parameters
Data Item     Data Structure Description      I/O      Required     Notes
SDB           Supplemental Database Code       I          Y
TYDT          Type of Data                     I          Y

MCU           Business Unit                    I          Y

KCO           Key Company                      I          Y

SBA1          Alpha Key 1                      I          Y

SBA2          Alpha Key 2                      I          Y

SBN1          Numeric Key 1                    I          Y

SBN2          Numeric Key 2                    I          Y



^

Parameter NameData ItemData TypeReq/OptI/O/Both
szSupplementalDatabaseCodeSDBcharNONENONE

A user defined code (00/SD) that sets up databases for groups of related supplemental data types. This code differentiates the 
supplemental data types for various systems. For example, the Employee (E) supplemental database contains data types that you use to track 
additional employee information, such as education and job skills.

szDataTypeTYDTcharNONENONE

A code that you assign to supplemental data so that you can group data by categories. Valid values include: A Approval steps B Requisition 
requirements C Interview process N Requisition notes

szBranchPlantMCUcharNONENONE

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.

szKeyCompanyKCOcharNONENONE

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.

szAlphaKey1SBA1charNONENONE

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

szAlphaKey2SBA2charNONENONE

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

mnNumericKey1SBN1MATH_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.

mnNumericKey2SBN2MATH_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.

Related Functions

None

Related Tables

F00090 Supplemental Database Setup
F00091 Supplemental Database Data Types
F9865 Form Information File