F40R10GetDemandHeader

Get Demand

Minor Business Rule

Object Name: N40R0900

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0900D - Get Demand Header

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDmdHeaderUniqueKeyUKIDMATH_NUMERICOPTBOTH

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

szCostCenterMCUcharOPTBOTH

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.

mnSoldToAN8MATH_NUMERICOPTBOTH

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

mnShipToSHANMATH_NUMERICOPTBOTH

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.

mnIdentifierShortItemITMMATH_NUMERICOPTBOTH

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

szIdentifier2ndItemLITMcharOPTOUTPUT

A number that identifies the item. The system provides three separate item numbers plus an extensive cross-reference capability to 
alternative item numbers. The three types of item numbers are: Item Number (short) An 8-digit, computer-assigned item number. 2nd Item Number A 
25-digit, user defined, alphanumeric item number. 3rd Item Number  Another 25-digit, user defined, alphanumeric item number. In addition to 
these three basic item numbers, the system provides an extensive cross-reference search capability. You can define numerous 
cross-references to alternative part numbers. For example, you can define substitute item numbers, replacements, bar codes, customer numbers, or 
supplier numbers.

szIdentifier3rdItemAITMcharOPTOUTPUT

The system provides three separate item numbers plus an extensive cross-reference capability to alternate item numbers. These item 
numbers are as follows: 1.  Item Number (short) - An 8-digit, computer-assigned item number. 2.  2nd Item Number - The 25-digit, free-form, user 
defined alphanumeric item number. 3.  3rd Item Number - Another 25-digit, free-form, user defined alphanumeric item number.  In addition to 
these three basic item numbers, an extensive cross-reference search capability has been provided (see XRT). Numerous cross references to 
alternate part numbers can be user defined, such as substitute item numbers, replacements, bar codes, customer numbers, or supplier 
numbers.

szDefaultItemRevisionDFTITMRVcharOPTOUTPUT

A number that the system retrieves from the EDI transaction set/message.

szDefaultCustomerPODFTCSTPOcharOPTOUTPUT

A number that represents the default customer purchase order that the system uses in demand detail records when a customer purchase 
order has not been entered.

jdDateBatchDBTJDEDATEOPTOUTPUT

The date of the batch.  If you leave this field blank, the system uses the current date.

mnDemandBatchNumberDMDBTHNOMATH_NUMERICOPTOUTPUT

A number that identifies a batch of demand records.

jdLastCustReceivedDateLCRCVDJJDEDATEOPTOUTPUT

The most recent date on which the customer received an item.

mnLastCustReceivedTimeLCRCVTMMATH_NUMERICOPTOUTPUT

The time of day that the customer last received an item.

mnLastCustReceivedQtyLCRCVQTYMATH_NUMERICOPTOUTPUT

The quantity of an item that the customer most recently received.

szLastCustReceivedUOMLCRCVUOMcharOPTOUTPUT

The unit of measure in which the customer last received an item.

jdLastCustShippedDateLCSHPDJJDEDATEOPTOUTPUT

The date on which an item was last shipped to the customer.

mnLastCustShippedTimeLCSHPTMMATH_NUMERICOPTOUTPUT

The time of day when an item was last shipped to the customer.

mnLastCustShippedQtyLCSHPQTYMATH_NUMERICOPTOUTPUT

The quantity of an item that was last shipped to the customer.

szLastCustShippedUOMLCSHPUOMcharOPTOUTPUT

The unit of measure in which an item was last shipped to the customer.

szLastShipmentIDLASTSIDcharOPTOUTPUT

The number that identifies the last shipment that the customer has received.

cRoundToStdPackFirmRNDSTDPKcharOPTOUTPUT

An option that determines whether the system rounds up firm quantities to the pack quantity for a standard carton. For example, assuming 
that you have chosen this option, if a customer, whose standard pack quantity is a carton of 500 items, requests a reduced shipment of 475 
items, then the supplier must still ship 500 items.

cRoundToStdPackPlanRDSTDPKPcharOPTOUTPUT

An option that determines whether the system rounds up plan quantities to a standard carton pack quantity. For example, if a customer's 
standard pack requirement is 500 and they request a shipment of 475, the supplier must still ship 500. If you leave this option blank, then the 
system does not round up plan quantities to a standard carton pack quantity.

szCategoryCodeDemand1DMD01charOPTOUTPUT

A three-character category code (UDC 40R/01) that is reserved for customer use.

szCategoryCodeDemand2DMD02charOPTOUTPUT

A three-character category code (UDC 40R/02) that is reserved for customer use.

szCategoryCodeDemand3DMD03charOPTOUTPUT

A three-character category code (UDC 40R/03) that is reserved for customer use.

szCategoryCodeDemand4DMD04charOPTOUTPUT

