RetrieveDataFromF069096

F069096 - Get Payroll General Constants Data

Minor Business Rule

Object Name: N0500038

Parent DLL: CFND

Location: Client/Server

Language: NER

Functional Description

Purpose
Read the Payroll General Constants (F069096) table using the company id (CO) and return values for 
all the fields in the table except for three (User ID, USER; Program ID, PID; Date Updates, UPMJ).


Technical Specifications

Initialize ErrorFlag to 0

Fetch from Payroll General Constants (F069096) based on the company id pass in.  Assign values from 

record to corresponding values in the data structure.


If a file i/o error occurred then set ErrorFlag to 1 


Data Structure

DN0500038 - F069096 - Get Payroll General Constants Data

Parameter NameData ItemData TypeReq/OptI/O/Both
szCompanyCOcharREQINPUT

A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company 
Constants table (F0010) and must identify a reporting entity that has a complete balance sheet. At this level, you can have intercompany 
transactions. Note: You can use company 00000 for default values such as dates and automatic accounting instructions. You cannot use company 00000 
for transaction entries.

cGlInterfaceKeyGlIGLcharOPTOUTPUT

Code that indicates how batches of payroll journals are posted to the General Ledger. Valid codes are:    A  Automatic. If batches are in 
balance and there are no errors, the system posts batches automatically during the final update step of the payroll cycle. This is the default 
value.    M Manual. Each batch must be posted manually.    N None. There is no General Ledger interface.    T Time Accounting

cGlInterfaceAcctPayablIAPcharOPTOUTPUT

A/P Integration is used to specify the level of integration between the Payroll and the Accounts Payable systems. Pro forma vouchers are 
created during the payroll journal entries step of the payroll cycle. Actual vouchers are created in accounts payable during the final update 
step.    N   No integration.    0   Create vouchers for both DBAs and taxes that have been setup with A/P integration.    1   Create vouchers only for 
DBAs that have been setup with A/P integration.    2   Create vouchers only for taxes that have been setup with A/P integration.

cConsecutiveSubmissionIARcharOPTOUTPUT

A code that determines whether you can submit the pre-payroll, journal entries, and reports only steps of the payroll cycle simultaneously. 
Valid codes are:    Y Yes. Allow accelerated submission.    N No. Do not allow accelerated submission. Each payroll cycle step must be 
complete before you can submit the next payroll step from the menu.        This is the default value. NOTE: When accelerated submission is allowed, 
pre-payroll must run first. Also, the job queue specified for the pay cycle version must allow only one job to be active at a time.

cPeInterfaceFlagIPEcharOPTOUTPUT

If you have a cash option for your 125 Plan enter a 1 in this field. This will be used for taxation purposes for SUI and SDI. Certain states allow 
a 125  exemption amount if a cash option is allowed.

mnWorkHoursPerDayIDMATH_NUMERICOPTOUTPUT

This field indicates the number of hours in a standard working day. This information may be used for automatic overtime computations and 
other scheduling purposes.

mnWorkDaysPerWeekIWMATH_NUMERICOPTOUTPUT

The number of days in the work week. This number may be used (among other reasons) in the computation of automatic overtime.

mnWorkWeeksPerYearIBMATH_NUMERICOPTOUTPUT

The number of work weeks in the year. The number of bi-weekly, semi-monthly, and monthly periods in the year will be assumed to be 26, 
24, and 12, respectively.

mnWorkHoursPerYearIHMATH_NUMERICOPTOUTPUT

The number of work hours in the year. When you do not set your payroll company constants to use the Pay Grade Step table as the 
pay-rate source, the system uses this number to compute the hourly rate when you supply the annual salary (or to compute the annual salary when 
you supply the hourly rate). When you set your constants to use the Pay Grade Step table as the pay rate source, the system uses the 
following sequence to search for the standard number of hours that it uses to calculate the salary or hourly rate per pay period:     o Employee entry 
forms (this field)     o Pay Grade Step table (hours per day multiplied by days per year)     o Payroll company constants for the employee's 
company     o Payroll company constants for the default company (company 00000)     o Data dictionary     o System default value of 2080 
standard hours per year

cTaxArrearageSPPcharOPTOUTPUT

