CacheProcessDemandScheduleOrders

Inbound Demand Request Sales Order Cache Processing

Minor Business Rule

Object Name: B4206030

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4206030B - Cache Processing Demand Schedule Orders

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheActionCodeCACTNcharREQINPUT

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICREQINPUT

The number of keys in an index that will be used to retrieve, delete, or update a record.

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.

idCacheCursorGENLNGIDOPTBOTH

General purpose ID variable.

nCacheIndexINT01integerOPTINPUT

Number of Days in Future to Query for Responses Due. 

mnJobnumberAJOBSMATH_NUMERICREQBOTH

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

mnDemandUniqueKeyDEIDMATH_NUMERICREQINPUT

A system-generated number that identifies a demand record.

mnDocumentOrderInvoiceEDOCOMATH_NUMERICREQINPUT

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.

szOrderTypeDCTOcharREQINPUT

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

szCompanyKeyOrderNoKCOOcharREQINPUT

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_NUMERICREQINPUT

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.

mnPrimaryOrderQuantityOQNCMATH_NUMERICREQINPUT

This variance indicates the changes made to the order quantity.

mnRemainingOrderQuantityOQNCMATH_NUMERICOPTINPUT

This variance indicates the changes made to the order quantity.

cSOBackOrderedSOBCKORDcharREQINPUT

An option that indicates whether a sales order is backordered. Valid values are: Blank Not backordered 1 Backordered

szUnitOfMeasureAsInputUOMcharOPTINPUT

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

cProcessingControlEditsPCEDIcharOPTOUTPUT

Determines how to process customers.

Related Functions

None

Related Tables

None
CacheProcessInboundDemandRequest

CacheProcessInboundDemandRequest

Inbound Demand Request Sales Order Cache Processing

Minor Business Rule

Object Name: B4206030

Parent DLL: CSALES

Location: Client/Server

Language: C

Data Structure

D4206030A - Cache Processing Inbound Demand Request

Parameter NameData ItemData TypeReq/OptI/O/Both
szCacheActionCodeCACTNcharREQINPUT

A code that indicates the activity you want to perform. Valid codes:     o Get - Retrieve the cache element     o Add - Add a cache element     o 
Update - Update a cache element     o Delete - Delete a cache element     o Delete All - Delete all cache elements     o Get Next - Retrieve the 
next cache element     o Add/Update - Add a cache element if it does not exist; Update a cache element if it does exist     o Terminate - 
Terminate Cache

mnNumberKeysNKEYSMATH_NUMERICREQINPUT

The number of keys in an index that will be used to retrieve, delete, or update a record.

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.

idCacheCursorGENLNGIDOPTBOTH

General purpose ID variable.

nCacheIndexINT01integerOPTBOTH

Number of Days in Future to Query for Responses Due. 

mnJobnumberAJOBSMATH_NUMERICREQBOTH

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

cCancelFlagCRTSOCLcharREQBOTH

A value that indicates whether a sales order can be cancelled. Valid values are: Blank Cannot be cancelled. 1 Cancelled, the sales order 
was found. 2 Cancelled, the sales order was not found.

mnDemandUniqueKeyDEIDMATH_NUMERICREQBOTH

A system-generated number that identifies a demand record.

cHoldOrderHOLDORDcharOPTBOTH

An option that indicates whether you can place an order on hold. For certain processes in the Demand Scheduling system, you might need 
to place an order on hold. For example, if a customer is decreasing CUM quantities and a CUM quantity reaches zero, then the contract has 
been fulfilled and the remaining sales orders need to be placed on hold. If you do not choose this option, then the order is not on hold.

cPendingDeletePENDDLTcharOPTBOTH

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.

cSOStatusNotifySOSTSNTFcharOPTBOTH

An option that specifies whether to activate sales order status notification. This option is typically used by XAPI. Valid values are: Blank Do 
not notify 1 Notify

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

mnAddressNumberSoldToAN8MATH_NUMERICOPTBOTH

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

mnAddressNumberShipToSHANMATH_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

szReleaseNumberRLSNOcharOPTBOTH

A number that identifies the release for a customer.

jdDateReleaseRLSDJJDEDATEOPTBOTH

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

mnTimeReleaseRLSTMMATH_NUMERICOPTBOTH

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

jdDateRequestedShipRQSJJDEDATEOPTBOTH

Requested ship date.

mnRequestedshipTimeRSHTMATH_NUMERICOPTBOTH

Requested Ship Time.

mnRequestedShipQtyRQSHPQTYMATH_NUMERICOPTBOTH

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

szUnitOfMeasureAsInputUOMcharOPTBOTH

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

jdDateReleaseJulianRSDJJDEDATEOPTBOTH

The date an item will be delivered to the customer.

mnPromisedDeliveryTimeRSDTMATH_NUMERICOPTBOTH

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.

szCustOrderNumberCSTORDNOcharOPTBOTH

A customer-assigned reference number that identifies an order.

szDockIDDKIDcharOPTBOTH

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

szItemRevLevelCustomerSuppCIRVcharOPTBOTH

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.

mnModelYear1YEAR1MATH_NUMERICOPTBOTH

The model year of a product.

jdCustPODateCSTPODJJDEDATEOPTBOTH

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

mnCustPOTimeCSTPOTMMATH_NUMERICOPTBOTH

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

szCustPOLineCSTPOLINcharOPTBOTH

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

szCustPOCSTPOcharOPTBOTH

A number that identifies the customer's purchase order.

szPullSignalPSIGcharOPTBOTH

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.

szVehicleIDVINNOcharOPTBOTH

A number that uniquely identifies a vehicle.

cInventoryAdvisementINVADVcharOPTBOTH

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. 

mnCUMIDCUMIDMATH_NUMERICOPTBOTH

A system-generated number that identifies a CUM record.

szSalesOrderVersionSOVERcharOPTBOTH

The version of the Sales Order Detail program (P4210) that the system uses. If you do not specify a version, then the system uses version 
ZJDE0001.

szBatchBATNcharOPTBOTH

Batch Number.

mnAddressNumberAN8MATH_NUMERICOPTBOTH

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

szHoldOrdersCodeHOLDcharOPTBOTH

A user defined code (42/HC) that identifies why an order is on hold.

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.

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

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.

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.

Related Functions

None

Related Tables

None