A three-character category code (UDC 40R/04) that is reserved for customer use.

szCategoryCodeDemand5DMD05charOPTOUTPUT

A three-character category code (UDC 40R/05) that is reserved for customer use.

cInventoryAdvisementINVADVcharOPTOUTPUT

An option that indicates whether the customer processes inventory advisements. If you do not choose this option, the customer does not 
process inventory advisements. Note: Typically, customers who process inventory advisements use the EDI message type INVRPT. 

mnRelatedAddressBkNo1RAN81MATH_NUMERICOPTOUTPUT

An address book number that is reserved for customer use.

mnRelatedAddressBkNo2RAN82MATH_NUMERICOPTOUTPUT

An address book number that is reserved for customer use.

mnSupplementalDataIDSDIDMATH_NUMERICOPTOUTPUT

A number that identifies supplemental data records and associates them with demand records.

szVendorPartNumberVNPARTcharOPTOUTPUT

A number that identifies the vendor's part and is typically sent by the customer in an EDI message.

szUserReservedCodeURCDcharOPTOUTPUT

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.

jdUserReservedDateURDTJDEDATEOPTOUTPUT

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_NUMERICOPTOUTPUT

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.

mnUserReservedNumberURABMATH_NUMERICOPTOUTPUT

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.

szUserReservedReferenceURRFcharOPTOUTPUT

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.

szUserIdUSERcharOPTOUTPUT

The code that identifies a user profile.

szProgramIdPIDcharOPTOUTPUT

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.

szWorkStationIdJOBNcharOPTOUTPUT

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

jdDateUpdatedUPMJJDEDATEOPTOUTPUT

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

mnTimeOfDayTDAYMATH_NUMERICOPTOUTPUT

The computer clock in hours:minutes:seconds.

cSuppressErrorMessageSUPPScharOPTINPUT

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.

szErrorMessageIdDTAIcharOPTOUTPUT

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
F40R11GetDemandDetail

F40R11GetDemandDetail

Get Demand

Minor Business Rule

Object Name: N40R0900

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0900A - Get Demand Detail

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDmdDetailUniqueKeyDEIDMATH_NUMERICREQBOTH

A system-generated number that identifies a demand record.

mnDmdHeaderUniqueKeyUKIDMATH_NUMERICOPTOUTPUT

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

szCostCenterMCUcharOPTOUTPUT

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.

szSoldToAN8MATH_NUMERICOPTOUTPUT

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

mnShipToSHANMATH_NUMERICOPTOUTPUT

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.

mnIdentifierShortItemITMMATH_NUMERICOPTOUTPUT

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

jdDateRequestedShipRQSJJDEDATEOPTOUTPUT

Requested ship date.

mnRequestedShipTimeRSHTMATH_NUMERICOPTOUTPUT

Requested Ship Time.

jdDateEndingRequestShipERQSHPDJJDEDATEOPTOUTPUT

The end date in a range of shipment dates that the customer specifies. For example, the customer might request the supplier to ship 500 
pieces between the first day and last day of the month.

szDemandTypeDETYPcharOPTOUTPUT

A code that specifies whether the demand is firm or planned. The demand type is used to determine how the system processes demand.

szDemandPeriodDEPERcharOPTOUTPUT

A code (40R/PD) that identifies the period of time for a demand record.

szCustPOCSTPOcharOPTOUTPUT

A number that identifies the customer's purchase order.

mnCUMIDCUMIDMATH_NUMERICOPTOUTPUT

A system-generated number that identifies a CUM record.

mnDemandBatchNumberDMDBTHNOMATH_NUMERICOPTOUTPUT

A number that identifies a batch of demand records.

jdDateBatchDBTJDEDATEOPTOUTPUT

The date of the batch.  If you leave this field blank, the system uses the current date.

szAssemblyLineFeedASBLNFDcharOPTOUTPUT

A value that is received from the customer's EDI set/message. This value identifies an actual receiving location on an automotive 
assembly line for delivery of the product. 

szAssemblyLineLocationASBLNLOCcharOPTOUTPUT

A code that identifies a location in the customer's production line.

szAssemblyNumberASBNOcharOPTOUTPUT

A number that identifies an assembly. The system uses this number for production sequencing.

szCategoryCodeDemand6DMD06charOPTOUTPUT

A three-character category code (UDC 40R/06) that is reserved for customer use.

szCategoryCodeDemand7DMD07charOPTOUTPUT

A three-character category code (UDC 40R/07) that is reserved for customer use.

szCategoryCodeDemand8DMD08charOPTOUTPUT

A three-character category code (UDC 40R/08) that is reserved for customer use.

szCategoryCodeDemand9DMD09charOPTOUTPUT

A three-character category code (UDC 40R/09) that is reserved for customer use.

