GetTestResultRecord

F3711 Get Test Results Detail Rows

Minor Business Rule

Object Name: B3700050

Parent DLL: CMFG

Location: Client/Server

Language: C

B3700050

GetTestResultRecord


This function retrieves records from F3711 based on the selection and sort criteria set up in 

SetTestResultSelection.


The pointer to the stored data structure (returned in idTestResSelection by SetTestResultSelection) 

must be passed in via the idTestResSelection field. The next record that matches the selection criteria 

and sequenced by the sort criteria  referenced by this pointer is returned in the fields of the D3711 

record.


^

Data Structure

D3711 - Test Results - All Fields

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDOCODOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szDCTODCTOcharOPTNONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szKCOOKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLNIDLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

szRCTORCTOcharOPTNONE

A user defined code (system 00, type DT) that indicates the document type of the secondary or related order. For example, a purchase 
order might be document type OP and might have been created to fill a related work order with document type WO.

szRORNRORNcharOPTNONE

A number that identifies a secondary purchase order, sales order, or work order that is associated with the original order. This number is for 
informational purposes only.

szRKCORKCOcharOPTNONE

The key company that is associated with the document number of the related order.

mnRLLNRLLNMATH_NUMERICOPTNONE

A number of the detail line on the related order for which the current order was created. For example, on a purchase order created to fill 
open sales orders, this is the line number of the sales order on which the item you are ordering appears.

szMCUMCUcharOPTNONE

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.

szLOCNLOCNcharOPTNONE

The storage location from which goods will be moved.

szLOTNLOTNcharOPTNONE

A number that identifies a lot or a serial number. A lot is a group of items with similar characteristics.

mnAN8AN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szCS18CS18charOPTNONE

User defined code (system 40, type 18) identifying a group to which you can assign customers for the Item/Test Specifications. Do this 
when the customers are similar and you want to group them together to define preferences quickly and easily. Enter the code that identifies the 
customer group for which you want to define a preference. You can define the preference for this group alone or for a combination of customer 
group and item or item group. If you leave both the Customer Number and the Customer Group fields blank, the system applies the 
preference to all customers.

mnITMITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

szIT18IT18charOPTNONE

User defined code (system 40, type 68) identifying a group to which you can assign items for the Item/Test Specifications. Do this when you 
have a group of similar items and you want to group them together to define preferences quickly and easily. Enter the code that identifies the 
item group for which you want to define a preference. You can define the preference for this group alone or for a combination of item group 
and customer or customer group. If you leave both the Item Number and Item Group fields blank, the system applies the preference to all items

szQTSTQTSTcharOPTNONE

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

szMCU2MCU2charOPTNONE

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

szQSPCQSPCcharOPTNONE

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

szHMCUHMCUcharOPTNONE

The number of the business unit in which the employee generally resides.

mnTSRTTSRTMATH_NUMERICOPTNONE

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

szQREVQREVcharOPTNONE

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.

szQVALQVALcharOPTNONE

The result of the performed test.

cQPFQPFcharOPTNONE

The value which identifies whether the test passed (P) or failed (F).

cTOVRTOVRcharOPTNONE

The flag which designates whether a test has been overridden. Valid values are:    1   overridden    0   not overridden 

szMUSEMUSEcharOPTNONE

The IBM defined user identification. Used where a second User ID is required (in addition to USER), such as the Financial Reporting 
Merge file (F1011) where field name is duplicated.

mnANOANOMATH_NUMERICOPTNONE

The address book number of the person who originated the change request. The system verifies this number against the Address Book.

jdQDATQDATJDEDATEOPTNONE

The date on which the test was performed.

mnQTIMQTIMMATH_NUMERICOPTNONE

The time at which the test was performed.

szQDSPQDSPcharOPTNONE

mnSNBRSNBRMATH_NUMERICOPTNONE

A number assigned to a group of tests within the same sample.

mnQSMPQSMPMATH_NUMERICOPTNONE

The number of samples to be taken for the test.

mnSMPCSMPCMATH_NUMERICOPTNONE

The percentage of an order quantity that determines the number of samples to create in Test Results Revisions. For example, if the sample 
percentage is 50 percent and the order quantity is 10, then 5 samples will be created in Test Results Revisions. Use either this field or 
Number of Samples to control how many samples to create. You can use this field only with the order mode of Test Results Revisions. If the 
sample percentage is 100 percent, then testing is required for every unit on the order. You cannot use Accept Percentage or Accept Quantity, 
since all units on the order must pass for the lot to pass.

mnACQTACQTMATH_NUMERICOPTNONE

