N1600030

Validate Data Item in File

Minor Business Rule

Object Name: N1600030

Parent DLL: CALLBSFN

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

This program will validate that a specific data item is valid for the file name passed from the 

calling program. It will retrieve and pass the description for the data item.


1.2Setup Notes and Prerequisites

None

1.3Special Logic

None


2.Technical Specifications

2.4Processing

1.If not received, Retrieve internal file ID using "Retrieve Object Master" (B9800014).
2.Call "Get Table Columns" (B9800098) repetitively until the data item returned = "*DONE" to 

retrieve the data item and description for each data item on the file received.

a)Increment the Processing Option Identifier parameter for this business function by 1 each time 
the function is called. This parameter identifies the data item to retrieve, "1" retrieves the 

first data item, "2" the second and so on.

b)If the data item name matches the one passed by the calling program exit successfully.

c)    If the data item = "*DONE", exit the loop and return to the calling program with error 
message 2827. 

 

Data Structure

D1600030 - Validate Data Item in File

Parameter NameData ItemData TypeReq/OptI/O/Both
szFileNameFILEcharNONENONE

The number of a specific table. For example, the Account Master table name is F0901. See the Standards Manual on the programmers' 
menu for naming conventions.

idFileIdOBIDIDNONENONE

The Object Identifier uniquely identifies a control on a form.

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.

cEverestEventPoint02EV02charNONENONE

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

szMessageNoSHNOcharNONENONE

A generic rates and message code (48/SN) that is assigned to a standard note, message, or general narrative explanation. You can use 
this code to add instructional information to a work order. You set up codes for this field on the Generic Message/Rate Types table (F00191).

szDescription001DL01charNONENONE

A user defined name or remark.

Related Functions

None

Related Tables

None