szCategoryCodeDemand10DMD10charOPTOUTPUT

A three-character category code (UDC 40R/10) that is reserved for customer use.

szControlNumberCTLNUMcharOPTOUTPUT

A customer-assigned reference number for a part.

szConsigneeShipNumCSGSHPNOcharOPTOUTPUT

A reference number that is assigned by the consignee to a shipment.

szContractNumberGCNTcharOPTOUTPUT

A unique number assigned by the company to identify a particular contract. A contract is defined as a legally enforceable promise and must 
include the following factors: an offer, an acceptance, consideration, legality of subject matter, capacity of parties to execute, and more. You 
may wish to assign some significance to the contract number (e.g. a contract type code, state, year,etc.). A contract may have multiple 
supplements (field GSUP) to record addendums or changes.

szRequirementFreqREQFRQcharOPTOUTPUT

A code from the EDI transaction set/message that indicates the frequency of demand.

szCustDemandPatternCSTDMDPTcharOPTOUTPUT

A user defined value (within an EDI message) that determines the shipment pattern of the demand. For example, you might enter 13 to 
indicate "ship on Monday."

szRequirementTypeREQTYPcharOPTOUTPUT

A code from the EDI transaction set/message that indicates the type of demand.

szCustOrderNumberCSTORDNOcharOPTOUTPUT

A customer-assigned reference number that identifies an order.

szDemandReference1DMDREF1charOPTOUTPUT

A number that identifies a demand entity.

szDemandReference2DMDREF2charOPTOUTPUT

A number that identifies a demand entity.

szDockIDDKIDcharOPTOUTPUT

The dock location from which an outbound shipment is assigned to depart or at which an inbound shipment is assigned to arrive.

szEndingJobSeqENDJOBSQcharOPTOUTPUT

The last number in a range of numbers that the customer uses for production sequencing. Production sequencing indicates the order in 
which items are unloaded from the truck upon delivery.

szHazGoodsClassNoHZCLSNOcharOPTOUTPUT

A code that the customer creates for identifying the type of hazardous goods.

jdHorizonEndDateHZEDJDEDATEOPTOUTPUT

A date that specifies the end of a schedule period. For example, if a customer issues requirements for eight weeks during the months of 
June and July, the horizon end date is 07/31.

jdHorizonStartDateHZSDJDEDATEOPTOUTPUT

A date that specifies the beginning of a schedule period. For example, if a customer issues eight weeks of requirements for the months of 
June and July, the horizon start date is 06/01. 

szItemRevLevelCIRVcharOPTOUTPUT

A reference number used to identify the revision level of the customer's item.   In item cross-reference, translating a customer or supplier 
external item number to the internal short item number, the customer's number only is not always sufficient. In some instances, the customer part 
number must be used in conjunction with the item revision level. This combination will allow the system to uniquely identify the customer's 
item.

szProdSeqJobNoPSJOBNOcharOPTOUTPUT

A number that uniquely identifies a job. The system uses the job number for production sequencing.

szJobSequenceJOBSQcharOPTOUTPUT

A number that the system uses for production sequencing. Production sequencing is the process of indicating the order in which goods are 
unloaded from the truck.

szKanbanStartNoKBSNOcharOPTOUTPUT

The starting number (in a range of reference numbers) that is assigned to a Kanban card by a consignee.

szKanbanEndNoKBENOcharOPTOUTPUT

The ending number (in a range of reference numbers) that is assigned to a Kanban card by a consignee.

mnLaborHoursLABORHRMATH_NUMERICOPTOUTPUT

The number of working hours in the order cycle.

mnModelYearYEAR1MATH_NUMERICOPTOUTPUT

The model year of a product.

szPartReleaseStsCodePTRLSSTScharOPTOUTPUT

A code from the EDI transaction set/message that indicates to the supplier that the customer is sending a final release on the part.

jdCustPODateCSTPODJJDEDATEOPTOUTPUT

The date on which the customer's purchase order was entered.

mnCustPOTimeCSTPOTMMATH_NUMERICOPTOUTPUT

The time that the customer's purchase order was entered.

szCustPOLineCSTPOLINcharOPTOUTPUT

A number that identifies a line within the customer's purchase order.

jdPromisedDeliveryDateRSDJJDEDATEOPTOUTPUT

The date an item will be delivered to the customer.

mnPromisedDeliveryTimeRSDTMATH_NUMERICOPTOUTPUT

The promised time for a delivery. Enter the time using the 24-hour time format (HHMMSS). For example, enter 6:00 a.m. as 060000, and 
enter 7:00 p.m. as 190000.

szPullSignalPSIGcharOPTOUTPUT