A flag that indicates the quantity of tests that must pass in order for the test sample to pass quality control. The system evaluates this value 
when the sample percentage is not equal to 100. To use this accept quantity value, you must complete the following fields on Test Definitions 
accordingly:    1       Display/Evaluate    Blank Accept Percentage

mnACPCACPCMATH_NUMERICOPTNONE

A flag that indicates the percentage of tests that must pass in order for the sample to pass quality control. The system evaluates this value 
when the sample percentage is not equal to 100. To use the accept percentage value, you must complete the following fields on Test 
Definitions accordingly:    1         Display/Evaluate    Blank Accept Quantity

szSYSYcharOPTNONE

A user defined code (98/SY) that identifies a system. Valid values include: 01 Address Book 03B Accounts Receivable 04 Accounts 
Payable 09 General Accounting 11 Multicurrency

szRTRTcharOPTNONE

A code that identifies the table that contains user defined codes. The table is also referred to as a UDC type.

szAMINAMINcharOPTNONE

The lowest value for a passing test result.

szAMAXAMAXcharOPTNONE

The highest value for a passing test result.

szPMINPMINcharOPTNONE

The lowest value for the preferred test result. This value must be greater than or equal to the allowed minimum value. Use the preferred 
minimum value to measure quality to a more precise specification than a customer requests. Processing options for the Certificate of Analysis 
program allow you to print the preferred value on the Certificate of Analysis report. Processing options for the Test Revisions program allow you 
to evaluate samples against the preferred values.

szPMAXPMAXcharOPTNONE

The highest value for the preferred test result. This value must be less than or equal to the allowed maximum value. Use the preferred 
maximum value to measure quality to a more precise specification than a customer requests. Processing options for the Certificate of Analysis 
program allow you to print the preferred value on the Certificate of Analysis report. Processing options for the Test Revisions program allow you 
to evaluate samples against the preferred values.

jdEFFFEFFFJDEDATEOPTNONE

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.

jdEFFTEFFTJDEDATEOPTNONE

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.

szQTRGQTRGcharOPTNONE

The preferable or target test result within the test results range. As the system does not test against a target value, this field is for your 
information only.

mnQSSZQSSZMATH_NUMERICOPTNONE

The quantity of one sample to be taken for the test. As the system does not use this field, it is for your information only.

mnQASZQASZMATH_NUMERICOPTNONE

szQUMQUMcharOPTNONE

Identifies the unit of measure for a sample you take to test. Examples of units of measure include barrels, gallons, hours, and cubic yards.

cPTTSPTTScharOPTNONE

A code used to determine whether or not a test will be printed on the Certificate of Analysis. The valid values are:    0   The test will not be 
printed on the Certificate of Analysis.    1   Print all occurrences of a test on the Certificate of Analysis.    2   Print just the average test result record 
when printing the Certificate of Analysis.    3   Print the last occurrence of a test when printing the Certificate of Analysis. The last occurrence will 
be the test results record that was entered last using Test Results Revisions.

szQTC1QTC1charOPTNONE

One of five reporting codes that can be assigned to each test defined.  Use these codes to categorize tests into different groups.  Category 
codes are user defined (System 37, types T1 through T5). Examples:        Category code T1 - Test Equipment         Category code T2 - Test 
Process

szQTC2QTC2charOPTNONE

One of five reporting codes that can be assigned to each test defined.  Use these codes to categorize tests into different groups.  Category 
codes are user defined (System 37, types T1 through T5). Examples:        Category code T1 - Test Equipment         Category code T2 - Test 
Process

szQTC3QTC3charOPTNONE

One of five reporting codes that can be assigned to each test defined.  Use these codes to categorize tests into different groups.  Category 
codes are user defined (System 37, types T1 through T5). Examples:        Category code T1 - Test Equipment         Category code T2 - Test 
Process

szQTC4QTC4charOPTNONE

One of five reporting codes that can be assigned to each test defined.  Use these codes to categorize tests into different groups.  Category 
codes are user defined (System 37, types T1 through T5). Examples:        Category code T1 - Test Equipment         Category code T2 - Test 
Process

szQTC5QTC5charOPTNONE

One of five reporting codes that can be assigned to each test defined.  Use these codes to categorize tests into different groups.  Category 
codes are user defined (System 37, types T1 through T5). Examples:        Category code T1 - Test Equipment         Category code T2 - Test 
Process

cTTTYTTTYcharOPTNONE

