UpdateDemandCreateSOStatus

Demand Table Updates

Minor Business Rule

Object Name: N40R0660

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0660A - UpdateDemandCreateSOStatus

Parameter NameData ItemData TypeReq/OptI/O/Both
mnDemandUniqueKeyDEIDMATH_NUMERICREQINPUT

A system-generated number that identifies a demand record.

cCreateSOStatusCRTSOSTScharREQINPUT

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. 

szProgramIdPIDcharOPTINPUT

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.

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