Future use. A code that might represent a DON (Delivery Order Number), RAN (Release Accounting Number), or KANBAN number to 
trigger replenishment of material. Some customers using pull-based manufacturing practices to signal line-side replenishment of material.

szTransPurposeCodeTPURcharOPTOUTPUT

Code identifying purpose of transaction set.  Refer to User Defined Code Table 47/PU. The 1st character of the 2nd description in that table 
controls how the transaction is processed. Refer to ANSI X.12 Data Item 353.

mnQuantityByPositionQTYBYPOSMATH_NUMERICOPTOUTPUT

The quantity that is required at a particular position on the assembly line.

szReleaseNumberRLSNOcharOPTOUTPUT

A number that identifies the release for a customer.

jdDateReleaseIssueRLSDJJDEDATEOPTOUTPUT

The date that the customer provides for a release. The system uses this date in conjunction with the release time to identify a release.

mnTimeReleaseIssueRLSTMMATH_NUMERICOPTOUTPUT

The time that the customer provides for a release. The system uses the time in conjunction with the release date to identify a release.

mnRequestedShipQtyRQSHPQTYMATH_NUMERICOPTOUTPUT

The quantity of items that the customer has requested you to ship.

szRequestedShipUOMUOMcharOPTOUTPUT

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

szReserveLineFeedRSVLNFDcharOPTOUTPUT

A value that is received from the customer's EDI set/message. This value identifies an actual receiving location on an automotive 
assembly line for delivery of the product. 

szStatusSeqIndicatorSTSSQINDcharOPTOUTPUT

A code that identifies the status of a sequence number. The system uses this code for production sequencing.

mnSupplementalDataIDSDIDMATH_NUMERICOPTOUTPUT

A number that identifies supplemental data records and associates them with demand records.

szTextReferenceNumberTXTREFNOcharOPTOUTPUT

A number that is contained in an EDI message that associates the text with EDI message type 864.

jdEDITransCreateDateEDTCTDJJDEDATEOPTOUTPUT

The date on which an EDI transaction was created.

mnEDITransCreateTimeEDTCTTMMATH_NUMERICOPTOUTPUT

The time that an EDI transaction was created.

szEDITransMsgNameEDTMSGNMcharOPTOUTPUT

The name of an EDI X.12 transaction set of an EDIFACT message. For example, the name might be 830 or DELFOR.

szEDITransMsgTypeEDTMSGTPcharOPTOUTPUT

A code from the EDI transaction set/message that indicates the type of EDI message.

szEDITransMsgNameSubEDTMSGSBcharOPTOUTPUT

A secondary name of the EDI transaction or message.

szTransportRouteTRSRTEcharOPTOUTPUT

A code that represents a sequence of points at which goods are collected on the assembly line.

szTransportRouteSuffixTRSRTSFXcharOPTOUTPUT

The suffix from the EDI transaction set/message that identifies the sequence of points where goods are collected.

szUltimateCustArticleNoUCARTNOcharOPTOUTPUT

A number that the customer assigns to an article.

szVehicleIDVINNOcharOPTOUTPUT

A number that uniquely identifies a vehicle.

mnDeliverToDVANMATH_NUMERICOPTOUTPUT

The address number of the person who receives the goods ordered. The delivered to address might differ from the ship to address when 
ordered goods are processed through a distribution center (which is the delivered to address) before reaching their final destination (the ship 
to address).

mnOrigDmdQtyOGDMDQTYMATH_NUMERICOPTOUTPUT

The quantity of the demand prior to adjustments. You can revise this number, or the system can automatically update this number for new 
demand.

mnUnitsQuantityCanceledSOCNMATH_NUMERICOPTOUTPUT

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

cPendingDeletePENDDLTcharOPTOUTPUT

An option that indicates whether the system identifies a demand record for deletion. When a sales order has been canceled, the 
associated demand record needs to be deleted. If you choose this option, the system identifies the demand record for deletion.

mnNetVarianceNETVCMATH_NUMERICOPTOUTPUT

A percentage that represents the difference in demand between two releases. The system calculates this percentage by subtracting the 
demand for the current release from the demand for the prior release, dividing the result by the prior release, and then multiplying that number by 
100.

cNetVarianceNotifyNETVCNTFcharOPTOUTPUT

An option that indicates whether the net variance of demand has exceeded a certain percentage. Choose this option to indicate that the net 
variance has exceeded the percentage.

szCriticalIDCRTCLIDcharOPTOUTPUT

A user defined code (40R/CI) that the system uses to indicate the severity of the net variance between two releases. You set up this code 
as a preference based on the net variance percentage.

cCreateSOStatusCRTSOSTScharOPTOUTPUT