A value that specifies how the system processes tests as you enter test results. Valid values are:    R  Required. Result values must be 
within the allowable range for the test to pass. The system does not allow an item to pass quality inspection until you enter results for each 
required test.    O  Optional. Result values are optional during results entry. The system does not require the entry of a result for each optional test. 
However, if you enter failing results, the item fails quality inspection.    G  Guaranteed. Result values are optional during results entry. You can 
control whether Guaranteed tests appear as you enter test results with the Display Test field on Test Revisions. In addition, guaranteed tests 
print on the Certificate of Analysis.

cMFGRMFGRcharOPTNONE

A value that specifies whether the system displays the test on the Test Results Revisions form when you access the Test Results 
Revisions program (P3711) from any of the following Manufacturing programs:   o  Co-/By-Product Completion (P31115)   o  Super Backflush (P31123)   
o  Work Order Time Entry (P311221) If you enter 1 in the grid column or if this option is checked, the system displays the test on the Test 
Results Revisions form. You can use this value with the operation sequence and routing type to control the appearance of the test at an operation 
or routing type.

cMRRRMRRRcharOPTNONE

A value that controls whether a test will display on the Test Results Revisions form when you access test results from the Routing 
Movement and Disposition (P43250) program when the routed order is a manufacturing work order. Valid values are:    1   The test will appear on Test 
Results Revisions.    0   The test will not appear on Test Results Revisions. You can use this value with the operation sequence to control the 
appearance of the test at a route operation.

cMFGCMFGCcharOPTNONE

A value that specifies whether the system displays the test on the Test Results Revisions form when you access the Test Results 
Revisions program (P3711) from either of the following Manufacturing programs:   o  Work Order Completions (P31114)   o  Completions Workbench 
(P3119) If you enter 1 in the grid column or if this option is checked, the system displays the test on the Test Results Revisions form.

cPRCRPRCRcharOPTNONE

A value that controls whether a test will display on the Test Results Revisions form when you access test results from either Receipts by 
P/O or Receipts by Item (P4312). Valid values are:    1   The test will appear in Test Results Revisions.    0   The test will not appear in Test 
Results Revisions.

cPRERPRERcharOPTNONE

A value that controls whether the test will display on the Test Results Revisions form when you access test results from Routing Movement 
and Disposition (P43250) and the routed order is a purchase order. Valid values are:    1   The test will appear on Test Results Revisions.    0   
The test will not appear on Test Results Revisions. You can use this value with the operation sequence to control the appearance of the test 
at an operation.

cSHPRSHPRcharOPTNONE

A value that controls whether the test will display on the Test Results Revisions form when you access test results from the Ship 
Confirmation (P4205) program. Valid values are:    1   The test will appear on Test Results Revisions.    0   The test will not appear on Test Results 
Revisions.

cBLKRBLKRcharOPTNONE

A value that controls whether the test will display on the Test Results Revisions form when you access test results from one of the following 
programs:     o Bulk Confirm by Order or Bulk Confirm by Trip (P49510)     o Packaged Load Confirmation (P49530) Valid values are:    1   The 
test will appear on Test Results Revisions.    0   The test will not appear on Test Results Revisions.

mnOPSQOPSQMATH_NUMERICOPTNONE

A number used to indicate an order of succession. In routing instructions, a number that sequences the fabrication or assembly steps in the 
manufacture of an item. You can track costs and charge time by operation. In bills of material, a number that designates the routing step in the 
fabrication or assembly process that requires a specified component part. You define the operation sequence after you create the routing 
instructions for the item. The Shop Floor Management system uses this number in the backflush/preflush by operation process. In engineering 
change orders, a number that sequences the assembly steps for the engineering change. For repetitive manufacturing, a number that 
identifies the sequence in which an item is scheduled to be produced. Skip To fields allow you to enter an operation sequence that you want to begin 
the display of information. You can use decimals to add steps between existing steps. For example, use 12.5 to add a step between steps 
12 and 13.

mnOPRSOPRSMATH_NUMERICOPTNONE

The sequence in which the system performs the operations or steps of the route.

mnBSEQBSEQMATH_NUMERICOPTNONE

A secondary bill of material sequence number that indicates the drawing bubble number.

szTRTTRTcharOPTNONE

A user defined code (40/TR) that indicates the type of routing. You can define different types of routing instructions for different uses. For 
example:    M    Standard Manufacturing Routing    RWK  Rework Routing    RSH  Rush Routing You define the routing type on the work order 
header. The system then uses the specific type of routing that you define in the work order routing. Product Costing and Capacity Planning systems 
use only M type routings.

mnTRPTRPMATH_NUMERICOPTNONE

