F48002GetSubTitles

F48002 Get Sub-Titles

Minor Business Rule

Object Name: B4800030

Parent DLL: CMFG

Location: Client/Server

Language: C

Functional Description

Purpose

Retrieve the Sub-Titles for the corresponding Record Type (TYPR) in the Work Order Record Types table 
(F48002).


Setup Notes and Prerequisites


Special Logic




Technical Specification




1. Initialize Error Message ID (EV01) field to a single blank character

2. Read the Work Order Record Types table (F48002) using Record Type (TYPR) as the key.

3. If a rows does not exist, 

           Move Error ID ("0002") to DS Error Message ID (DTAI)

          If DS Suppress Error Messages (EV01) is not equal to 1

                 Issue GBR error "0002" (Record Type).


4. Else if a row exists, Copy:

    Work Order Record Type's (F48002) Sub-Title Description    (ST01) to Sub-Title         

Description (ST01).

    Work Order Record Type's (F48002) Sub-Title Description    (ST02) to Sub-Title         

Description (ST02).

    Work Order Record Type's (F48002) Sub-Title Description    (ST03) to Sub-Title         

Description (ST03).

    Work Order Record Type's (F48002) Sub-Title Description    (ST04) to Sub-Title         

Description (ST04).

    Work Order Record Type's (F48002) Sub-Title Description    (ST05) to Sub-Title         

Description (ST05).

    Work Order Record Type's (F48002) Sub-Title Description    (ST06) to Sub-Title         

Description (ST06).





^

Data Structure

D4800030 - F48002 Get Sub-Titles

Parameter NameData ItemData TypeReq/OptI/O/Both
cRecordTypeTYPRcharNONENONE

The detail specification record type. Record types are user defined. You can set them up on the Detail Specification Types form and use 
them to describe certain types of work order or engineering change order information.

szSubtitleDescription01ST01charNONENONE

A subtitle, description, remark, name, or address. The text that you type in this field appears as a column heading on the Work Order Detail 
Entry form for the record type indicated.

szSubtitleDescription02ST02charNONENONE

A sub-title, description, remark, name or address. The text you type in this field will appear as a column head on the Work Order Detail Entry 
screen for the record type indicated.

szSubtitleDescription03ST03charNONENONE

A sub-title, description, remark, name or address. Detail Entry screen for the record type indicated.

szSubtitleDescription04ST04charNONENONE

A sub-title, description, remark, name or address.

szSubtitleDescription05ST05charNONENONE

A sub-title, description, remark, name or address.

szSubtitleDescription06ST06charNONENONE

A sub-title, description, remark, name or address.

cSuppressErrorMessagesEV01charNONENONE

An option that specifies the type of processing for an event.

szErrorMessageIDDTAIcharNONENONE

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

F48002 Work Order Record Types File