A code that the system uses to track the status of a demand record throughout the process of creating sales order or forecast.  Valid values 
are: Blank The system has not submitted the demand record for the creation of a sales order or forecast. 0 The system has processed the 
demand record successfully. 1 The system has submitted the demand record for processing. 2 The system submitted the demand record for 
processing, but an error occured during processing. 3 The system successfully processed the demand record, and the demand record is now 
outside of the fence. 

szUserReservedCodeURCDcharOPTOUTPUT

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.

jdUserReservedDateURDTJDEDATEOPTOUTPUT

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_NUMERICOPTOUTPUT

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.

mnUserReservedNumberURABMATH_NUMERICOPTOUTPUT

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.

szUserReservedReferenceURRFcharOPTOUTPUT

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.

szUserIdUSERcharOPTOUTPUT

The code that identifies a user profile.

szProgramIdPIDcharOPTOUTPUT

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.

szWorkStationIdJOBNcharOPTOUTPUT

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

jdDateUpdatedUPMJJDEDATEOPTOUTPUT

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

mnTimeOfDayTDAYMATH_NUMERICOPTOUTPUT

The computer clock in hours:minutes:seconds.

cSuppressErrorMessageSUPPScharOPTINPUT

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.

szErrorMessageIdDTAIcharOPTOUTPUT

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
F40R143GetLastDmdDetailAddress

F40R143GetLastDmdDetailAddress

Get Demand

Minor Business Rule

Object Name: N40R0900

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0900B - Get Last Demand Detail Address

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDmdDetailUniqueKeyDEIDMATH_NUMERICREQBOTH

A system-generated number that identifies a demand record.

szPartyTypePARTYTYPcharREQBOTH

A code that identifies the type of party in an EDI message. This code is typically the first element of the N1 segment of an X12 transaction 
set.

mnDmdHeaderUniqueKeyUKIDMATH_NUMERICOPTOUTPUT

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

szPartyNamePARTYNMcharOPTOUTPUT

The name of the party that is identified by the party type and party ID in an EDI message.

szIDNumberTypeIDNUMTYPcharOPTOUTPUT

A user defined code (40R/ID) that indicates the type of identification number. 

szPartyIDPARTYIDcharOPTOUTPUT

A code that identifies the party in an EDI message. This code is typically the fourth element of the N1 segment of an X12 transaction set.

szPartyName1PRNA1charOPTOUTPUT

The description or name of the party.

szPartyName2PRNA2charOPTOUTPUT

The name or description of the party.

szDemandAddress1DMDAD1charOPTOUTPUT

The first line of an address that is associated with a demand entity.

szDemandAddress2DMDAD2charOPTOUTPUT

The second line of an address that is associated with a demand entity.

szCityCTY1charOPTOUTPUT

A name that indicates the city associated with the address.

szStateProvinceSTPROVcharOPTOUTPUT

A code that represents the state or province that is associated with an address.

szZipCodePostalZIPCDcharOPTOUTPUT

The United States ZIP code or the postal code attached to the address for delivery in other countries. If you extract address data from the 
J.D. Edwards Address Book system, the value for this column originates in the ADDZ column in the Address by Date table (F0116).

szCountryCTRcharOPTOUTPUT

A user defined code (00/CN) that identifies a country. The country code has no effect on currency conversion. The Address Book system 
uses the country code for data selection and address formatting.

szCountyCOUNcharOPTOUTPUT

The name of a county, parish, or other political district that is necessary for the address or for tax purposes.

szUserReservedCodeURCDcharOPTOUTPUT

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.

jdUserReservedDateURDTJDEDATEOPTOUTPUT

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_NUMERICOPTOUTPUT

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.

mnUserReservedNumberURABMATH_NUMERICOPTOUTPUT

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.

szUserReservedReferenceURRFcharOPTOUTPUT

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.

szUserIdUSERcharOPTOUTPUT

The code that identifies a user profile.

szProgramIdPIDcharOPTOUTPUT

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.

szWorkStationIdJOBNcharOPTOUTPUT

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

jdDateUpdatedUPMJJDEDATEOPTOUTPUT

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

mnTimeOfDayTDAYMATH_NUMERICOPTOUTPUT

The computer clock in hours:minutes:seconds.

cSuppressErrorMessageSUPPScharOPTINPUT

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.

szErrorMessageIdDTAIcharOPTOUTPUT

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
F40R41GetLastDemandHistory

F40R41GetLastDemandHistory

Get Demand

Minor Business Rule

Object Name: N40R0900

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0900C - Get Last Demand History

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDmdDetailUniqueKeyDEIDMATH_NUMERICREQBOTH

A system-generated number that identifies a demand record.

mnDmdHeaderUniqueKeyUKIDMATH_NUMERICOPTOUTPUT

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

szCostCenterMCUcharOPTOUTPUT

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.

szSoldToAN8MATH_NUMERICOPTOUTPUT

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

