GT3701ATestRevisionsText

Copy Generic Text from Test Revision to Preference

Minor Business Rule

Object Name: B3700060

Parent DLL: CMFG

Location: Client/Server

Language: C

1.Functional Description

1.1Purpose
This Business function will perform a Copy and/or  Delete of the generic text attached to the  
Preference Profile Quality Management when a new test is added to the preference.  


1.2Setup Notes and Prerequisites
When calling the Business functions the calling application is responsible for loading all the 
appropriate keys.

• The appropriate mode has to be entered
•  Mode '1' -  Copy the generic text on the Test Revisions to the Preference.
•  Mode '2' -  Delete the Generic text on the test when the test is being deleted.

1.3Special Logic

There is no special logic within this business function

2.4Processing 

Switch

Mode '1'

Load the keys for the GT3701A and GT40300A DataStructures.

Call the API Copy Generic Text ("GT3701A", 0, key3701a, "GT40300A", 0, key40300a)


Mode '2'
Load the keys for the GT40300A DataStructure

Call 

AllocBuildStrFromDstmplName (NULL "GT40300A", &dsKey40300a)
StripKey (pStringKey)
JDEGTDelete(lpBhvrrCom 'e0hEnv, (LPCSTR) "GT40300A", (LPCSTR) pStringKey, szLang);


Data Structure

D3700060 - Copy Generic Text from Test to Preference

Parameter NameData ItemData TypeReq/OptI/O/Both
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 

szBranchPlantMCUcharOPTNONE

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.

mnTextIDNumberTXIDMATH_NUMERICOPTNONE

Unique identifier associating a preference with it's generic text.

cModeEV01charOPTNONE

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

cSuppressErrorMessageEV01charOPTNONE

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

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.

Related Functions

None

Related Tables

None