The number assigned to a trip during direct assignment or trip building. The Trip Depot and the Trip Number fields identify the unique 
combination of vehicle, registration number, load date, and shift.

mnTRPLTRPLMATH_NUMERICOPTNONE

A specific leg of a trip.

mnLCMPLCMPMATH_NUMERICOPTNONE

The compartment number in a connected vehicle. A connected vehicle is a number of vehicles with compartments. The logical 
compartment number represents the compartments as if the connected vehicle were one vehicle.  The first compartment is closest to the power 
unit. Example:  Three vehicles are connected.  The first is the power unit, the second has 4 compartments and the third has 3 compartments. The first 4 
 logical compartment numbers equal the compartment numbers on the first vehicle. The 5th, 6th, and 7th logical compartments represent the 
compartments in the second vehicle.

szVEHIVEHIcharOPTNONE

A unique identification number for a vehicle. This number serves as a primary identifier for a vehicle.

mnRSQQRSQQMATH_NUMERICOPTNONE

A sequence number used within the Test Results Revisions programs to maintain the order of tests decided within Item/Test 
Specifications.

cTTSTTTSTcharOPTNONE

cDFCWDFCWcharOPTNONE

A code used to indicate that a failed test has been written to the Non-Conforming Material file. Valid values are:    1   The failed test has been 
recorded to the Non-Conforming Material file    0   Either the test has not failed quality inspection or the failed test has not been recorded in 
the Non-Conforming Material file.

szQPCDQPCDcharOPTNONE

A user defined code that identifies the calling application for Test Result Revisions, for example:    MC Manufacturing Completions    SO Ship 
Confirm    PR Purchasing Receipts    EC Load and Delivery Confirm 

mnQTIDQTIDMATH_NUMERICOPTNONE

A unique identifier associating a test result with it's generic text.

szTMHDTMHDcharOPTNONE

A description of how to run a quality test. The test method is useful to both your company's Quality Control department and your customers. 
For example:        Test: Viscosity         Method: RVF #4 @10RPM         Text: Run the viscosity test on a RVF viscometer with a number 4 spindle 
at 10 revolutions per minute.

szRSUMRSUMcharOPTNONE

A user defined code (37/UM) that identifies the unit of measure for a test result.  Examples of units of measure include barrels, boxes, cubic 
yards, gallons, and hours.

mnNUMBNUMBMATH_NUMERICOPTNONE

An 8-digit number that uniquely identifies an asset.

szASTMASTMcharOPTNONE

Identifies a recommended testing procedure of the American Society of Testing Material.

szQPRPQPRPcharOPTNONE

The item attribute that is being tested.

szQDFCQDFCcharOPTNONE

szQRTCQRTCcharOPTNONE

szMMCUMMCUcharOPTNONE

A code that represents a high-level business unit. Use this code to refer to a branch or plant that might have departments or jobs, which 
represent lower-level business units, subordinate to it. For example:     o Branch/Plant (MMCU)     o Dept A (MCU)     o Dept B (MCU)     o Job 123 
(MCU) Business unit security is based on the higher-level business unit.

cCDECCDECcharOPTNONE

A value that designates the number of decimals in the currency, amount, or quantity fields the system displays. For example, U.S. Dollars 
would be 2  decimals, Japanese Yen would be no decimals, and Cameroon Francs would be 3  decimals.

mnUKIDUKIDMATH_NUMERICOPTNONE

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

szDERCDERCcharOPTNONE

An algebraic formula that specifies the quantity, price, hours, or a value associated with a rule. The following examples illustrate the syntax 
for possible derived calculations: Segment References     o S3 indicates segment 3.     o S3=Piston= indicates segment 3 in item 
Piston. Trigonometric and Logarithmic Functions     o SIN(20) indicates the sine of 20.     o COS(S3) indicates the cosine of segment 3.     o TAN(S4) indicates 
the tangent of segment 4.     o ARC(S3) indicates the arctangent of segment 3.     o LOG indicates log to base 10.     o LN indicates natural log.    
 o 2**5 indicates an exponent, 2 to the fifth power. Substring SUBSTR(S10,1,4) indicates that the substring from segment 10 starts at the first 
position of the string and includes the first 4 positions. Concatenations CONCAT(S3,S4) combines the values of segments 3 and 4. External 
Fields Specifies the fields from non-configurator tables that you want the system to access as part of a calculation. Use the ampersand character 
followed by the field name. For example, &T2AMTU(WD) indicates an amount field in the Item Supplemental Database table, and the WD 
data type. External Programs Specifies that a program external to the system is to be used for the calculation. Enter the name of the external 
program and EXTVAR in the Derived Calculations field. Smart Parts PS4 indicates a smart part number P2000 when the value of segment 4 is 
2000.