mnShipToSHANMATH_NUMERICOPTOUTPUT

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.

mnIdentifierShortItemITMMATH_NUMERICOPTOUTPUT

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

jdDateRequestedShipRQSJJDEDATEOPTOUTPUT

Requested ship date.

mnRequestedShipTimeRSHTMATH_NUMERICOPTOUTPUT

Requested Ship Time.

jdDateEndingRequestShipERQSHPDJJDEDATEOPTOUTPUT

The end date in a range of shipment dates that the customer specifies. For example, the customer might request the supplier to ship 500 
pieces between the first day and last day of the month.

szDemandTypeDETYPcharOPTOUTPUT

A code that specifies whether the demand is firm or planned. The demand type is used to determine how the system processes demand.

szDemandPeriodDEPERcharOPTOUTPUT

A code (40R/PD) that identifies the period of time for a demand record.

szCustPOCSTPOcharOPTOUTPUT

A number that identifies the customer's purchase order.

mnCUMIDCUMIDMATH_NUMERICOPTOUTPUT

A system-generated number that identifies a CUM record.

mnDemandBatchNumberDMDBTHNOMATH_NUMERICOPTOUTPUT

A number that identifies a batch of demand records.

szAssemblyLineFeedASBLNFDcharOPTOUTPUT

A value that is received from the customer's EDI set/message. This value identifies an actual receiving location on an automotive 
assembly line for delivery of the product. 

szAssemblyLineLocationASBLNLOCcharOPTOUTPUT

A code that identifies a location in the customer's production line.

szAssemblyNumberASBNOcharOPTOUTPUT

A number that identifies an assembly. The system uses this number for production sequencing.

szCategoryCodeDemand6DMD06charOPTOUTPUT

A three-character category code (UDC 40R/06) that is reserved for customer use.

szCategoryCodeDemand7DMD07charOPTOUTPUT

A three-character category code (UDC 40R/07) that is reserved for customer use.

szCategoryCodeDemand8DMD08charOPTOUTPUT

A three-character category code (UDC 40R/08) that is reserved for customer use.

szCategoryCodeDemand9DMD09charOPTOUTPUT

A three-character category code (UDC 40R/09) that is reserved for customer use.

szCategoryCodeDemand10DMD10charOPTOUTPUT

A three-character category code (UDC 40R/10) that is reserved for customer use.

szControlNumberCTLNUMcharOPTOUTPUT

A customer-assigned reference number for a part.

szConsigneeShipNumCSGSHPNOcharOPTOUTPUT

A reference number that is assigned by the consignee to a shipment.

szContractNumberGCNTcharOPTOUTPUT

A unique number assigned by the company to identify a particular contract. A contract is defined as a legally enforceable promise and must 
include the following factors: an offer, an acceptance, consideration, legality of subject matter, capacity of parties to execute, and more. You 
may wish to assign some significance to the contract number (e.g. a contract type code, state, year,etc.). A contract may have multiple 
supplements (field GSUP) to record addendums or changes.

szRequirementFreqREQFRQcharOPTOUTPUT

A code from the EDI transaction set/message that indicates the frequency of demand.

szCustDemandPatternCSTDMDPTcharOPTOUTPUT

A user defined value (within an EDI message) that determines the shipment pattern of the demand. For example, you might enter 13 to 
indicate "ship on Monday."

szRequirementTypeREQTYPcharOPTOUTPUT

A code from the EDI transaction set/message that indicates the type of demand.

szCustOrderNumberCSTORDNOcharOPTOUTPUT

A customer-assigned reference number that identifies an order.

szDemandReference1DMDREF1charOPTOUTPUT

A number that identifies a demand entity.

szDemandReference2DMDREF2charOPTOUTPUT

A number that identifies a demand entity.

szDockIDDKIDcharOPTOUTPUT

The dock location from which an outbound shipment is assigned to depart or at which an inbound shipment is assigned to arrive.

szEndingJobSeqENDJOBSQcharOPTOUTPUT

The last number in a range of numbers that the customer uses for production sequencing. Production sequencing indicates the order in 
which items are unloaded from the truck upon delivery.

szHazGoodsClassNoHZCLSNOcharOPTOUTPUT

A code that the customer creates for identifying the type of hazardous goods.

jdHorizonEndDateHZEDJDEDATEOPTOUTPUT

A date that specifies the end of a schedule period. For example, if a customer issues requirements for eight weeks during the months of 
June and July, the horizon end date is 07/31.

jdHorizonStartDateHZSDJDEDATEOPTOUTPUT

A date that specifies the beginning of a schedule period. For example, if a customer issues eight weeks of requirements for the months of 
June and July, the horizon start date is 06/01. 

szItemRevLevelCIRVcharOPTOUTPUT

