LogHistoryRecordsF3702

F3702, F37021 Log History Records

Minor Business Rule

Object Name: N3700390

Parent DLL: CMFG

Location: Client/Server

Language: NER

Purpose:
Retrieve current active record, write it as a history record and then delete the current active and 

pending record. 


Setup Notes:

Called from F3702 MBF (N3700100) when the processing option to log history records is on.


Special Logic:

none


Function Outline:

Retrieve current active record


Write record as history


Delete current active record


Delete current pending record


If Action Code = Delete

Write history record for delete transaction

Endif

^

Data Structure

D3700390 - Log History Records - F3702 and F37021

Parameter NameData ItemData TypeReq/OptI/O/Both
szSpecificationQSPCcharOPTNONE

The unique identification for a set of tests which need to be performed together. For example:        F-156 - FDA Specification 156        SP34 - 
Specification 34

szCostCenterMCUcharOPTNONE

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.

cStatus9STAWcharOPTNONE

A user-defined code (00/WS) that indicates the approval status.

jdEffectiveThruDateEFFTJDEDATEOPTNONE

A date that indicates one of the following:     o When a component part is no longer in effect on a bill of material     o When a routing step is no 
longer in effect as a sequence on the routing for an item     o When a rate schedule is no longer active The default is December 31 of the 
default year defined in the Data Dictionary for Century Change Year. You can enter future effective dates so that the system plans for upcoming 
changes. Items that are no longer effective in the future can still be recorded and recognized in Product Costing, Shop Floor Management, 
and Capacity Requirements Planning. The Material Requirements Planning system determines valid components by effectivity dates, not by 
the bill of material revision level. Some forms display data based on the effectivity dates you enter.

mnQualityTableSequenceNumberQTSNMATH_NUMERICOPTNONE

A control number that uniquely identifies master table records in the Quality Management system. The system automatically generates this 
number.

mnTestSortSequenceNumberTSRTMATH_NUMERICOPTNONE

A number used to determine the sort order of tests and specifications within preference profiles (item/test specifications).

cActionCode2ACTNcharOPTNONE

A code that specifies the action that is performed. Valid values are: A Add C Change

mnDeleteHistorySequenceNumberQTSNMATH_NUMERICOPTNONE

A control number that uniquely identifies master table records in the Quality Management system. The system automatically generates this 
number.

Related Functions

None

Related Tables

None
LogHistoryRecordsF37021

LogHistoryRecordsF37021

F3702, F37021 Log History Records

Minor Business Rule

Object Name: N3700390

Parent DLL: CMFG

Location: Client/Server

Language: NER

Purpose: Retrieve current active record, write it as a history record and then delete the active and pending record.  Setup Notes: Called from 
F37021 MBF (N3700330) when the processing option to log history records is on. Special Logic: none Function Outline: Retrieve current active 
record Write record as history If Action Code NE Add Delete current active record Endif If Action Code = Delete Write history record for delete 
transaction Endi^

Data Structure

D3700390 - Log History Records - F3702 and F37021

Parameter NameData ItemData TypeReq/OptI/O/Both
szSpecificationQSPCcharOPTNONE

The unique identification for a set of tests which need to be performed together. For example:        F-156 - FDA Specification 156        SP34 - 
Specification 34

szCostCenterMCUcharOPTNONE

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.

cStatus9STAWcharOPTNONE

A user-defined code (00/WS) that indicates the approval status.

jdEffectiveThruDateEFFTJDEDATEOPTNONE

A date that indicates one of the following:     o When a component part is no longer in effect on a bill of material     o When a routing step is no 
longer in effect as a sequence on the routing for an item     o When a rate schedule is no longer active The default is December 31 of the 
default year defined in the Data Dictionary for Century Change Year. You can enter future effective dates so that the system plans for upcoming 
changes. Items that are no longer effective in the future can still be recorded and recognized in Product Costing, Shop Floor Management, 
and Capacity Requirements Planning. The Material Requirements Planning system determines valid components by effectivity dates, not by 
the bill of material revision level. Some forms display data based on the effectivity dates you enter.

mnQualityTableSequenceNumberQTSNMATH_NUMERICOPTNONE

A control number that uniquely identifies master table records in the Quality Management system. The system automatically generates this 
number.

mnTestSortSequenceNumberTSRTMATH_NUMERICOPTNONE

A number used to determine the sort order of tests and specifications within preference profiles (item/test specifications).

cActionCode2ACTNcharOPTNONE

A code that specifies the action that is performed. Valid values are: A Add C Change

mnDeleteHistorySequenceNumberQTSNMATH_NUMERICOPTNONE

A control number that uniquely identifies master table records in the Quality Management system. The system automatically generates this 
number.

Related Functions

None

Related Tables

None