szURCDURCDcharOPTNONE

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.

jdURDTURDTJDEDATEOPTNONE

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.

mnURATURATMATH_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.

szURRFURRFcharOPTNONE

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.

mnURABURABMATH_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.

szUSERUSERcharOPTNONE

The code that identifies a user profile.

szPIDPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

jdUPMJUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTDAYTDAYMATH_NUMERICOPTNONE

The computer clock in hours:minutes:seconds.

szJOBNJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

szFromResultUMFRMRSUMcharOPTNONE

A user defined code (37/UM) that identifies the From unit of measure used to convert a test result.  Examples of units of measure include 
barrels, boxes, cubic yards, gallons, and hours.

szFromResultValueFRMRSVALcharOPTNONE

Result used as the From value to convert the result.

mnQualityMgmtAB3QMAB3MATH_NUMERICOPTNONE

Reserved for Quality Management. 

szQualityMgmtCode3QMCD3charOPTNONE

Reserved for Quality Management. 

jdQualityMgmtDate3QMDT3JDEDATEOPTNONE

Reserved for Quality Management.

mnQualityMgmtNumeric3QMNUM3MATH_NUMERICOPTNONE

Reserved for Quality Management. 

szQualityMgmtReference3QMRF3charOPTNONE

Reserved for Quality Management. 

jdResultExpirationDateRSEXPDJDEDATEOPTNONE

The expiration date for a result.  In Blend Management a result will not be carried forward if it has expired.  The expiration date is calculated 
using the result duration in the test definition.

cResultEntryStatusRSSTScharOPTNONE

A code used to determine if the test result was created from a blend rule.  

szTestResultNameTSTRSNMcharOPTNONE

Unique name used to group test results.

nOperationIDWOPIDintegerOPTNONE

mnVesselIDWVIDMATH_NUMERICOPTNONE

Unique identifier of any container used to store wine.

cVesselClassWVTYcharOPTNONE

Vessel Class specifies the kind of vessel.  Examples of vessel classes are tanks, barrels, puncheons, barrel collections and VBTs.

szBlendLotNumberWLOTNcharOPTNONE

A number that identifies a Blend Lot.  A lot is a group of items with similar characteristics.

szResultConversionIDRSCONVIDcharOPTNONE

Indicates the conversion table ID to use to convert a test result.  For example, a test result is entered in Fahrenheit but must be recorded in 
Celsius. 

idTestResSelectionGENLNGIDOPTNONE

General purpose ID variable.

cErrorCodeEV01charOPTNONE

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

Related Functions

None

Related Tables

None
SetTestResultSelection

SetTestResultSelection

F3711 Get Test Results Detail Rows

Minor Business Rule

Object Name: B3700050

Parent DLL: CMFG

Location: Client/Server

Language: C

B3700050

SetTestResultSelection


This function sets up selection and sort criteria for records to select from F3711.


Indicate which fields to use in the filter for selecting records by setting the cUseXXXX field to '1' 

and the filter value in the field itself. 

eg To select records for a certain sales order number, put the sales order number in mnDOCO and set 

cUseDOCO to '1'.


To indicate the ordering for returned records, set the cSortXXXX field value to a value greater than 

'0'. The higher the number the greater the precedence this field has in the sort. 

eg To sort by SNBR ascending then by TSRT descending, set cSortSNBR to '2', cSortDirSNBR to 'A' and 

set cSortTSRT to '1', cSortDirTSRT to 'D'.


A pointer to the stored data structure is returned in idTestResSelection. This value must be returned 

in subsequent calls to GetTestResultsRecord and TerminateTestResultsSelection.

Data Structure

D3700050 - F3711 Get Test Results Detail Rows

D3700050 data structure notes:


mnDOCO - DocumentOrderInvoice - DOCO - Filter value for DOCO field

szDCTO - OrderType - DCTO - Filter value for DCTO field

szKCOO - CompanyKeyOrderNo - KCOO - Filter value for KCOO field

mnLNID - LineNumber - LNID - Filter value for LNID field

szLOT - DateLotReceipt - LOT - Filter value for LOT field

szLOCN - Location - LOCN - Filter value for LOCN field

szMCU - CostCenter - MCU - Filter value for MCU field

mnITM - IdentifierShortItem - ITM - Filter value for ITM field

mnTRP - TripNumber - TRP - Filter value for TRP field

mnTRPL - TripLegNumber - TRPL - Filter value for TRPL field

