DeleteInactiveRecords

DeleteInactiveRecords

Minor Business Rule

Object Name: N3201750

Parent DLL: CMFG

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

The Business Function will be used  to delete inactive records from B3200370 Cache and all related records from B3200350 and B3200400.
1.2Setup Notes and Prerequisites
This function assumes Sys 32 Caches are loaded.


1.3Special Logic

None


2.Technical Specifications


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes CFGIDConfiguration IDIR JOBSCache Job NumberIR SUPPSSuppress Error 

MessageIO DTAIError Message IDOO


2.2Related Tables 

Table Table Description


2.3Related Business Functions

Source NameFunction Name B3200370CacheProcessAllComponents B3200350CacheProcessSegementValues B3200400CacheProcessPriceCost


2.4Processing

Set Default Values

While there are Configured Inactive Records in B3200370

Read Record from B3200370 to get ComponentID
If successful

Delete records from B3200350 and B3200400
   Matching ConfigurationID and ComponentID
End If

End While

Delete All Inactive Records from B3200370


3.2 Where Used: APPs/UBEs/NERs/BSFNs


ApplicationDescription/Name P32942Configured Item Specifications 

Data Structure

D3201750 - DeleteInactiveRecords

Parameter NameData ItemData TypeReq/OptI/O/Both
mnConfigurationIDNumberCFGIDMATH_NUMERICOPTNONE

An identifier that represents a unique configuration. It is generated by a next number value and is the key to the configuration tables.

mnJobNumberJOBSMATH_NUMERICOPTNONE

The job number (work station ID) which executed the particular job.

szErrorMessageIDDTAIcharOPTNONE

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.

cSuppressErrorMessageSUPPScharOPTNONE

A flag indicating whether or not runtime error messaging will occur when an error message is issued from a business function.        0 = allow 
runtime error message handling.        1 = suppress runtime error message handling.

Related Functions

None

Related Tables

None