GetAnnualSpendingLimits

Get Annual Spending Limit

Master Business Function

Object Name: N0800052

Parent DLL: CHRM

Location: Client/Server

Language: NER

Functional Description

Purpose

To find the Annual Spending Limits effective during a specified period for an Employee and DBA Code.
Setup Notes and Prerequisites


Special Logic




Technical Specification

Select first record in Employee DBA Instructions file (F06106) for the Employee/DBA that is effective 
during the period the user passes in (Effective and Ending Effective Dates).  If nothing is found in 

the F06106, or if the Annual Spending Limit is 0, then retrieve the default Annual Spending Limit from 

the DBA Specification File (F069116).



Data Structure

DN0800052 - Get Annual Spending Limits

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICREQINPUT

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

mnDBACodePDBAMATH_NUMERICREQINPUT

A code that defines the type of pay, deduction, benefit, or accrual. Pay types are numbered from 1 to 999. Deductions and benefits are 
numbered from 1000 to 9999.

jdDateBeginningEFTBJDEDATEREQINPUT

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

jdDateEndingEFTEJDEDATEOPTINPUT

The date on which the item, transaction, or table becomes inactive, or through which you want transactions to appear. This field is used 
generically throughout the system. It could be a lease effective date, a price or cost effective date, a currency effective date, a tax rate effective 
date, or whatever is appropriate.

mnLimitOnAnnualDollarsADLMATH_NUMERICOPTOUTPUT

The maximum amount that can be withheld or accrued in a year for a deduction, benefit or accrual. This amount is expressed in dollars for 
deductions and benefits.  For accruals, this amount is expressed in hours. NOTE:  For the Payroll system, this field can represent either an 
initial annual limitation or a final limitation in a year:     o If the Annual (Level 1) field is not blank, this amount represents the first level of the yearly 
limitation. The value in Annual (Level 2) represents the final limitation.     o If an annual limit is specified on a DBA calculation table, the annual 
limit from the table will take precedence over annual limits defined at the master DBA or employee levels.

cErrorCodeERRCcharOPTOUTPUT

This error code indicates if any errors occurred during the creation of the Trip Document Detail (F4914) records by the Delivery Document 
Set Server program (XT4914).

Related Functions

None

Related Tables

None