mnLCMP - LogicalCompartmentNumber - LCMP - Filter value for LCMP field

cUseDOCO - EverestEventPoint01 - EV01 - '1' = Select DOCO field from dataset

cUseDCTO - EverestEventPoint01 - EV01 - '1' = Select DCTO field from dataset

cUseKCOO - EverestEventPoint01 - EV01 - '1' = Select KCOO field from dataset

cUseLNID - EverestEventPoint01 - EV01 - '1' = Select LNID field from dataset

cUseLOT - EverestEventPoint01 - EV01 - '1' = Select LOT field from dataset

cUseLOCN - EverestEventPoint01 - EV01 - '1' = Select LOCN field from dataset

cUseMCU - EverestEventPoint01 - EV01 - '1' = Select MCU field from dataset

cUseITM - EverestEventPoint01 - EV01 - '1' = Select ITM field from dataset

cUseTRP - EverestEventPoint01 - EV01 - '1' = Select TRP field from dataset

cUseTRPL - EverestEventPoint01 - EV01 - '1' = Select TRPL field from dataset

cUseLCMP - EverestEventPoint01 - EV01 - '1' = Select LCMP field from dataset

szQTST - TestID - QTST - Filter value for QTST field

szMCU2 - CostCenter2 - MCU2 - Filter value for MCU2 field

cUseQTST - EverestEventPoint01 - EV01 - '1' = Select QTST field from dataset

cUseMCU2 - EverestEventPoint01 - EV01 - '1' = Select MCU2 field from dataset

cSortTSRT - EverestEventPoint01 - EV01 - '0' = do not sort by TSRT, > '0' = sort by TSRT field 

(highest number has greatest precedence in sort)

cSortSNBR - EverestEventPoint01 - EV01 - '0' = do not sort by SNBR, > '0' = sort by SNBR field 

(highest number has greatest precedence in sort)

cSortDirTSRT - EverestEventPoint01 - EV01 - If sorting by TSRT, 'A' = sort ascending, 'D' = sort 

descending 

cSortDirSNBR - EverestEventPoint01 - EV01 - If sorting by SNBR, 'A' = sort ascending, 'D' = sort 

descending

idTestResSelection - GenericLong - GENLNG - Index of stored data pointer of select/sort structure. 

Initialized and returned by SetTestResultSelection. Must be passed to GetTestResultRecord and 

TerminateTestResultSelection.

mnAN8 - AddressNumber - AN8 - Filter value for AN8 field.

cUseAN8 - EverestEventPoint01 - EV01 - '1' = Select AN8 field from dataset

cSortLOCN - EverestEventPoint01 - EV01 - '0' = do not sort by LOCN, > '0' = sort by LOCN field 

(highest number has precedence in sort)

cSortDirLOCN - EverestEventPoint01 - EV01 - If sorting by LOCN, 'A' = sort ascending, 'D' = sort 

descending


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDOCODOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szDCTODCTOcharOPTNONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szKCOOKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLNIDLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

szLOTLOTcharOPTNONE

A lot is a quantity of items that you want to group together because they have similar characteristics.

szLOCNLOCNcharOPTNONE

The storage location from which goods will be moved.

szMCUMCUcharOPTNONE

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.

mnITMITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

mnTRPTRPMATH_NUMERICOPTNONE

The number assigned to a trip during direct assignment or trip building. The Trip Depot and the Trip Number fields identify the unique 
combination of vehicle, registration number, load date, and shift.

mnTRPLTRPLMATH_NUMERICOPTNONE

A specific leg of a trip.

mnLCMPLCMPMATH_NUMERICOPTNONE

The compartment number in a connected vehicle. A connected vehicle is a number of vehicles with compartments. The logical 
compartment number represents the compartments as if the connected vehicle were one vehicle.  The first compartment is closest to the power 
unit. Example:  Three vehicles are connected.  The first is the power unit, the second has 4 compartments and the third has 3 compartments. The first 4 
 logical compartment numbers equal the compartment numbers on the first vehicle. The 5th, 6th, and 7th logical compartments represent the 
compartments in the second vehicle.

cUseDOCOEV01charOPTNONE

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

cUseDCTOEV01charOPTNONE

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

cUseKCOOEV01charOPTNONE

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

cUseLNIDEV01charOPTNONE

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

cUseLOTEV01charOPTNONE

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

cUseLOCNEV01charOPTNONE

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

cUseMCUEV01charOPTNONE

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

cUseITMEV01charOPTNONE

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

cUseTRPEV01charOPTNONE

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

cUseTRPLEV01charOPTNONE

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

cUseLCMPEV01charOPTNONE

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

