CalculateAnchorDate

Calculate Anchor Date

Minor Business Rule

Object Name: N40R0450

Parent DLL: CDMDSCH

Location: Client/Server

Language: NER

Data Structure

D40R0450A - Calculate Anchor Date

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

jdCalculatedDateCALCDJJDEDATEOPTOUTPUT

A system-generated date. For example, if you specify a start date and the number of days that a process requires, the system generates 
the end 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