VerifyBillingFreqEligibility

Verify Billing Frequency Eligibility

Minor Business Rule

Object Name: N1700100

Parent DLL: CCRIN

Location: Client/Server

Language: NER

1.Functional Description

1.1Purpose

The purpose of this NER is to figure out if a period is eligible for billing based on the Billing Frequency Code and the Fiscal Date Pattern in the Billing 

Frequency Master Table (F15019).


1.2Setup Notes and Prerequisites

The Billing Frequency Master table must be set up.  This NER does not handle 52-week billing periods.


1.3Special Logic

If "RetrieveF15019Records" is "1" the NER will retrieve the Fiscal Date Pattern associated with the F15019 record and new Fiscal Date Pattern 

dates.



2.Technical Specifications

2.4Processing 


Billable = Blank

IF RetrieveF15019Records = 1

F15019 Retrieve Billing Frequency Date (N150020)

IF FiscalDatePattern = Blank OR FiscalDatePattern = Null

CalculateCalendarYear

ELSE

F0008 Retrieve Fiscal Date Pattern (N0000562)
END IF
END IF

IF EndDateOfPeriod <= FrequencyPeriod1EndDate

IF BillingPeriod1 <> Blank AND BillingPeriod1 <> Null

Billable = '1'

BillablePeriod = 1

END IF

ELSE

IF EndDateOfPeriod <= FrequencyPeriod2EndDate

IF BillingPeriod2 <> Blank AND BillingPeriod2 <> Null

Billable = '1'

BillablePeriod = 2
END IF

ELSE

END IF

END IF


Data Structure

D1700100 - Verify Billing Frequency Eligibility


^

Parameter NameData ItemData TypeReq/OptI/O/Both
jdEndDateOfPeriodDTEJJDEDATEREQINPUT

The Julian Date

cRetrieveF15019RecordsEV01charOPTNONE

1 = Retrieve F15019 records.
Blank = Do not retrieve F15019 records, the values will be passed in.

^

cBillingFrequencyCodeBLFCcharOPTNONE

A code that indicates the billing cycle. The code that you enter must exist in the Billing Frequency Master table (F15019).

cBillableEV01charOPTNONE

1 = Billabe
Blank = Non-Billable

^

jdFrequencyPeriod1EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod2EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod3EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod4EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod5EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod6EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod7EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod8EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod9EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod10EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod11EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod12EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod13EndDateDTEJJDEDATEOPTNONE

The Julian Date

jdFrequencyPeriod14EndDateDTEJJDEDATEOPTNONE

The Julian Date

cBillingPeriod01BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod02BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod03BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod04BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod05BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod06BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod07BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod08BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod09BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod10BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod11BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod12BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod13BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

cBillingPeriod14BF01charOPTNONE

Corresponds to Calendar billing period 01, typically January, or to the first fiscal period of the billing year.

jdDatefiscalyearbeginsDFYJJDEDATEOPTNONE

The first day of the fiscal year.

cSuppressErrorMessageSUPPScharOPTNONE

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.

szErrorMessageIDDTAIcharOPTNONE

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.

mnBillablePeriodPNMATH_NUMERICOPTNONE

A number indicating the current accounting period.  This number, used in conjunction with the Company Constants table (F0010) and the 
General Constants table (F0009), allows the user to define up to 14 accounting periods. See General Ledger Date.  The current period number 
is used to determine posted before and posted after cut off warning messages.  It is also used as the default accounting period in the 
preparation of financial reports.

Related Functions

None

Related Tables

None