szQTSTQTSTcharOPTNONE

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

szMCU2MCU2charOPTNONE

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

cUseQTSTEV01charOPTNONE

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

cUseMCU2EV01charOPTNONE

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

cSortTSRTEV01charOPTNONE

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

cSortSNBREV01charOPTNONE

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

cSortDirTSRTEV01charOPTNONE

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

cSortDirSNBREV01charOPTNONE

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

idTestResSelectionGENLNGIDOPTNONE

General purpose ID variable.

mnAN8AN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

cUseAN8EV01charOPTNONE

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

cSortLOCNEV01charOPTNONE

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

cSortDirLOCNEV01charOPTNONE

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

Related Functions

None

Related Tables

None
TerminateTestResultSelection

TerminateTestResultSelection

F3711 Get Test Results Detail Rows

Minor Business Rule

Object Name: B3700050

Parent DLL: CMFG

Location: Client/Server

Language: C

B3700050

TerminateTestResultSelection


This function terminates the selection and frees memory associated with the selection and sort 

criteria set up in SetTestResultSelection.


The pointer to the stored data structure (returned in idTestResSelection by SetTestResultSelection) 

must be passed in via the idTestResSelection field. All data structures and memory associated with this 

selection are cleared and freed.


^

Data Structure

D3700050 - F3711 Get Test Results Detail Rows

D3700050 data structure notes:


mnDOCO - DocumentOrderInvoice - DOCO - Filter value for DOCO field

szDCTO - OrderType - DCTO - Filter value for DCTO field

szKCOO - CompanyKeyOrderNo - KCOO - Filter value for KCOO field

mnLNID - LineNumber - LNID - Filter value for LNID field

szLOT - DateLotReceipt - LOT - Filter value for LOT field

szLOCN - Location - LOCN - Filter value for LOCN field

szMCU - CostCenter - MCU - Filter value for MCU field

mnITM - IdentifierShortItem - ITM - Filter value for ITM field

mnTRP - TripNumber - TRP - Filter value for TRP field

mnTRPL - TripLegNumber - TRPL - Filter value for TRPL field

mnLCMP - LogicalCompartmentNumber - LCMP - Filter value for LCMP field

cUseDOCO - EverestEventPoint01 - EV01 - '1' = Select DOCO field from dataset

cUseDCTO - EverestEventPoint01 - EV01 - '1' = Select DCTO field from dataset

cUseKCOO - EverestEventPoint01 - EV01 - '1' = Select KCOO field from dataset

cUseLNID - EverestEventPoint01 - EV01 - '1' = Select LNID field from dataset

cUseLOT - EverestEventPoint01 - EV01 - '1' = Select LOT field from dataset

cUseLOCN - EverestEventPoint01 - EV01 - '1' = Select LOCN field from dataset

cUseMCU - EverestEventPoint01 - EV01 - '1' = Select MCU field from dataset

cUseITM - EverestEventPoint01 - EV01 - '1' = Select ITM field from dataset

cUseTRP - EverestEventPoint01 - EV01 - '1' = Select TRP field from dataset

cUseTRPL - EverestEventPoint01 - EV01 - '1' = Select TRPL field from dataset

cUseLCMP - EverestEventPoint01 - EV01 - '1' = Select LCMP field from dataset

szQTST - TestID - QTST - Filter value for QTST field

szMCU2 - CostCenter2 - MCU2 - Filter value for MCU2 field

cUseQTST - EverestEventPoint01 - EV01 - '1' = Select QTST field from dataset

cUseMCU2 - EverestEventPoint01 - EV01 - '1' = Select MCU2 field from dataset

cSortTSRT - EverestEventPoint01 - EV01 - '0' = do not sort by TSRT, > '0' = sort by TSRT field 

(highest number has greatest precedence in sort)

cSortSNBR - EverestEventPoint01 - EV01 - '0' = do not sort by SNBR, > '0' = sort by SNBR field 

(highest number has greatest precedence in sort)

cSortDirTSRT - EverestEventPoint01 - EV01 - If sorting by TSRT, 'A' = sort ascending, 'D' = sort 

descending 

cSortDirSNBR - EverestEventPoint01 - EV01 - If sorting by SNBR, 'A' = sort ascending, 'D' = sort 

descending

idTestResSelection - GenericLong - GENLNG - Index of stored data pointer of select/sort structure. 

Initialized and returned by SetTestResultSelection. Must be passed to GetTestResultRecord and 

TerminateTestResultSelection.

mnAN8 - AddressNumber - AN8 - Filter value for AN8 field.