A code that specifies whether calculated taxes are reduced and the method used if an employee's check is a negative amount.  Codes 
are:    N   Do not perform any tax reductions. Overpayment processing (negative check adjustment) occurs after all deductions have been 
reduced according to their rules. This is the default code.    Y   Perform tax reductions. Overpayment processing (negative check adjustment) 
occurs after all deductions and taxes have been reduced according to their rules.    O   Perform tax reductions. Overpayment processing (negative 
check adjustment) occurs after taxes have been reduced but before type 2 deduction rules apply.

cBusinessUnitSearchSPBcharOPTOUTPUT

This code indicates whether a separate check is generated for each Business Unit in which an employee has worked during the pay 
period. The default value is N (do not generate separate checks). When pre-payroll locks the time entry record, each Business Units' time entry 
record is assigned a unique Check Control Number if the code is Y.

cSubsidiarySearchAHTPcharOPTOUTPUT

If code which indicates whether the 'Step Progression' module is active. If  'Y(Yes)' the system will allow certain programs to be activated 
and will automatically execute a batch program during the Final Update step of the Payroll Cycle. See element #CCD for further explanation.

cBatchControlRequireGlICRGcharOPTOUTPUT

An option that specifies whether the system displays an additional form to verify the transaction totals that you enter for each batch. Valid 
settings are: On The system displays an additional form when you enter a batch. You enter the total number of documents and the total amount 
that you expect the batch to contain. When you finish entering each batch and close the program, the system displays the difference, if any, 
between the totals that you expected to enter and the totals that you actually entered. Off The system does not display an additional form.

cManagemntApprovalInputIARGcharOPTOUTPUT

An option that indicates whether the manager is required to approve General Accounting batches before they can be posted. Valid settings 
are: On The manager must approve batches. The system assigns a Pending status to the batch, and a manager must approve it before it 
can be posted. Off The manager is not required to approve batches. The system assigns an Approved status to the batch, and it does not 
require manager approval.

szSubsidiarySUBcharOPTOUTPUT

A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account.

cModeEmployeeNumberEMcharOPTOUTPUT

A code that specifies the type of employee number displayed on inquiry screens. Valid values are:    1   Display the eight-digit Address 
Book number (default).    2   Display the nine-digit Social Security number.    3   Display the eight-digit Additional Employee number preceded by a 
forward slash (/). All forms of employee number remain valid.

szCountryForPayrollCCPRcharOPTOUTPUT

A user defined code list 00/CN that indicates the country in which the employee resides.

mnPayrollFiscalPeriodPBFPMATH_NUMERICOPTOUTPUT

The number of the month in which the payroll fiscal year begins.

cPrInterfaceInvMgmtIIMGcharOPTOUTPUT

A code which specifies whether there is to be an interface between the Payroll system and the Inventory system.

mnFiscalYear1FYMATH_NUMERICOPTOUTPUT

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 
year (as defined on the Company Setup form). Specify the year at the end of the first period rather than the year at the end of the fiscal period. 
For example, a fiscal year begins October 1, 1998 and ends September 30, 1999. The end of the first period is October 31, 1998. Specify the 
year 98 rather than 99.

mnDenominationMinimumDNMNMATH_NUMERICOPTOUTPUT

The minimum denomination value that must be paid to employees who works in this business unit.  For example, an employee paid in cash 
who accepts nothing less than a one dollar bill.  If this employee works in multiple business units,the home business unit denomination 
minimum prevails.

mnAnnualLeaveHoursALHRMATH_NUMERICOPTOUTPUT

The standard number of hours generated as Annual Leave during automatic wage processing.

cLaborPremiumDistrSPRcharOPTOUTPUT

A code which specifies whether the 'Premium' portion of overtime earnings is to be separated from 'Regular' earnings for accounting 
purposes. The valid codes are:    Y   The 'Premium' portion of overtime earnings will be separated from 'Regular' earnings during the Journal Entry 
step of the Payroll Cycle.    N   The 'Premium' portion of overtime earnings will NOT be separated from 'Regular' earnings; Total earnings will 
be posted into the same account during the Journal Entry step of the Payroll Cycle.

cBurdenOverrideRuleBDROcharOPTOUTPUT

A code which specifies whether the Journal Entry program is to omit creation of Burden Distr. Detail(F0724) records and Distributed Actual 
Burden Amounts for all companies and business units. The valid values are:    Y  Omit the creation of F0724 records and any corresponding 
'Actual Burden' journal entries.    N  Default to the Business Unit (F069056) level to determine whether any F0724 records are to be created and 
whether the  corresponding Actual Burden journal entries are to be generated.

