B03B0121
F03B08 Edit Fiscal Date Pattern
Functional Description
Purpose
This function ensures that when a date pattern is added from P03B08, that it does not overlap any
date patterns that already exist for the current company. It will check both Date Fiscal Year Begins and
Ending Date to determine this. If any dates overlap, it will return a Found Flag = "1".
The condition selects records in the F03B08 where the DATE01 passed in is greater than the DTBG in
F03B08 and less than DTEN. If any records meet this condition, then the found flag is set to "1" and
returned.
Mathematically, this is represented as follows:
Begin DateDate passed inEnding Date
DTBG<Date01<DTEN
Setup Notes and Prerequisites
Special Logic
Technical Specifications
Parameters
Data ItemDescriptionI/OReqNotes
COCompanyIYes
DATE01DateIYesThis is the date
the fiscal year begins when called from the FC, and the ending date when called from the grid.
EV01Found FlagOYes
FYFiscal YearONo
PNPeriod No General LedgerONo
CTRYCenturyONo
Related Tables
F03B08Credit/Collection Date Pattern
Related Business Functions
Processing
Select all records in the F03B08 where:
Begin DateDate passed inEnding Date
DTBG< Date01<DTEN
If a record is found, set FoundFlag = "1";
Else, return FoundFlag = "0";
^
D03B0121 - F03B08 Edit Date Patterns
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szCompany | CO | char | NONE | NONE |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
jdDate | DATE01 | JDEDATE | NONE | NONE |
Event point for JDE Date. | ||||
FoundFlag | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. | ||||
mnFiscalYear1 | FY | MATH_NUMERIC | NONE | NONE |
A number that identifies the fiscal year. Generally, you can either enter a number in this field or leave it blank to indicate the current fiscal
| ||||
mnPeriodNoGeneralLedge | PN | MATH_NUMERIC | NONE | NONE |
A number indicating the current accounting period. This number, used in conjunction with the Company Constants table (F0010) and the
| ||||
mnCentury | CTRY | MATH_NUMERIC | NONE | NONE |
The calendar century associated with the year. Enter is the first two digits of
the year. For example, 19 indicates any year beginning with 19
|
None |
F03B08 Credit/Collection Date Pattern |