F37021UpdateSpecificationDetail

F37021 Update Specification Detail

Minor Business Rule

Object Name: N3700330

Parent DLL: CMFG

Location: Client/Server

Language: NER

Purpose:
To update the Specification Detail File (F37021).

If workflow is on start the workflow process.

 

Setup Notes:

Called from Specification Revisions (P3702).

Called from Quality Management Approvals (P37300), when Workflow is on.


Special Logic:

none


Function Outline:

If Origin Code = '1' (called from P3702)

If Workflow = '1'

Write detail record as pending

Start workflow process

Else

If Logging Activated = '1'

Write History record of current active (N3700390)

Insert/Update/Delete record

Else

Insert/Update/Delete record

Endif

Endif


If Origin Code = '2' (called from workflow process P37300)

Select and fetch first pending record

While File I/O status NE Error

call Insert/Delete Specification Detail (N3700400)

Fetch Next

End While

Endi

^

Data Structure

D3700330 - F37021 Update Specification Detail

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

szSpecificationRevisionLevQREVcharOPTNONE

An alphanumeric character that represents the number of times a specification has changed. To avoid overlapping revisions, the system 
verifies that the start dates of revisions are greater than the end dates of other revisions.

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.

mnTestSortSequenceNumberTSRTMATH_NUMERICOPTNONE

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

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.

jdEffectiveFromDateEFFFJDEDATEOPTNONE

A date that indicates one of the following:     o When a component part goes into effect on a bill of material     o When a routing step goes into 
effect as a sequence on the routing for an item     o When a rate schedule is in effect The default is the current system date. 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.

szTestIDQTSTcharOPTNONE

The unique identification for a test to be performed on an item. For example:    COL Color test    DENS Density Test    CL-2   Clarity Test 

szCostCenter2MCU2charOPTNONE

An accounting entity, such as a profit center, department, warehouse location, job, project, workcenter, and so on, required for management 
reporting.

cActionCode2ACTNcharOPTNONE

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

mnUniqueKeyIDInternalUKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

mnQualityTableSequenceNumberQTSNMATH_NUMERICOPTNONE

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

szUserReservedCodeURCDcharOPTNONE

This is a 2 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

jdUserReservedDateURDTJDEDATEOPTNONE

This is a 6 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

mnUserReservedAmountURATMATH_NUMERICOPTNONE

This is a 15 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

szUserReservedReferenceURRFcharOPTNONE

A 15-position reference that is reserved for the user.  J.D. Edwards does not currently use this field and does not plan to use it in the future.

mnUserReservedNumberURABMATH_NUMERICOPTNONE

This is a 8 position code that is reserved for the user.  JDE does not currently use this field and will not utilize this field in the future.

cActivateWorkflowEV01charOPTNONE

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

cSuppressErrorMessagesEV01charOPTNONE

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

szErrorMessageDTAIcharOPTNONE

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.

cActivateLoggingEV01charOPTNONE

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

cOriginCodeEV01charOPTNONE

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

cApprovalActionCodeAPPRACTcharOPTNONE

A code that determines whether a workflow recipient has accepted or rejected a workflow task that has been submitted for approval. Valid 
values are: A Accept. R Reject.

mnDeleteHistorySequenceNumberQTSNMATH_NUMERICOPTNONE

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

cDeleteAllEV01charOPTNONE

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

cResequenceTestSortSequenceEV01charOPTNONE

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

mnQualityMgmtAB2QMAB2MATH_NUMERICOPTNONE

Reserved for Quality Management. 

szQualityMgmtCode2QMCD2charOPTNONE

Reserved for Quality Management.

jdQualityMgmtDate2QMDT2JDEDATEOPTNONE

Reserved for Quality Management.

mnQualityMgmtNumeric2QMNUM2MATH_NUMERICOPTNONE

Reserved for Quality Management. 

szQualityMgmtReference2QMRF2charOPTNONE

Reserved for Quality Management. 

Related Functions

None

Related Tables

None