1.Functional Description
1.1Purpose
This function will return all of the dates for a given date pattern as well as a pointer to an array
the has all of the dates in it.
1.2Setup Notes and Prerequisites
1.3Special Logic
2.Technical Specifications
1.If MonthlyWeekly is blank
Fetch to the F0008 with the DatePattern (If year is not blank use it to retrieve that
specific years
date setup. If it is blank retrieve the first year for that date pattern)
If a record is found
Move the 14 dates to an array and pass back the pointer to the array
Move the 14 dates to Period 1 - 14
Move the DateFiscalYearBegins to BeginingFiscalDate
Move the date in bucket 14 to EndingFiscalDate
Move the Year the date pattern is for to Year
Else
Move a '1' to error
End
Else
Fetch to the F0008B with the DatePattern(If year is not blank use it to retrieve that
specific years
date setup. If it is blank retrieve the first year for that date pattern)
If a record is found
Move the 54 dates to an array and pass back the pointer to the array
Move the 54 dates to Period 1 - 54
Move the DateFiscalYearBegins to BeginingFiscalDate
Move the date in bucket 54 to EndingFiscalDate
Move the Year the date pattern is for to Year
Else
Move a '1' to error
End
End
D3400680 - Retrieve Fiscal Dates
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
cDatePattern | DTPN | char | NONE | NONE |
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
| ||||
mnFiscalYear | YR | MATH_NUMERIC | NONE | NONE |
The calendar year for this calendar. | ||||
cMonthlyWeekly | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
idPntrFiscalDates | GENLNG | ID | NONE | NONE |
General purpose ID variable. | ||||
cDateError | ERR | char | NONE | NONE |
The Data Field Error Code field is simply a generic data field to pass an error condition flag. This field is one of the fields that make up the
| ||||
jdBeginningFiscalDate | DRQJ | JDEDATE | NONE | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
jdEndingFiscalDate | DRQJ | JDEDATE | NONE | NONE |
The date that an item is scheduled to arrive or that an action is scheduled for completion. | ||||
szPeriod1 | TQ01 | char | NONE | NONE |
Time Series Column 01. This column will hold Time Series Dates or Quantities. | ||||
szPeriod2 | TQ02 | char | NONE | NONE |
Time Series Column 02. This column will hold Time Series Dates or Quantities. | ||||
szPeriod3 | TQ03 | char | NONE | NONE |
Time Series Column 03. This column will hold Time Series Dates or Quantities. | ||||
szPeriod4 | TQ04 | char | NONE | NONE |
Time Series Column 04. This column will hold Time Series Dates or Quantities. | ||||
szPeriod5 | TQ05 | char | NONE | NONE |
Time Series Column 05. This column will hold Time Series Dates or Quantities. | ||||
szPeriod6 | TQ06 | char | NONE | NONE |
Time Series Column 06. This column will hold Time Series Dates or Quantities. | ||||
szPeriod7 | TQ07 | char | NONE | NONE |
Time Series Column 07. This column will hold Time Series Dates or Quantities. | ||||
szPeriod8 | TQ08 | char | NONE | NONE |
Time Series Column 08. This column will hold Time Series Dates or Quantities. | ||||
szPeriod9 | TQ09 | char | NONE | NONE |
Time Series Column 09. This column will hold Time Series Dates or Quantities. | ||||
szPeriod10 | TQ10 | char | NONE | NONE |
Time Series Column 10. This column will hold Time Series Dates or Quantities. | ||||
szPeriod11 | TQ11 | char | NONE | NONE |
Time Series Column 11. This column will hold Time Series Dates or Quantities. | ||||
szPeriod12 | TQ12 | char | NONE | NONE |
Time Series Column 12. This column will hold Time Series Dates or Quantities. | ||||
szPeriod13 | TQ13 | char | NONE | NONE |
Time Series Column 13. This column will hold Time Series Dates or Quantities. | ||||
szPeriod14 | TQ14 | char | NONE | NONE |
Time Series Column 14. This column will hold Time Series Dates or Quantities. | ||||
szPeriod15 | TQ15 | char | NONE | NONE |
Time Series Column 15. This column will hold Time Series Dates or Quantities. | ||||
szPeriod16 | TQ16 | char | NONE | NONE |
Time Series Column 16. This column will hold Time Series Dates or Quantities. | ||||
szPeriod17 | TQ17 | char | NONE | NONE |
Time Series Column 17. This column will hold Time Series Dates or Quantities. | ||||
szPeriod18 | TQ18 | char | NONE | NONE |
Time Series Column 18. This column will hold Time Series Dates or Quantities. | ||||
szPeriod19 | TQ19 | char | NONE | NONE |
Time Series Column 19. This column will hold Time Series Dates or Quantities. | ||||
szPeriod20 | TQ20 | char | NONE | NONE |
Time Series Column 20. This column will hold Time Series Dates or Quantities. | ||||
szPeriod21 | TQ21 | char | NONE | NONE |
Time Series Column 21. This column will hold Time Series Dates or Quantities. | ||||
szPeriod22 | TQ22 | char | NONE | NONE |
Time Series Column 22. This column will hold Time Series Dates or Quantities. | ||||
szPeriod23 | TQ23 | char | NONE | NONE |
Time Series Column 23. This column will hold Time Series Dates or Quantities. | ||||
szPeriod24 | TQ24 | char | NONE | NONE |
Time Series Column 24. This column will hold Time Series Dates or Quantities. | ||||
szPeriod25 | TQ25 | char | NONE | NONE |
Time Series Column 25. This column will hold Time Series Dates or Quantities. | ||||
szPeriod26 | TQ26 | char | NONE | NONE |
Time Series Column 26. This column will hold Time Series Dates or Quantities. | ||||
szPeriod27 | TQ27 | char | NONE | NONE |
Time Series Column 27. This column will hold Time Series Dates or Quantities. | ||||
szPeriod28 | TQ28 | char | NONE | NONE |
Time Series Column 28. This column will hold Time Series Dates or Quantities. | ||||
szPeriod29 | TQ29 | char | NONE | NONE |
Time Series Column 29. This column will hold Time Series Dates or Quantities. | ||||
szPeriod30 | TQ30 | char | NONE | NONE |
Time Series Column 30. This column will hold Time Series Dates or Quantities. | ||||
szPeriod31 | TQ31 | char | NONE | NONE |
Time Series Column 31. This column will hold Time Series Dates or Quantities. | ||||
szPeriod32 | TQ32 | char | NONE | NONE |
Time Series Column 32. This column will hold Time Series Dates or Quantities. | ||||
szPeriod33 | TQ33 | char | NONE | NONE |
Time Series Column 33. This column will hold Time Series Dates or Quantities. | ||||
szPeriod34 | TQ34 | char | NONE | NONE |
Time Series Column 34. This column will hold Time Series Dates or Quantities. | ||||
szPeriod35 | TQ35 | char | NONE | NONE |
Time Series Column 35. This column will hold Time Series Dates or Quantities. | ||||
szPeriod36 | TQ36 | char | NONE | NONE |
Time Series Column 36. This column will hold Time Series Dates or Quantities. | ||||
szPeriod37 | TQ37 | char | NONE | NONE |
Time Series Column 37. This column will hold Time Series Dates or Quantities. | ||||
szPeriod38 | TQ38 | char | NONE | NONE |
Time Series Column 38. This column will hold Time Series Dates or Quantities. | ||||
szPeriod39 | TQ39 | char | NONE | NONE |
Time Series Column 39. This column will hold Time Series Dates or Quantities. | ||||
szPeriod40 | TQ40 | char | NONE | NONE |
Time Series Column 40. This column will hold Time Series Dates or Quantities. | ||||
szPeriod41 | TQ41 | char | NONE | NONE |
Time Series Column 41. This column will hold Time Series Dates or Quantities. | ||||
szPeriod42 | TQ42 | char | NONE | NONE |
Time Series Column 42. This column will hold Time Series Dates or Quantities. | ||||
szPeriod43 | TQ43 | char | NONE | NONE |
Time Series Column 43. This column will hold Time Series Dates or Quantities. | ||||
szPeriod44 | TQ44 | char | NONE | NONE |
Time Series Column 44. This column will hold Time Series Dates or Quantities. | ||||
szPeriod45 | TQ45 | char | NONE | NONE |
Time Series Column 45. This column will hold Time Series Dates or Quantities. | ||||
szPeriod46 | TQ46 | char | NONE | NONE |
Time Series Column 46. This column will hold Time Series Dates or Quantities. | ||||
szPeriod47 | TQ47 | char | NONE | NONE |
Time Series Column 47. This column will hold Time Series Dates or Quantities. | ||||
szPeriod48 | TQ48 | char | NONE | NONE |
Time Series Column 48. This column will hold Time Series Dates or Quantities. | ||||
szPeriod49 | TQ49 | char | NONE | NONE |
Time Series Column 49. This column will hold Time Series Dates or Quantities. | ||||
szPeriod50 | TQ50 | char | NONE | NONE |
Time Series Column 50. This column will hold Time Series Dates or Quantities. | ||||
szPeriod51 | TQ51 | char | NONE | NONE |
Time Series Column 51. This column will hold Time Series Dates or Quantities. | ||||
szPeriod52 | TQ52 | char | NONE | NONE |
Time Series Column 52. This column will hold Time Series Dates or Quantities. | ||||
szPeriod53 | TQ53 | char | NONE | NONE |
Time Series Column 53. This column will hold Time Series Dates or Quantities. | ||||
szPeriod54 | TQ54 | char | NONE | NONE |
Time Series Column 54. This column will hold Time Series Dates or Quantities. |
None |
F0008 Date Fiscal Patterns | ||||
F0008B Date Fiscal Patterns - 52 Period Accounting |