A reference number used to identify the revision level of the customer's item.   In item cross-reference, translating a customer or supplier 
external item number to the internal short item number, the customer's number only is not always sufficient. In some instances, the customer part 
number must be used in conjunction with the item revision level. This combination will allow the system to uniquely identify the customer's 
item.

szProdSeqJobNoPSJOBNOcharOPTOUTPUT

A number that uniquely identifies a job. The system uses the job number for production sequencing.

szJobSequenceJOBSQcharOPTOUTPUT

A number that the system uses for production sequencing. Production sequencing is the process of indicating the order in which goods are 
unloaded from the truck.

szKanbanStartNoKBSNOcharOPTOUTPUT

The starting number (in a range of reference numbers) that is assigned to a Kanban card by a consignee.

szKanbanEndNoKBENOcharOPTOUTPUT

The ending number (in a range of reference numbers) that is assigned to a Kanban card by a consignee.

mnLaborHoursLABORHRMATH_NUMERICOPTOUTPUT

The number of working hours in the order cycle.

mnModelYearYEAR1MATH_NUMERICOPTOUTPUT

The model year of a product.

szPartReleaseStsCodePTRLSSTScharOPTOUTPUT

A code from the EDI transaction set/message that indicates to the supplier that the customer is sending a final release on the part.

jdCustPODateCSTPODJJDEDATEOPTOUTPUT

The date on which the customer's purchase order was entered.

mnCustPOTimeCSTPOTMMATH_NUMERICOPTOUTPUT

The time that the customer's purchase order was entered.

szCustPOLineCSTPOLINcharOPTOUTPUT

A number that identifies a line within the customer's purchase order.

jdPromisedDeliveryDateRSDJJDEDATEOPTOUTPUT

The date an item will be delivered to the customer.

mnPromisedDeliveryTimeRSDTMATH_NUMERICOPTOUTPUT

The promised time for a delivery. Enter the time using the 24-hour time format (HHMMSS). For example, enter 6:00 a.m. as 060000, and 
enter 7:00 p.m. as 190000.

szPullSignalPSIGcharOPTOUTPUT

Future use. A code that might represent a DON (Delivery Order Number), RAN (Release Accounting Number), or KANBAN number to 
trigger replenishment of material. Some customers using pull-based manufacturing practices to signal line-side replenishment of material.

szTransPurposeCodeTPURcharOPTOUTPUT

Code identifying purpose of transaction set.  Refer to User Defined Code Table 47/PU. The 1st character of the 2nd description in that table 
controls how the transaction is processed. Refer to ANSI X.12 Data Item 353.

mnQuantityByPositionQTYBYPOSMATH_NUMERICOPTOUTPUT

The quantity that is required at a particular position on the assembly line.

szReleaseNumberRLSNOcharOPTOUTPUT

A number that identifies the release for a customer.

jdDateReleaseIssueRLSDJJDEDATEOPTOUTPUT

The date that the customer provides for a release. The system uses this date in conjunction with the release time to identify a release.

mnTimeReleaseIssueRLSTMMATH_NUMERICOPTOUTPUT

The time that the customer provides for a release. The system uses the time in conjunction with the release date to identify a release.

mnRequestedShipQtyRQSHPQTYMATH_NUMERICOPTOUTPUT

The quantity of items that the customer has requested you to ship.

szRequestedShipUOMUOMcharOPTOUTPUT

A user defined code (00/UM) that indicates the quantity in which to express an inventory item, for example, CS (case) or BX (box).

szReserveLineFeedRSVLNFDcharOPTOUTPUT

A value that is received from the customer's EDI set/message. This value identifies an actual receiving location on an automotive 
assembly line for delivery of the product. 

szStatusSeqIndicatorSTSSQINDcharOPTOUTPUT

A code that identifies the status of a sequence number. The system uses this code for production sequencing.

mnSupplementalDataIDSDIDMATH_NUMERICOPTOUTPUT

A number that identifies supplemental data records and associates them with demand records.

szTextReferenceNumberTXTREFNOcharOPTOUTPUT

A number that is contained in an EDI message that associates the text with EDI message type 864.

jdEDITransCreateDateEDTCTDJJDEDATEOPTOUTPUT

The date on which an EDI transaction was created.

mnEDITransCreateTimeEDTCTTMMATH_NUMERICOPTOUTPUT

The time that an EDI transaction was created.

szEDITransMsgNameEDTMSGNMcharOPTOUTPUT

The name of an EDI X.12 transaction set of an EDIFACT message. For example, the name might be 830 or DELFOR.

szEDITransMsgTypeEDTMSGTPcharOPTOUTPUT

A code from the EDI transaction set/message that indicates the type of EDI message.

szEDITransMsgNameSubEDTMSGSBcharOPTOUTPUT

