ResolveLoadQualityPref

Load Quality

Minor Business Rule

Object Name: N4901100

Parent DLL: CTRAN

Location: Client/Server

Language: NER

1.1Purpose

This business function will resolve the Quality Preference for a Load and return a value for the Quality Test Required field which will be stored in the 

Load Compartment and Load Compartment Detail tables.  This function will be called by the Load Create End Doc business function (N4900140).


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
SUPPSSuppress Error MessagesI

DTAIError Message IDO

JOBSTransportation Job NumberIR

ITMShort Item NumberIR

AN8Address Number  Sold ToI

SHANAddress Number  Ship ToI

PPDJScheduled Ship DateIR

NMCUOrigin DepotIR

QLTRQuality Test RequiredOIf blank 'de no test

 '1' 'de test requested

 '2' 'de test required




^

Data Structure

D4901100A - Resolve Load Quality Preference

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

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.

mnTransportationJobNumberJOBSMATH_NUMERICOPTNONE

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

mnShortItemNumberITMMATH_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

mnAddressNumberSoldToAN8MATH_NUMERICOPTNONE

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

mnAddressNumberShipToSHANMATH_NUMERICOPTNONE

The address number of the location to which you want to ship this order. The address book provides default values for customer address, 
including street, city, state, zip code, and country.

jdScheduledShipDatePPDJJDEDATEOPTNONE

The promised shipment date for a sales order. This date represents the day that the item can be shipped from the warehouse.

szOriginDepotNMCUcharOPTNONE

This identifies the origin depot for a shipment or a load.

cQualityTestRequiredQLTRcharOPTNONE

This field indicates whether a quality test must be performed on this product. The valid values are:    blank No quality test is required    1       
Quality test is requested    2       Quality test is required The system applies this preference during bulk load confim. If a test is required, you 
must exit to the On Vehicle Sampling/Quality form, prior to or during load confirm, to enter test results before you can complete load 
confirm. When you specify a quality test in the Product Specification Master, the system applies this information for the customers/items to which this 
preference applies.

Related Functions

None

Related Tables

None
UpdateLoadQualityFlags

UpdateLoadQualityFlags

Load Quality

Minor Business Rule

Object Name: N4901100

Parent DLL: CTRAN

Location: Client/Server

Language: NER

1.1Purpose

This business function will update the quality flags stored in the Load Compartment and Load Compartment Detail tables.   This function will be called by 

the Quality Results End Doc business function (N3700150).


2.1Parameters:

Data Item Data Structure DescriptionI/ORequiredNotes
SUPPSSuppress Error MessagesI

DTAIError Message IDO

EV01ModeIR'1' 'decompartment mode

'2''de customer/item

         mode

VMCUPlanning DepotIRRequired for mode '1'

LDNMLoad NumberIRRequired for mode '1'

TRPLLoad Leg NumberIRRequired for mode '1'

ITMShort Item NumberIR

LCMPLogical Compartment Number IR

DOCOOrder NumberIRequired for mode '2'

DCTOOrder TypeIRequired for mode '2'

KCOOOrder Key CompanyIRequired for mode '2'

LNIDLine NumberIRequired for mode '2'

QLTSQuality Test StatusOR'P' 'de Pass 'F' 'de Fail


^

Data Structure

D4901100B - Update Load Quality Flags

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

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.

cModeEV01charOPTNONE

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

szPlanningDepotVMCUcharOPTNONE

Indicates the depot from which a trip originates. The Trip Depot and the Trip Number fields identify the unique combination of vehicle, 
registration number, load date, and shift.

mnLoadNumberLDNMMATH_NUMERICOPTNONE

1

mnLoadLegNumberTRPLMATH_NUMERICOPTNONE

A specific leg of a trip.

mnShortItemNumberITMMATH_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

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

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

szOrderTypeDCTOcharOPTNONE

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

szOrderKeyCompanyKCOOcharOPTNONE

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.

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

cQualityTestStatusQLTScharOPTNONE

The quality testing status of this product. Valid values are:    Blank No quality test is required    R        Quality test is required    B        Wuality test 
has been bypassed    P        All quality tests have passed    F        At least one quality test has failed

Related Functions

None

Related Tables

None