F400511GetHeaderRecords

F400511GetHeaderRecords

Minor Business Rule

Object Name: N4206090

Parent DLL: CDIST

Location: Client/Server

Language: NER

Data Structure

D4206090 - F400511GetHeaderRecords

Parameter NameData ItemData TypeReq/OptI/O/Both
szRelatedPoSoNumberRORNcharOPTNONE

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.

szRelatedOrderTypeRCTOcharOPTNONE

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.

szCompanyKeyRelatedRKCOcharOPTNONE

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

szCostCenterAltMMCUcharOPTNONE

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.

szAlternateAddressKeyALKYcharOPTNONE

A user-defined name or number that identifies an address book record.  You can use this number to locate and enter information about the 
address book record. If you enter a value other than the address book number (AN8), such as the long address or tax ID, you must precede 
it with the special character that is defined in the Address Book constants. When the system locates the record, it returns the address book 
number to the field. For example, if address book number 4100 (Total Solutions) has a long address TOTAL and an * distinguishes it from 
other entries (as defined in the Address Book constants), you could type *TOTAL into the field, and the system would return 4100.

szAlternateAddressKey_2ALKYcharOPTNONE

A user-defined name or number that identifies an address book record.  You can use this number to locate and enter information about the 
address book record. If you enter a value other than the address book number (AN8), such as the long address or tax ID, you must precede 
it with the special character that is defined in the Address Book constants. When the system locates the record, it returns the address book 
number to the field. For example, if address book number 4100 (Total Solutions) has a long address TOTAL and an * distinguishes it from 
other entries (as defined in the Address Book constants), you could type *TOTAL into the field, and the system would return 4100.

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

szReference1VR01charOPTNONE

An alphanumeric value used as a cross-reference or secondary reference number. Typically, this is the customer number, supplier 
number, or job number.

szDescription001DL01charOPTNONE

A user defined name or remark.

szServiceOrderClaimSOCLMcharOPTNONE

A claim submitted by a service provider for a warranty repair.

szPhoneAreaCode1AR1charOPTNONE

The first segment of a telephone number. In the United States, the prefix is the three-digit area code.

szPhoneNumberOnePHN1charOPTNONE

mnDocVoucherInvoiceEDOCMATH_NUMERICOPTNONE

A number that identifies the original document, such as a voucher, invoice, or journal entry. On entry forms, you can assign the document 
number or let the system assign it using the Next Numbers program (P0002). Matching document numbers (DOCM) identify related documents 
in the Accounts Receivable and Accounts Payable systems. Examples of original and matching documents are: Accounts Payable     o 
Original document - voucher     o Matching document - payment  Accounts Receivable     o Original document - invoice     o Matching document - 
receipt  Note: In the Accounts Receivable system, the following transactions simultaneously generate original and matching documents: 
deductions, unapplied receipts, chargebacks, and drafts.

mnIssueNumberISNOMATH_NUMERICOPTNONE

A number that identifies a customer issue.

cShipmentDefaultDSHIPcharOPTNONE

A flag that indicates to whom the shipment of replacement parts or return and exchange inventory items should be shipped.

cShipmentDefault_2DSHIPcharOPTNONE

A flag that indicates to whom the shipment of replacement parts or return and exchange inventory items should be shipped.

cShipmentDefault_3DSHIPcharOPTNONE

A flag that indicates to whom the shipment of replacement parts or return and exchange inventory items should be shipped.

cShipmentDefault_4DSHIPcharOPTNONE

A flag that indicates to whom the shipment of replacement parts or return and exchange inventory items should be shipped.

szReturnedMaterialStatusRMASTcharOPTNONE

A user defined code (40/RN) that indicates the current status of a Returned Material Authorization Line. The special handling code 
determines if a purchase order, sales order, or both a purchase and sales order are created when you enter the status on a Returned Material 
Authorization line. The second description stores the beginning status of the purchase order and sales order. Valid codes are:    1   Purchase order 
only    2   Sales order only    3   Purchase order and sales order 

szItemNoUnknownFormatUITMcharOPTNONE

A number that the system assigns to an item. It can be in short, long, or third item number format.

mnQuantityTransactionTRQTMATH_NUMERICOPTNONE

A value that represents the available quantity, which might consist of the on-hand balance minus commitments, reservations, and 
backorders. You enter this value in the Branch/Plant Constants program (P41001).

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

szOriginalPoSoNumberOORNcharOPTNONE

The original document number. This can be a voucher, an invoice, unapplied cash, a journal entry number, and so on Matching document 
numbers are also used to identify related documents in the Accounts Receivable and Accounts Payable systems. The document number 
(DOC) is always the original document number. The matching document number (DOCM) is the check, adjustment, or credit to be applied 
against the original document.

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

szCompanyKeyOrderNoKCOOcharOPTNONE

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.

szOriginalOrderTypeOCTOcharOPTNONE

This code defines the order type. It is verified in user defined codes (40/OT). Reserved document types have been defined for voucher 
entry, invoice entry, receipts entry, and time sheet entry.  Because the offsetting entries for document types are created automatically during the 
post program, they will not be self-balancing on original entry. The reserved document types are:    PR Purchase Requisition Orders    PQ 
Purchase Quote    PO Purchase Order    PD Purchase Order - Direct Ship    PB Purchase Order - Blanket    SQ Sales Quote    SO Sales Order    
SD Sales Order - Direct Ship    SB Sales Order - Blanket 

szContactNameWHOcharOPTNONE

The name of the caller, customer, or other contact.

Related Functions

None

Related Tables

None