mnLastCheckNumberPrDOCKMATH_NUMERICOPTOUTPUT

The number of the last Paycheck which was issued to an employee.

mnLastBankAdviseNoDOCAMATH_NUMERICOPTOUTPUT

The number of the last Bank Advice which was issued to an employee.

mnLastPayslipNumberDOCHMATH_NUMERICOPTOUTPUT

The number of the last Payslip which was issued to an employee.

cTipProcessingFlagTPRFcharOPTOUTPUT

A code that specifies whether to include tipped or piecework employees in payroll processing. Valid values are:    N   Company does not 
have tipped or piecework employees. This is the default value.    1   Company has tipped employees.    2   Company has piecework 
employees.

cCanadianPayrollFlagCPRFcharOPTOUTPUT

A Yes/No field specifying whether to use Canadian payrolls. Valid codes are: Y Use Canadian payrolls. N Use US payroll processing. This 
is the default value.

cCycleControlFlagCCTFcharOPTOUTPUT

A code specifying whether to incorporate execution control into the payroll cycle steps. Valid codes are:    Y  Yes. You must set up 
execution control, by version, to determine who can execute the steps within the payroll cycle.    N  No. No execution control. The person who runs the 
first pre-payroll step must run all steps in the cycle. This is the default value.

mnInterestRateStandardRTINMATH_NUMERICOPTOUTPUT

Standard Interest Rate.  Future use for Non-USA payrolls.

mnMaximumDeferralRateCOIRMATH_NUMERICOPTOUTPUT

The maximum percentage of pre-tax earnings that an employee is allowed to defer to a 401(k) plan. This rate is used in the 415 
Nondiscrimination Test. For example, to enter a rate of 12.75 percent, enter 12.75 in this field.

cCompanyRetirementPlanCORPcharOPTOUTPUT

Future use for Non-USA payrolls.

cExemptionTypeNCCDcharOPTOUTPUT

Use this field to override the 125 cash option at the company level. Enter a 1  in this field to indicate that the employee is taking a cash 
option. This field can only be used with SUI and SDI taxes (G, H, I, and J)

cAcctPayableMgmtApprAPMAcharOPTOUTPUT

A code which specifies whether there must be Management Approval before the Payroll-A/P Vouchers may be posted into the Accounts 
Payable system.

cBatchControlMgmtApprBCMAcharOPTOUTPUT

A code which specifies whether Management Approval is necessary before a batch of timecards can be included in a Pre-Payroll 
Processing.

cAcctRecMgmtApprARMAcharOPTOUTPUT

A code which specifies whether there must be Management Approval before the Payroll-A/R Invoices may be posted into the Accounts 
Receivable System.

cDbaPeriodProcessingDBAPcharOPTOUTPUT

A code which specifies whether there is to be Pay Period Control assigned to the various Deductions, Benefits or Accruals. This feature will 
control the calculation of D/B/A's when a check is issued to an employee multiple times within a single pay period. The following values 
apply:    N DO NOT control D/B/A's by Pay Period.(Current logic)    Y Control all D/B/A's by Pay Period.    I Controll D/B/A's by Pay Period at the 
Individual D/B/A level.

cSpendingAcctControlTXPcharOPTOUTPUT

A code indicating whether to use flexible spending accounts in processing payroll. Valid codes are:    Y Use flexible spending accounts.    N 
Do not use flexible spending accounts. This is the default code.

mnSuiCalculationSwitchSUICMATH_NUMERICOPTOUTPUT

A value that determines how the system adjusts state unemployment insurance. Vertex can self-adjust or not self-adjust the amount of tax 
calculated. Valid values are:    0   Self-adjust. This method always brings the tax up to what it should be.          The formula used is as follows: 
Current period tax = (YTD gross + current gross) x SUI rate - YTD SUI tax.    1   Do not self-adjust. The tax is calculated on the current period 
wages only.    2   Self-adjust when maximum base is reached. If you have employees in working multiple states, set this value to 1 (do not 
self-adjust).

cCalculateVDITaxCVDIcharOPTOUTPUT

Calculate VDI Tax

cErrorFlagVC01AcharOPTOUTPUT

This is a generic field used for video constants display.

Related Functions

None

Related Tables

None