F40R20GetDemandRules

Get Demand Rules

Minor Business Rule

Object Name: N40R0120

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0120A - Get Demand Rules

Parameter NameData ItemData TypeReq/OptI/O/Both
szCostCenterMCUcharREQINPUT

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.

mnAddressNumberAN8MATH_NUMERICREQINPUT

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

mnAddressNumberShipToSHANMATH_NUMERICREQINPUT

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.

cWeeklyStartDayWKSDAYcharOPTOUTPUT

A user defined code (42/DW) that represents the day on which the customer's week begins. When the system removes outdated demand 
records, the system uses this code to determine whether a demand record is associated with the current week or the prior week.

cAddOldDmdCUMReqAOLDDCRcharOPTOUTPUT

An option that determines whether the system adds the quantity of the demand detail that was removed to the value in the CUM Required 
Prior field when you run the Purge Demand History Record program (R40R094). If you do not choose this option, then the system does not 
add the quantity of the demand detail that was removed to the value in the CUM Required Prior field.

cReplaceCUMReqREPCUMRcharOPTOUTPUT

An option that allows the supplier to override the cumulative quantity of an item that the customer requires. If you choose this option, the 
supplier can override the cumulative quantity.

cCalcAheadBehindFirmABFIRMcharOPTOUTPUT

An option that determines whether you can adjust the demand by modifying either the quantity that you have already shipped (also known 
as "ahead amount") or the quantity that you need to ship (also known as "behind amount") in relation to the customer's requirements. If you 
activate this option, then you can adjust the demand before you create the sales order.

cCalcAheadBehindPlanABPLANcharOPTOUTPUT

An option that determines whether you can adjust the demand by modifying either the quantity that you have already shipped (also known 
as "ahead amount") or the quantity that you need to ship (also known as "behind amount") in relation to the customer's requirements. If you 
activate this option, then you can adjust the demand before you create forecast records.

cCalcAheadBehindProdSeqABPDSQcharOPTOUTPUT

An option that determines whether you can adjust the demand by modifying either the quantity that you have already shipped (also known 
as "ahead amount") or the quantity that you need to ship (also known as "behind amount") in relation to the customer's requirements. If you 
activate this option, then you can adjust the demand before you use the production sequencing demand.

szSOVersionCreateSchSOVERCScharOPTOUTPUT

The version of the Sales Order Entry program (P4210) that the system uses when you run the Create Demand Schedule program 
(R40R010).

cAdjustShipDateADJSDTcharOPTOUTPUT

An option that you use to specify whether the system adjusts the ship date for nonwork days when you run the schedule creation process. 
Valid values are: Blank The system does not adjust the ship date. 1 The system changes the ship date to an earlier date. 2 The system changes 
the ship date to a later date.

cReplaceByShipToREPSTcharOPTOUTPUT

An option that determines whether the system replaces the existing demand with the new demand that is associated with a particular "ship 
to" record. If you do not choose this option, then the system does not replace the existing demand.

szCUMAdjustShipmentCUMADJScharOPTOUTPUT

A user defined code (40R/CA) that identifies the type of adjustment that results from the shipment process.

cDecrementCUMDECCUMcharOPTOUTPUT

An option that specifies whether the system increases or decreases CUM quantities when updating the CUM quantity shipped. If you do not 
choose this option, the system increases CUM quantities. 

cTimeZoneShipmentTZSHPcharOPTOUTPUT

A code that identifies the type of time zone with which the system associates shipment dates for incoming demand. The system adjusts the 
date and time according to the time zone. Valid values are: Blank Branch/plant time zone 1 Sold-to time zone 2 Ship-to time zone

cTimeZoneDeliveryTZDELcharOPTOUTPUT

A code that identifies the type of time zone with which the system associates delivery dates for incoming demand. The system adjusts the 
date and time according to the time zone. Valid values are: Blank Branch/plant time zone 1 Sold-to time zone 2 Ship-to time zone

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.

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.

cUsePriorDayCUMShipPDAYCUMScharOPTOUTPUT

An option that determines whether the system displays the previous day's CUM quantity shipped on the bill of lading and the advanced 
shipping notice (ASN). If you do not choose this option, then the system displays the CUM quantity shipped for only the current day.

cAddLineToCUMShipADLNCUMScharOPTOUTPUT

An option that you use to specify whether the system includes the quantity of the current line item when it calculates the cumulative total of 
items that were shipped. The system uses this option for the bill of lading and Advanced Ship Notice (ASN).

cPutSOOnHoldSOHOLDcharOPTOUTPUT

An option that determines whether the system places a sales order on hold when the cumulative quantity shipped has reached zero. If you 
do not choose this option, then the system does not place the sales order on hold. Note: Placing a sales order on hold when the cumulative 
quantity shipped has reached zero creates a difference in the actual quantity shipped versus the contract amount to be shipped.

szErrorMessageDTAIcharOPTOUTPUT

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.

szSOHistExtractVersionVSOHSTEXcharOPTOUTPUT

The version of the Refresh Actuals program (R3465) that the system uses.

cRmvPartialShipDemandRMVPSHPcharOPTOUTPUT

An option that indicates whether the system removes a demand detail record when only a partial quantity of the required shipping quantity 
has been shipped. Some customers allow their suppliers to ship only part of the requirement and then consider the shipment complete. 
However, if the customer wants the remainder of the quantity, the customer adjusts for the quantity in the next EDI transmission. Customers who 
want the requirement to remain open until it is fully shipped also use adjustment processing, they access from the ship confirm EDI message.  

Related Functions

None

Related Tables

None