CalculateAnchorMonth

Calculate Month Date Range

Minor Business Rule

Object Name: N40R0250

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER


Data Structure

D40R0250D - Calculate Anchor Month

Parameter NameData ItemData TypeReq/OptI/O/Both
jdBaseDateBASEDJJDEDATEREQINPUT

The date from which a process or operation begins.

cMonthBeginEndMTHBGEDcharREQINPUT

An option that specifies whether the customer sends forecast dates at the beginning or the end of the month. If you do not choose this 
option, then the system processes information based on the customer sending forecast dates at the beginning of the month.

cAnchorDOWANCHDOWcharREQINPUT

A code that specifies the day of the week that the system applies to the anchor rule when the system generates forecast records. Valid 
values are: Blank Sunday 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday

jdBeginDateBEGINDJJDEDATEOPTOUTPUT

The date on which a process starts.

jdEndDateENDDJJDEDATEOPTOUTPUT

An ending date.

cSuppressErrorMessageSUPPScharREQINPUT

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.

szErrorCodeDTAIcharOPTOUTPUT

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
CalculateCalendarMonthDates

CalculateCalendarMonthDates

Calculate Month Date Range

Minor Business Rule

Object Name: N40R0250

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0250B - Calculate Calendar Month Dates

Parameter NameData ItemData TypeReq/OptI/O/Both
jdBaseDateBASEDJJDEDATEREQINPUT

The date from which a process or operation begins.

cMonthBeginEndMTHBGEDcharREQINPUT

An option that specifies whether the customer sends forecast dates at the beginning or the end of the month. If you do not choose this 
option, then the system processes information based on the customer sending forecast dates at the beginning of the month.

jdBeginDateBEGINDJJDEDATEOPTOUTPUT

The date on which a process starts.

jdEndDateENDDJJDEDATEOPTOUTPUT

An ending date.

cSuppressErrorMessageSUPPScharREQINPUT

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.

szErrorCodeDTAIcharOPTOUTPUT

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
CalculateDatePatternMonth

CalculateDatePatternMonth

Calculate Month Date Range

Minor Business Rule

Object Name: N40R0250

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0250E - Calculate Date Pattern Month

Parameter NameData ItemData TypeReq/OptI/O/Both
jdBaseDateBASEDJJDEDATEREQINPUT

The date from which a process or operation begins.

cMonthBeginEndMTHBGEDcharREQINPUT

An option that specifies whether the customer sends forecast dates at the beginning or the end of the month. If you do not choose this 
option, then the system processes information based on the customer sending forecast dates at the beginning of the month.

cFiscalDatePatternDTPNcharREQINPUT

A code that identifies date patterns. You can use one of 15 codes. You must set up special codes (letters A through N) for 4-4-5, 13-period 
accounting, or any other date pattern unique to your environment. An R, the default, identifies a regular calendar pattern.

jdBeginDateBEGINDJJDEDATEOPTOUTPUT

The date on which a process starts.

jdEndDateENDDJJDEDATEOPTOUTPUT

An ending date.

cSuppressErrorMessageSUPPScharREQINPUT

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.

szErrorCodeDTAIcharOPTOUTPUT

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
CalculateMonthDateRange

CalculateMonthDateRange

Calculate Month Date Range

Minor Business Rule

Object Name: N40R0250

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0250A - Calculate Month Date Range

Parameter NameData ItemData TypeReq/OptI/O/Both
jdBaseDateBASEDJJDEDATEREQINPUT

The date from which a process or operation begins.

cMonthCalcRuleMTHCALCcharREQINPUT

A code that specifies how the system calculates the frequency of demand.  Valid values are: Blank The system calculates the frequency of 
demand by calendar month.  For example, demand begins on the first day of the month and ends on the last day of the month. 1 The system 
calculates the frequency of demand by a day of the week.  For example, demand occurs every Tuesday. 2 The system calculates the 
frequency of demand by the first occurrence of a particular day within the month.  For example, demand occurs on the first Monday of every month.

cMonthBeginEndMTHBGEDcharREQINPUT

An option that specifies whether the customer sends forecast dates at the beginning or the end of the month. If you do not choose this 
option, then the system processes information based on the customer sending forecast dates at the beginning of the month.

cAnchorDOWANCHDOWcharOPTINPUT

A code that specifies the day of the week that the system applies to the anchor rule when the system generates forecast records. Valid 
values are: Blank Sunday 1 Monday 2 Tuesday 3 Wednesday 4 Thursday 5 Friday 6 Saturday

cFiscalDatePatternDTPNcharOPTINPUT

A code that identifies date patterns. You can use one of 15 codes. You must set up special codes (letters A through N) for 4-4-5, 13-period 
accounting, or any other date pattern unique to your environment. An R, the default, identifies a regular calendar pattern.

jdBeginDateBEGINDJJDEDATEOPTOUTPUT

The date on which a process starts.

jdEndDateENDDJJDEDATEOPTOUTPUT

An ending date.

cSuppressErrorMessageSUPPScharREQINPUT

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.

szErrorCodeDTAIcharOPTOUTPUT

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
CalculateOccurrenceMonth

CalculateOccurrenceMonth

Calculate Month Date Range

Minor Business Rule

Object Name: N40R0250

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0250C - Calculate Occurrence Month

Parameter NameData ItemData TypeReq/OptI/O/Both
jdBaseDateBASEDJJDEDATEREQINPUT

The date from which a process or operation begins.

cMonthBeginEndMTHBGEDcharREQINPUT

An option that specifies whether the customer sends forecast dates at the beginning or the end of the month. If you do not choose this 
option, then the system processes information based on the customer sending forecast dates at the beginning of the month.

jdBeginDateBEGINDJJDEDATEOPTOUTPUT

The date on which a process starts.

jdEndDateENDDJJDEDATEOPTOUTPUT

An ending date.

cSuppressErrorMessageSUPPScharREQINPUT

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.

szErrorCodeDTAIcharOPTOUTPUT

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