DmdSchXAPIAddForecast

Demand Schedule XAPI Processing

Minor Business Rule

Object Name: B40R0180

Parent DLL: CDMDSCH

Location: Client/Server

Language: C

Data Structure

D40R0180C - Demand Schdeule XAPI Add Forecast

Parameter NameData ItemData TypeReq/OptI/O/Both
idXAPICallIdGENLNGIDOPTNONE

General purpose ID variable.

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.

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.

szBranchPlantMCUcharOPTNONE

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_NUMERICOPTNONE

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

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

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

mnRequestedShipQtyRQSHPQTYMATH_NUMERICOPTNONE

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

szUnitOfMeasureUOMcharOPTNONE

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

jdBeginDateBEGINDJJDEDATEOPTNONE

The date on which a process starts.

jdEndDateENDDJJDEDATEOPTNONE

An ending date.

szSOHistExtractVersionVSOHSTEXcharOPTNONE

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

Related Functions

None

Related Tables

None
DmdSchXAPIAddSO

DmdSchXAPIAddSO

Demand Schedule XAPI Processing

Minor Business Rule

Object Name: B40R0180

Parent DLL: CDMDSCH

Location: Client/Server

Language: C

Data Structure

D40R0180B - Demand Schedule XAPI Add Sales Order

Parameter NameData ItemData TypeReq/OptI/O/Both
idXAPICallIdGENLNGIDREQINPUT

General purpose ID variable.

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.

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.

cCrtSOCancelFlagCRTSOCLcharOPTNONE

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.

cHoldOrderFlagHOLDORDcharOPTNONE

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.

cPendingDeleteFlagPENDDLTcharOPTNONE

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.

cSOStatusNotifyFlagSOSTSNTFcharOPTNONE

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

mnUniqueKeyIDInternalUKIDMATH_NUMERICOPTNONE

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

mnDemandUniqueKeyDEIDMATH_NUMERICOPTNONE

A system-generated number that identifies a demand record.

szBranchPlantMCUcharOPTNONE

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_NUMERICOPTNONE

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

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

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

szReleaseNumberRLSNOcharOPTNONE

A number that identifies the release for a customer.

jdReleaseDateRLSDJJDEDATEOPTNONE

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

mnReleaseTimeRLSTMMATH_NUMERICOPTNONE

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

jdRequestedShipDateRQSJJDEDATEOPTNONE

Requested ship date.

mnRequestedShipTimeRSHTMATH_NUMERICOPTNONE

Requested Ship Time.

mnRequestedShipQtyRQSHPQTYMATH_NUMERICOPTNONE

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

szRequestedShipQtyUOMUOMcharOPTNONE

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

jdPromisedDeliveryDateRSDJJDEDATEOPTNONE

The date an item will be delivered to the customer.

mnPromisedDeliveryTimeRSDTMATH_NUMERICOPTNONE

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.

szCustOrderNumberCSTORDNOcharOPTNONE

A customer-assigned reference number that identifies an order.

szDockIDDKIDcharOPTNONE

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

szItemRevLevelCIRVcharOPTNONE

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_NUMERICOPTNONE

The model year of a product.

jdCustPODateCSTPODJJDEDATEOPTNONE

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

mnCustPOTimeCSTPOTMMATH_NUMERICOPTNONE

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

szCustPOLineCSTPOLINcharOPTNONE

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

szCustPONumberCSTPOcharOPTNONE

A number that identifies the customer's purchase order.

szPullSignalPSIGcharOPTNONE

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.

szVehicleIDVINNOcharOPTNONE

A number that uniquely identifies a vehicle.

cINVRPTFlagINVADVcharOPTNONE

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_NUMERICOPTNONE

A system-generated number that identifies a CUM record.

szSalesOrderVersionSOVERcharOPTNONE

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.

szBatchNumberBATNcharOPTNONE

Batch Number.

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

szHoldOrdersCodeHOLDcharOPTNONE

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

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

szOrderCompanyKCOOcharOPTNONE

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
DmdSchXAPIFinalize

DmdSchXAPIFinalize

Demand Schedule XAPI Processing

Minor Business Rule

Object Name: B40R0180

Parent DLL: CDMDSCH

Location: Client/Server

Language: C

Data Structure

D40R0180D - Demand Schdeule XAPI finalize

Parameter NameData ItemData TypeReq/OptI/O/Both
idXAPICallIdGENLNGIDREQINPUT

General purpose ID variable.

szCallbackFunctionNameFCTNMcharOPTINPUT

The actual name of the function. It must follow standard ANSI C naming conventions. For example, no space between words.

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.

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.

Related Functions

None

Related Tables

None
DmdSchXAPIInitialize

DmdSchXAPIInitialize

Demand Schedule XAPI Processing

Minor Business Rule

Object Name: B40R0180

Parent DLL: CDMDSCH

Location: Client/Server

Language: C

Data Structure

D40R0180A - Demand Schedule XAPI Initialize

Parameter NameData ItemData TypeReq/OptI/O/Both
idXAPICallIdGENLNGIDOPTNONE

General purpose ID variable.

szXAPICallTypeXAPICTcharOPTNONE

Future use.

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.

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.

Related Functions

None

Related Tables

None