cUseAN8 - EverestEventPoint01 - EV01 - '1' = Select AN8 field from dataset

cSortLOCN - EverestEventPoint01 - EV01 - '0' = do not sort by LOCN, > '0' = sort by LOCN field 

(highest number has precedence in sort)

cSortDirLOCN - EverestEventPoint01 - EV01 - If sorting by LOCN, 'A' = sort ascending, 'D' = sort 

descending


^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDOCODOCOMATH_NUMERICOPTNONE

A number that identifies an original document. This document can be a voucher, a sales order, an invoice, unapplied cash, a journal entry, 
and so on.

szDCTODCTOcharOPTNONE

A user defined code (00/DT) that identifies the type of document. This code also indicates the origin of the transaction. J.D. Edwards has 
reserved document type codes for vouchers, invoices, receipts, and time sheets, which create automatic offset entries during the post 
program. (These entries are not self-balancing when you originally enter them.) The following document types are defined by J.D. Edwards and 
should not be changed: P Accounts Payable documents   R Accounts Receivable documents   T Payroll documents   I Inventory documents  
O Purchase Order Processing documents   J General Accounting/Joint Interest Billing documents   S Sales Order Processing documents

szKCOOKCOOcharOPTNONE

A number that, along with order number and order type, uniquely identifies an order document (such as a purchase order, a contract, a 
sales order, and so on). If you use the Next Numbers by Company/Fiscal Year facility, the Automatic Next Numbers program (X0010) uses the 
order company to retrieve the correct next number for that company. If two or more order documents have the same order number and order 
type, the order company lets you locate the desired document. If you use the regular Next Numbers facility, the order company is not used to 
assign a next number. In this case, you probably would not use the order company to locate the document.

mnLNIDLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

szLOTLOTcharOPTNONE

A lot is a quantity of items that you want to group together because they have similar characteristics.

szLOCNLOCNcharOPTNONE

The storage location from which goods will be moved.

szMCUMCUcharOPTNONE

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.

mnITMITMMATH_NUMERICOPTNONE

An inventory item number. The system provides three separate item numbers plus an extensive cross-reference capability to other item 
numbers (see data item XRT) to accommodate substitute item numbers, replacements, bar codes, customer numbers, supplier numbers, and 
so forth. The item numbers are as follows:   o Item Number (short) - An eight-digit, computer-assigned item number     o 2nd Item Number - The 
25-digit, free-form, user defined alphanumeric item number     o 3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item 
number

mnTRPTRPMATH_NUMERICOPTNONE

The number assigned to a trip during direct assignment or trip building. The Trip Depot and the Trip Number fields identify the unique 
combination of vehicle, registration number, load date, and shift.

mnTRPLTRPLMATH_NUMERICOPTNONE

A specific leg of a trip.

mnLCMPLCMPMATH_NUMERICOPTNONE

The compartment number in a connected vehicle. A connected vehicle is a number of vehicles with compartments. The logical 
compartment number represents the compartments as if the connected vehicle were one vehicle.  The first compartment is closest to the power 
unit. Example:  Three vehicles are connected.  The first is the power unit, the second has 4 compartments and the third has 3 compartments. The first 4 
 logical compartment numbers equal the compartment numbers on the first vehicle. The 5th, 6th, and 7th logical compartments represent the 
compartments in the second vehicle.

cUseDOCOEV01charOPTNONE

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

cUseDCTOEV01charOPTNONE

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

cUseKCOOEV01charOPTNONE

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

cUseLNIDEV01charOPTNONE

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

cUseLOTEV01charOPTNONE

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

cUseLOCNEV01charOPTNONE

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

cUseMCUEV01charOPTNONE

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

cUseITMEV01charOPTNONE

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

cUseTRPEV01charOPTNONE

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

cUseTRPLEV01charOPTNONE

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

cUseLCMPEV01charOPTNONE

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

szQTSTQTSTcharOPTNONE

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

szMCU2MCU2charOPTNONE

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

cUseQTSTEV01charOPTNONE

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

cUseMCU2EV01charOPTNONE

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

cSortTSRTEV01charOPTNONE

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

cSortSNBREV01charOPTNONE

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

cSortDirTSRTEV01charOPTNONE

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

cSortDirSNBREV01charOPTNONE

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

idTestResSelectionGENLNGIDOPTNONE

General purpose ID variable.

mnAN8AN8MATH_NUMERICOPTNONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

cUseAN8EV01charOPTNONE

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

cSortLOCNEV01charOPTNONE

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

cSortDirLOCNEV01charOPTNONE

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

Related Functions

None

Related Tables

None