A secondary name of the EDI transaction or message.

szTransportRouteTRSRTEcharOPTOUTPUT

A code that represents a sequence of points at which goods are collected on the assembly line.

szTransportRouteSuffixTRSRTSFXcharOPTOUTPUT

The suffix from the EDI transaction set/message that identifies the sequence of points where goods are collected.

szUltimateCustArticleNoUCARTNOcharOPTOUTPUT

A number that the customer assigns to an article.

szVehicleIDVINNOcharOPTOUTPUT

A number that uniquely identifies a vehicle.

mnDeliverToDVANMATH_NUMERICOPTOUTPUT

The address number of the person who receives the goods ordered. The delivered to address might differ from the ship to address when 
ordered goods are processed through a distribution center (which is the delivered to address) before reaching their final destination (the ship 
to address).

mnOrigDmdQtyOGDMDQTYMATH_NUMERICOPTOUTPUT

The quantity of the demand prior to adjustments. You can revise this number, or the system can automatically update this number for new 
demand.

mnUnitsQuantityCanceledSOCNMATH_NUMERICOPTOUTPUT

The number of units canceled in Sales Order or Work Order Processing, using either the entered or the primary unit of measure defined for 
this item. In manufacturing, this can also be the number of units scrapped to date.

cPendingDeletePENDDLTcharOPTOUTPUT

An option that indicates whether the system identifies a demand record for deletion. When a sales order has been canceled, the 
associated demand record needs to be deleted. If you choose this option, the system identifies the demand record for deletion.

mnNetVarianceNETVCMATH_NUMERICOPTOUTPUT

A percentage that represents the difference in demand between two releases. The system calculates this percentage by subtracting the 
demand for the current release from the demand for the prior release, dividing the result by the prior release, and then multiplying that number by 
100.

cNetVarianceNotifyNETVCNTFcharOPTOUTPUT

An option that indicates whether the net variance of demand has exceeded a certain percentage. Choose this option to indicate that the net 
variance has exceeded the percentage.

szCriticalIDCRTCLIDcharOPTOUTPUT

A user defined code (40R/CI) that the system uses to indicate the severity of the net variance between two releases. You set up this code 
as a preference based on the net variance percentage.

cCreateSOStatusCRTSOSTScharOPTOUTPUT

A code that the system uses to track the status of a demand record throughout the process of creating sales order or forecast.  Valid values 
are: Blank The system has not submitted the demand record for the creation of a sales order or forecast. 0 The system has processed the 
demand record successfully. 1 The system has submitted the demand record for processing. 2 The system submitted the demand record for 
processing, but an error occured during processing. 3 The system successfully processed the demand record, and the demand record is now 
outside of the fence. 

szUserReservedCodeURCDcharOPTOUTPUT

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.

jdUserReservedDateURDTJDEDATEOPTOUTPUT

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_NUMERICOPTOUTPUT

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.

mnUserReservedNumberURABMATH_NUMERICOPTOUTPUT

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.

szUserReservedReferenceURRFcharOPTOUTPUT

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.

szUserIdUSERcharOPTOUTPUT

The code that identifies a user profile.

szProgramIdPIDcharOPTOUTPUT

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.

szWorkStationIdJOBNcharOPTOUTPUT

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

jdDateUpdatedUPMJJDEDATEOPTOUTPUT

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

mnTimeOfDayTDAYMATH_NUMERICOPTOUTPUT

The computer clock in hours:minutes:seconds.

cSuppressErrorMessageSUPPScharOPTINPUT

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.

szErrorMessageIdDTAIcharOPTOUTPUT

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.

jdCreateDateCREATEDJJDEDATEOPTBOTH

The date on which a record was created.

mnCreateTimeCREATETMMATH_NUMERICOPTBOTH

The time that a record was created.

mnUnitsQuantityShippedSOQSMATH_NUMERICOPTOUTPUT

The number of units committed for shipment in Sales Order Entry, using either the entered or the primary unit of measure defined for this 
item. In the Manufacturing system and Work Order Time Entry, this field can indicate completed or scrapped quantities. The quantity type is 
determined by the type code entered.

mnShipmentNumberSHPNMATH_NUMERICOPTBOTH

A "next number" that uniquely identifies a shipment.

jdShipDateADDJJDEDATEOPTOUTPUT

The date on which the shipment to the customer is confirmed as shipped. During shipment confirmation, the system updates the Sales 
Order Detail table (F4211) with this date.

mnShipTimeADTMMATH_NUMERICOPTOUTPUT

The actual time of shipment. Enter the time using the 24-hour time format (HHMMSS). For example, enter 6:00 a.m. as 060000, and enter 7:00 
p.m. as 190000.

Related Functions

None

Related Tables

None