AddTaxableAmountToTaxCache

Create Payroll Journals

Minor Business Rule

Object Name: N0700006

Parent DLL: CPAY

Location: Client/Server

Language: NER


Data Structure

DN0700006I - DS for Add Taxable Amount to Tax Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szTaxExemptTypes01TT01charOPTINPUT

You can specify up to 15 tax types for which the respective payroll tax is not to be computed for a pay, deduction, or benefit code. If you 
enter * in the first element of this list, no taxes are computed.

szTaxExemptTypes02TT02charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes03TT03charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes04TT04charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes05TT05charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes06TT06charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes07TT07charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes08TT08charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes09TT09charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes10TT10charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes11TT11charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes12TT12charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes13TT13charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes14TT14charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTaxExemptTypes15TT15charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

mnCheckControlNumberCKCNMATH_NUMERICOPTINPUT

A number used to group all payroll transactions for each payment or individual interim payment. This number is carried into the accounting 
journal entries and facilitates the update of the actual check number after payment printing is complete. This number is also used for 
automatically voiding payments. The payment work table contains both the actual check number and the check control number. All associated 
payment transactions are automatically reversed using the check control number. This is not the actual check number.

mnAddressNumberAN8MATH_NUMERICOPTINPUT

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

mnPayrollTransactionNoPRTRMATH_NUMERICOPTINPUT

A unique number that the system assigns to each timecard. You can use this field in the Time Entry By Job program to retrieve a specific 
timecard for display. This field is also used to tie a timecard to each Actual Burden audit record created for the timecard during the Actual 
Burden Journaling process.

mnAmtGrossPayGPAMATH_NUMERICOPTINPUT

The actual gross pay amount for an employee. This amount is to be distinguished from the distributed gross pay amount used for labor 
distribution. See data item DPAY. When using Work Order Time Entry, this field is used to record miscellaneous pay for an employee, (for 
example, piece rate bonus).

mnHoursWorkPHRWMATH_NUMERICOPTINPUT

The number of hours associated with each transaction.

mnWorkStateWSTMATH_NUMERICOPTINPUT

Vertex state code identifying the state where the employee works.  REQUIRED.

mnWorkCountyWCNTMATH_NUMERICOPTINPUT

Vertex county code identifying where the employee works. Zero fill if you do not need to calculate county taxes.

mnWorkCityWCTYMATH_NUMERICOPTINPUT

Vertex city code identifying the city where the employee works. Zero fill if you do not need to calculate city taxes.

szJournalTaxCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalKeyCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

cProcessedKey0or1EV01charOPTNONE

An option that specifies the type of processing for an event.

szJournalDBACacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalTaxableAmountCachePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalDBATaxExemptCachePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

Related Functions

None

Related Tables

None
ComputeWorkersCompPrem

ComputeWorkersCompPrem

Create Payroll Journals

Minor Business Rule

Object Name: N0700006

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description
Compute Workers Compensation Premiums

Purpose
This NER (N0700006 - Compute Workers Compensation Premiums) works in conjunction with N0700006 - 
Process Timecards, with the purpose of Adding the Workers' Comp and General Liability Amounts to the 

timecard from calculations made from the F069216 (Workers' Comp Rate Table).


Setup Notes and Prerequisites


Special Logic

Technical Specifications

Compute Workers Compensation Premiums:

Get Frequency Number from UDC Table attatched to Data Item "PFRQ" 

Move Frequency Number Found into Hold Pay Frequency

If Frequency is not found in UDC Table 

  Default 52 into mnFrequencyMathNumeric

End If


Get Workers Compensation General Liability Rate from F069216


// Validate for Workers' Compensation (and General Liability if different //

If Timecard Workers Comp Insurance Code is not equal to  


  Move " " to cDBAExists

  If DBAs Exist in the F0709 for this Check Control Number

    Move "1" to cDBAExists

  End If


  Move "0" to cExcludableFlag 

  If Timecard Tax Exempt Types 01 thru 15 is equal to "* " or "W " 

    Move "1" to cExcludableFlag

  End If

 

  If cExcludableFlag is not equal to "1" 

    mnWFRate = [Experience Rate]*[RATE]


    If Method Of Calculation is equal to "1", "3" or "6" 

      Work Field Limit = Workers Comp Limit from F069216

    Else

      Work Field Limit = [Workers Comp Limit]/[Pay Period Frequency]

    End If


    // Validate pay type within the table found in F069216 //

    Using  Insusured Pay Table Number from the F069216 look in the F069076

    While records exist for this Insured Pay Table 

      If this is a Pay Type 


        If the Pay Type => to the From Pay Type

        And the Pay Type <= the Thru Pay Type 

          Move the Exclude Premium Field to Exclude Premium Work Field

          Move "1" to cWFWOK

        End If


      Else


        // If the pay type is excluded, don't verify further.   

        // Also, if the deduction/benefit is exempt, do not allocate.


        If cWFWOK is not equal to  And cDBAExists is equal to "1" 

          VA evt_cWFCrossReferenceType = "B"

          VA evt_cWFDeductionBenefitFlag = "  "

          VA evt_mnWFPDBA = VA evt_mnFromPDBATrans

          F069036.Select

          F069036.FetchNext

          While SV File_IO_Status is equal to CO SUCCESS 

            F069116.FetchSingle

            If SV File_IO_Status is equal to CO SUCCESS 


// If it is a benefit but exempt from all taxes or exempt from workers' comp, do

// not add it into the key array.  But if it is a deduction, it must be added to

// the key array.


            Move "  " to cWFDBAExcludableFlag 

            If VA evt_cWFDISOtype is equal to "D" or "B" 

              If F069116 TaxExempt 01 thru 15 is equal to "* " or "W " 

                Move "1" to cWFDBAExcludableFlag 

              End If


               // End - DISO = to 'D' or 'B'

            End If


            If VA evt_cWFDISOtype is equal to "D" 

              If VA evt_cWFDBAExcludableFlag is equal to "1" 

                VA evt_cWFDBAExcludableFlag = " "

              Else

                VA evt_cWFDBAExcludableFlag = "1"

              End If

            End If

// 

If VA evt_cWFDBAExcludableFlag is equal to  

If VA evt_mnYXFromTransCode is greater than "999" 

VA evt_cWFDeductionBenefitFlag = "1"

VA evt_cWFDeductionBenefit = "1"

Else

If BF mnTCPayDeductBenAccType is greater than or equal to VA evt_mnYXFromTransCode And BF 

mnTCPayDeductBenAccType is less than or equal to VA evt_mnYXThruTransCode 

VA evt_cWFDeductionBenefitFlag = "1"

VA evt_cWFDeductionBenefit = "1"

End If

// End - From Trans Code > 999

End If

// End - DBA Excludable Flag = Blank

End If

// End - F069116 Fetch Success

End If

// 

F069036.FetchNext

End While





// ===============================================================

// If the pay type is included in deduction/benefit, it must be allocated.   

// Add records to the Workers' Comp Accumulation Cache as well as the Key Cache

// ===============================================================

// 

If VA evt_cWFDeductionBenefitFlag is equal to "1" 

Reading and Writing WC Accumulation Journal 

Reading and Writing WC GL and Tax Key Cache

End If

// End -  WOK is not equal to Blank and DBA Exist = 1

End If

// End  -  From PDBA < 1000 : 

End If

F069076.FetchNext

End While









// End - Exculable Flag <> 1

End If

// End - Workers Comp Code <> Blanks

End If

// ===============================================================

// Determine base, overtime wages.

// ===============================================================

If VA evt_cWFWOK is not equal to  

// ===============================================================

// Calculate overtime portion.

// ===============================================================

If VA evt_cWFExcludePremium is equal to "N" And BF mnTCMultiplierPayTypeMult is not equal to 

"100.00" 

VA evt_mnWFGrossPay = BF mnTCAmtGrossPay

VA evt_mnWFOverTimeAmt = 0

Else

If BF mnTCAmtEnteredGrossPay is not equal to  

VA evt_mnWFGrossPay = BF mnTCAmtGrossPay

VA evt_mnWFOverTimeAmt = 0

Else

VA evt_mnWFHourlyRate = BF mnTCRtHourly

VA evt_mnWFBaseHourlyRate = BF mnTCRtBaseHourly

If BF cTCShiftDiffCalcSequence is equal to "1" And BF mnTCMultiplierPayTypeMult is not equal to 

"100.00" 

VA evt_mnWFBaseHourlyRate = [BF mnTCRateHourlyExtendedW]/[BF mnTCMultiplierPayTypeMult]

VA evt_mnWFHourlyRate = BF mnTCRateHourlyExtendedW

End If

VA evt_mnWFOvertimeHourlyRate = [VA evt_mnWFHourlyRate]-[VA evt_mnWFBaseHourlyRate]

VA evt_mnWFOverTimeAmt = [VA evt_mnWFOvertimeHourlyRate]*[BF mnTCHoursWork]

VA evt_mnWFGrossPay = [BF mnTCAmtGrossPay]-[VA evt_mnWFOverTimeAmt]

// End - Entered Gross Amount <> 0

End If

// End - Exclude Premium = 'N' and Pay Type Multiplier <> 100

End If

// ============================================================== 

// Check for Limit.

// ==============================================================

If VA evt_cWFMethodOfCalculation is equal to "6" 

VA evt_mnWFUsed = VA evt_mnWAnnualGrossAllCodes

Else

VA evt_mnWFUsed = VA evt_mnWUsedGross

End If

If VA evt_mnWFUsed is greater than VA evt_mnWFLimit 

VA evt_mnWFWCPremiumBase = 0

Else

VA evt_mnWFUsed = [VA evt_mnWFUsed]+[VA evt_mnWFGrossPay]

If VA evt_mnWFUsed is less than or equal to VA evt_mnWFLimit 

VA evt_mnWFWCPremiumBase = VA evt_mnWFGrossPay

Else

VA evt_mnWFDifference = [VA evt_mnWFUsed]-[VA evt_mnWFLimit]

VA evt_mnWFWCPremiumBase = [VA evt_mnWFGrossPay]-[VA evt_mnWFDifference]

End If

// End - Used > Limit

End If

If VA evt_cWFMethodOfCalculation is equal to "6" 

VA evt_mnWAnnualGrossAllCodes = VA evt_mnWFUsed

Else

VA evt_mnWUsedGross = VA evt_mnWFUsed

End If

// ============================================================== 

// Compute the premium by percent or by hours.

// ==============================================================

If VA evt_cWFMethodOfCalculation is equal to "%" Or VA evt_cTGLMethodOfCalculation is equal to 

"1" Or VA evt_cTGLMethodOfCalculation is equal to "3" Or VA evt_cWFMethodOfCalculation is equal 

to "6" 

VA evt_mnWFWCPremiumAmount = [VA evt_mnWFRate]*[VA evt_mnWFWCPremiumBase]

VA evt_mnWFWCBaseHoursWorked = VA evt_mnWFWCPremiumBase

Else

If VA evt_mnWFWCPremiumBase is not equal to  

VA evt_mnWFWCPremiumAmount = [VA evt_mnWFRate]*[BF mnTCHoursWork]

VA evt_mnWFWCBaseHoursWorked = BF mnTCHoursWork

End If

// End - Method of Calculation

End If

// ============================================================== 

// Assign WorkFields back to Timecard Fields

// ==============================================================

BF mnTCRtWorkersCompInsur = VA evt_mnWFRate

BF mnTCWorkerCompPremiumAmt = VA evt_mnWFWCPremiumAmount

BF mnTCWorkerCompPremBase = VA evt_mnWFWCPremiumBase

BF mnTCWorkerCompOvertime = VA evt_mnWFOverTimeAmt

BF mnTCWorkerCompExcludable = 0

Else

BF mnTCRtWorkersCompInsur = 0

BF mnTCWorkerCompPremiumAmt = 0

BF mnTCWorkerCompPremBase = 0

BF mnTCWorkerCompOvertime = 0

BF mnTCWorkerCompExcludable = BF mnTCAmtGrossPay

VA evt_cWFMethodOfCalculation = " "

// End - Determine base, overtime wages.

End If

// 

// ============================================================== 

// Process General Liability.

// ==============================================================


// =============================================================== 

// Make sure that this pay in not excludable - Tax Type 01 to 15

// =============================================================== 

Move "0" to cExcludableFlag

//  

If Timecard Tax ExemptT ypes 01 thru 15 is equal to "* " or "Y" 

  Move "1" to cExcludableFlag

End If

// 

If VA evt_cExcludableFlag is not equal to "1" 

// ===============================================================

// Validate pay type within the table found in F069216.

// ===============================================================

// 

F069076.Select

F069076.FetchNext

While SV File_IO_Status is equal to CO SUCCESS 

//   PDBA is a Pay Type

If VA evt_mnFromPDBATrans is less than "1000" 

If BF mnTCPayDeductBenAccType is greater than or equal to VA evt_mnFromPDBATrans And BF 

mnTCPayDeductBenAccType is less than or equal to VA evt_mnThruPDBATrans 

VA evt_cWFExcludePremium = VA evt_cExcludePremium

VA evt_cWFWOK = "1"

End If

Else

// ===============================================================

// If the pay type is excluded, don't verify further.   

// Also, if the deduction/benefit is exempt, do not allocate.

// ===============================================================

// 

If VA evt_cWFWOK is not equal to  And VA evt_cDBAExists is equal to "1" 

VA evt_cWFDeductionBenefitFlag = "  "

VA evt_mnWFPDBA = VA evt_mnFromPDBATrans

VA evt_cWFCrossReferenceType = "B"

F069036.Select

F069036.FetchNext

While SV File_IO_Status is equal to CO SUCCESS 

F069116.FetchSingle

If SV File_IO_Status is equal to CO SUCCESS 

// ===============================================================

// If it is a benefit but exempt from all taxes or exempt from workers' comp, do

// not add it into the key array.  But if it is a deduction, it must be added to

// the key array.

// ===============================================================

// 

Move " " to cWFDBAExcludableFlag

If VA evt_cWFDISOtype is equal to "D" Or VA evt_cWFDISOtype is equal to "B" 

If F069116 Tax Exempt 01 thru 15 is equal to "* " or  "Y" 

  Move "1" to cWFDBAExcludableFlag

End If


// End - DISO = to 'D' or 'B'

End If

// 

If VA evt_cWFDISOtype is equal to "D" 

If VA evt_cWFDBAExcludableFlag is equal to "1" 

VA evt_cWFDBAExcludableFlag = " "

Else

VA evt_cWFDBAExcludableFlag = "1"

End If

End If

// 

If VA evt_cWFDBAExcludableFlag is equal to  

If VA evt_mnYXFromTransCode is greater than "999" 

VA evt_cWFDeductionBenefitFlag = "1"

VA evt_cWFGDeductionBenefit = "1"

Else

If BF mnTCPayDeductBenAccType is greater than or equal to VA evt_mnYXFromTransCode And BF 

mnTCPayDeductBenAccType is less than or equal to VA evt_mnYXThruTransCode 

VA evt_cWFDeductionBenefitFlag = "1"

VA evt_cWFGDeductionBenefit = "1"

End If

// End - From Trans Code > 999

End If

// End - DBA Excludable Flag = Blank

End If

// End - F069116 Fetch Success

End If

// 

F069036.FetchNext

End While

// ===============================================================

// If the pay type is included in deduction/benefit, it must be allocated.   

// Add records to the General Liability Accumulation Cache as well as the Key

// Cache

// ===============================================================

// 

If VA evt_cWFDeductionBenefitFlag is equal to "1" 

Reading and Writing WC Accumulation Journal 

Reading and Writing WC GL and Tax Key Cache

End If

// End -  WOK is not equal to Blank and DBA Exist = 1

End If

// End  -  From PDBA < 1000 : 

End If

F069076.FetchNext

End While

// End - Exculable Flag <> 1

End If

// ===============================================================

// Determine base, overtime wages.

// ===============================================================

If VA evt_cWFWOK is not equal to  

// ===============================================================

// Calculate overtime portion of pay.

// ===============================================================

If VA evt_cWFExcludePremium is equal to "N" And BF mnTCMultiplierPayTypeMult is not equal to 

"100.00" 

VA evt_mnWFGrossPay = BF mnT

Data Structure

DN0700006H - Compute Workers Compensation Premiums

Parameter NameData ItemData TypeReq/OptI/O/Both
mnTCWorkerCompPremiumAmtWCAMMATH_NUMERICOPTBOTH

The amount paid for the workers compensation or general liability insurance. See also GENA.

mnTCWorkerCompPremBaseWCMBMATH_NUMERICOPTBOTH

The reportable earnings. This is the basis for calculating the workers compensation and general liability premiums.

mnTCWorkerCompOvertimeWCMOMATH_NUMERICOPTBOTH

The pay earned by the employee for overtime hours. This amount may or may not be subject to Workers Compensation Premiums.

mnTCWorkerCompExcludableWCMXMATH_NUMERICOPTBOTH

The amount of gross pay that is not included in the basis for the premium calculation. For example, many policies will exclude premium 
wages from the basis and only include straight time equivalent wages as the basis for the calculation of premiums.

mnTCAmtGenLiabPremAmtGENAMATH_NUMERICOPTBOTH

The amount paid for the General Liability Insurance. See also WCA.

mnTCAmtGenLiabBaseGENBMATH_NUMERICOPTBOTH

This is the amount of taxable wages upon which the general liability premium was computed.

mnTCGenLiabOvertimeAmtGENOMATH_NUMERICOPTBOTH

The premium portion of overtime wages which have been designated as excluded from the calculation of General Liability(PD/BI) 
Insurance.

mnTCRtWorkCompGenLiabGENRMATH_NUMERICOPTBOTH

The rate used to compute the general liability insurance premiums related to workers compensation. This is represented as a decimal 
fraction.

mnTCGenLiabExcludableGENXMATH_NUMERICOPTBOTH

The amount of the employees wages which have been designated as excluded from the calculation of General Liability(PD/BI) Insurance.

mnTCRtWorkersCompInsurRTWCMATH_NUMERICOPTBOTH

The rate used to compute workers compensation insurance premiums. This is represented as a decimal fraction.

cTCDeductionBenefitMethodDEDMcharOPTBOTH

A user defined code (07/DM) that specifies the method that the system uses to perform certain calculations. For example, the system uses 
a method of calculation to calculate deductions, benefits, and accruals (DBAs) and workers' compensation insurance.

cTCPayFrequencyPFRQcharOPTINPUT

A user defined code (07/PF) that indicates how often an employee is paid. Valid codes are: B Biweekly   W Weekly   S Semimonthly  
M Monthly   A Annually   C European Annualized  The system uses the value in the Description-2 field on user defined codes to calculate the amount per 
pay period for a salaried employee.

mnTCAmtGrossPayGPAMATH_NUMERICOPTINPUT

The actual gross pay amount for an employee. This amount is to be distinguished from the distributed gross pay amount used for labor 
distribution. See data item DPAY. When using Work Order Time Entry, this field is used to record miscellaneous pay for an employee, (for 
example, piece rate bonus).

mnTCHoursWorkPHRWMATH_NUMERICOPTINPUT

The number of hours associated with each transaction.

szTCWorkersCompInsurCodeWCMPcharOPTINPUT

A user defined code (00/W) that represents a workers' compensation insurance (WCI) code. This code should correspond to the 
classifications on your periodic workers' compensation insurance reports.

mnTCPayDeductBenAccTypePDBAMATH_NUMERICOPTINPUT

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.

mnTCWorkStateWSTMATH_NUMERICOPTINPUT

Vertex state code identifying the state where the employee works.  REQUIRED.

mnTCMultiplierPayTypeMultPAYMMATH_NUMERICOPTINPUT

A factor by which the base hourly rate is multiplied to obtain the actual payment hourly rate. For example, you could use 1.5 to designate 
time-and-one-half for overtime pay. 0 is not a valid multiplier. The default value is 1.00.

mnTCAmtEnteredGrossPayEPAMATH_NUMERICOPTINPUT

A lump sum amount, an adjustment amount, or an amount that represents an employee's gross pay. This amount temporarily overrides any 
pay calculation that the system normally performs.

cTCShiftDiffCalcSequenceCMTHcharOPTINPUT

A code that specifies how the system should calculate shift differential.    1       The pay type multiplier is applied to the shift differential: Gross 
= (rate + shift differential) x (multiplier) x hours.    2       The pay type multiplier is applied only to the hourly rate and does not include the shift 
differential: Gross = (rate x multiplier) + (shift differential) x hours.    Blank The system follows the shift differential method that is associated with the 
pay type from the Pay Type table (F069116). The multiplier is the pay rate multiplier from the Pay Type table (F069116). When the pay rate is 
derived from the Union Rate table, the multiplier is assumed to be 1 as it is built into the table. In this case, all methods produce the same 
result.

mnTCRateHourlyExtendedWSHRTMATH_NUMERICOPTINPUT

This is the employee's hourly rate. If applicable, Pay Type Multiplier and Shift Differential values will be added. If you change the value of 
the data display decimals for this field, you must also change the Hourly Rate (PHRT) and Base Rate (BHRT) fields in Time Entry to have 
exactly the same data display decimals.

mnTCRtHourlyPHRTMATH_NUMERICOPTINPUT

The employee's hourly rate, which is retrieved during time entry. If you enter a rate in this field on any other form, that rate can override the 
value in the Employee Master table. In the Employee Master table, this number is the employee's base hourly rate. In the Union Rates table, it 
is the straight time rate. NOTE: If you change the number of the data display decimal digits for this field, you must also change fields Rate - 
Base Hourly (BHRT) and Rate - Hourly (SHRT) so that they have exactly the same number of data display decimal digits.

mnTCRtBaseHourlyBHRTMATH_NUMERICOPTINPUT

This is the employee's base hourly rate as retrieved from either the Employee Master or the Union Rates Table.  This number would not be 
modified by multipliers, differentials, etc. It is saved in the time entry file (F0611) for the express purpose of being able to account for 
premium pay separate from base pay.  (See also: HRT, PWRT, BRT) ***Important Note*** If you change the number of DATA DISPLAY DECIMAL 
digits for the field "PHRT", "SHRT" you MUST also change this field's data display decimals to be the same number.

szTCTaxExemptTypes01TT01charOPTINPUT

You can specify up to 15 tax types for which the respective payroll tax is not to be computed for a pay, deduction, or benefit code. If you 
enter * in the first element of this list, no taxes are computed.

szTCTaxExemptTypes02TT02charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes03TT03charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes04TT04charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes05TT05charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes06TT06charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes07TT07charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes08TT08charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes09TT09charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes10TT10charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes11TT11charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes12TT12charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes13TT13charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes14TT14charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

szTCTaxExemptTypes15TT15charOPTINPUT

You may specify up to 15 tax types for which the respective payroll tax is NOT to be computed for a pay, deduction, or benefit code. If you 
enter an asterisk (*) in the first element of this list, it signifies that no taxes are to be computed.

cWFWorkFieldWDBEV01charOPTINPUT

An option that specifies the type of processing for an event.

cWFWorkerCompBenefitMethDEDMcharOPTINPUT

A user defined code (07/DM) that specifies the method that the system uses to perform certain calculations. For example, the system uses 
a method of calculation to calculate deductions, benefits, and accruals (DBAs) and workers' compensation insurance.

cWFGenLiabBenefitMethDEDMcharOPTINPUT

A user defined code (07/DM) that specifies the method that the system uses to perform certain calculations. For example, the system uses 
a method of calculation to calculate deductions, benefits, and accruals (DBAs) and workers' compensation insurance.

mnWFRateWCRTMATH_NUMERICOPTINPUT

The rate as specified by the Workers Compensation Insurance company. It is multiplied by the Experience Rating prior to the calculation of 
premium. The Rate is represented as a decimal fraction.

mnWFUsedWCRTMATH_NUMERICOPTINPUT

The rate as specified by the Workers Compensation Insurance company. It is multiplied by the Experience Rating prior to the calculation of 
premium. The Rate is represented as a decimal fraction.

mnWFWorkerCompPremAmtWCAMMATH_NUMERICOPTINPUT

The amount paid for the workers compensation or general liability insurance. See also GENA.

mnWFWorkerCompPremBaseWCMBMATH_NUMERICOPTINPUT

The reportable earnings. This is the basis for calculating the workers compensation and general liability premiums.

mnWFWorkerCompOvertimeWCMOMATH_NUMERICOPTINPUT

The pay earned by the employee for overtime hours. This amount may or may not be subject to Workers Compensation Premiums.

mnWFWorkerCompExcludableWCMXMATH_NUMERICOPTINPUT

The amount of gross pay that is not included in the basis for the premium calculation. For example, many policies will exclude premium 
wages from the basis and only include straight time equivalent wages as the basis for the calculation of premiums.

mnWFAmtGenLiabPremAmtGENAMATH_NUMERICOPTINPUT

The amount paid for the General Liability Insurance. See also WCA.

mnWFAmtGenLiabBaseGENBMATH_NUMERICOPTINPUT

This is the amount of taxable wages upon which the general liability premium was computed.

mnWFGenLiabOvertimeAmtGENOMATH_NUMERICOPTINPUT

The premium portion of overtime wages which have been designated as excluded from the calculation of General Liability(PD/BI) 
Insurance.

mnWFGenLiabExcludableGENXMATH_NUMERICOPTINPUT

The amount of the employees wages which have been designated as excluded from the calculation of General Liability(PD/BI) Insurance.

mnAddressNumberAN8MATH_NUMERICOPTINPUT

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

mnPayrollTransactionNoPRTRMATH_NUMERICOPTINPUT

A unique number that the system assigns to each timecard. You can use this field in the Time Entry By Job program to retrieve a specific 
timecard for display. This field is also used to tie a timecard to each Actual Burden audit record created for the timecard during the Actual 
Burden Journaling process.

mnTCCheckControlNumberCKCNMATH_NUMERICOPTINPUT

A number used to group all payroll transactions for each payment or individual interim payment. This number is carried into the accounting 
journal entries and facilitates the update of the actual check number after payment printing is complete. This number is also used for 
automatically voiding payments. The payment work table contains both the actual check number and the check control number. All associated 
payment transactions are automatically reversed using the check control number. This is not the actual check number.

cTCRechargeCodeRCCDcharOPTINPUT

A code that identifies whether the employee is to be handled through the Recharge processing option for the Payroll Journal Entry 
program. Valid codes are:    1   Payroll Processing Only    2   Payroll and Recharge Processing    3   Recharge Processing Only  After a timecard has 
been added, you cannot change its record type.

szCompanyCOcharOPTINPUT

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.

cTCWorkerCompSubclassWETcharOPTINPUT

A code that specifies any special circumstances associated with the workers compensation insurance (WCI) code, resulting in multiple 
rates for the same WCI code due to location or risk, for example. The subclass should remain blank if multiple rates do not exist. Default codes 
are: Blank There are no special circumstances associated with this code. F There are special circumstances associated with this code.

jdTCDtWorkJulianDWKJDEDATEOPTINPUT

The date used as the actual work date or pay-period ending date.

szTCCostCenterMCUcharOPTINPUT

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

szTCRechargeCostCenterGMCUcharOPTINPUT

A Business Unit is an accounting entity required for management reporting. It can be thought of as a profit center, department, warehouse 
location, job,project, workcenter, etc. For Payroll purposes, this Business Unit represents the distribution account where the recharge(billing) 
amounts are to be posted. The only time that this field will be generated is when you are keying in an employee as a Record Type(RCCD) 2 or 
3. In this case the derived distribution account, or entered account, equals this Business Unit.

jdDatePayCheckCKDTJDEDATEOPTINPUT

The date associated with the various types of net pay instructions. This date relates to a payroll check, an interim payment, a bank 
automatic-deposit advice slip, a payslip (cash), or a claim reimbursement.

szJournalWCCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalWCAccumCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalKeyCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

cWCDeductionBenefitFlagEV01charOPTNONE

An option that specifies the type of processing for an event.

cGLDeductionBenefitFlagEV01charOPTNONE

An option that specifies the type of processing for an event.

mnWCBaseHoursWorkedPHRWMATH_NUMERICOPTNONE

The number of hours associated with each transaction.

mnGLBaseHoursWorkedPHRWMATH_NUMERICOPTNONE

The number of hours associated with each transaction.

mnFrequencyMathNumericADNLMATH_NUMERICOPTNONE

The number of lines to print on the auto deposit advice.

cOverrideCompressionRuleEV01charOPTNONE

An option that specifies the type of processing for an event.

mnWeeksWorkedWKSMATH_NUMERICOPTNONE

Weeks Worked

szCountryForPayrollCCPRcharOPTNONE

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

mnTCWorkCountyWCNTMATH_NUMERICOPTNONE

Vertex county code identifying where the employee works. Zero fill if you do not need to calculate county taxes.

cWCExcludePremiumPayYNPPTcharOPTNONE

A code that indicates whether the premium portion of overtime pay should be excluded from the calculation. For workers compensation 
rates, this field relates to only those pay types that are defined in the Workers-Compensation Insurance-Basis Table. For U.S. 
unemployment-insurance rates, this field relates to all pay types that are defined as taxable. For Canadian employment-insurance rates, this field should be 
set to No because premium pay such as overtime is not excluded from employment insurance in Canada. For pay tables that are used for 
step progression processing, this field should be set to No.

cGenLiabPremiumPayYN_2PPTcharOPTNONE

A code that indicates whether the premium portion of overtime pay should be excluded from the calculation. For workers compensation 
rates, this field relates to only those pay types that are defined in the Workers-Compensation Insurance-Basis Table. For U.S. 
unemployment-insurance rates, this field relates to all pay types that are defined as taxable. For Canadian employment-insurance rates, this field should be 
set to No because premium pay such as overtime is not excluded from employment insurance in Canada. For pay tables that are used for 
step progression processing, this field should be set to No.

szWCTaxTypeCode_RTRTcharOPTNONE

A code that identifies the table that contains user defined codes. The table is also referred to as a UDC type.

szF07210PayCycleCodePCCDcharOPTNONE

A code that identifies the values for a master payroll cycle.

jdF07210DateBeginningEffEFTBJDEDATEOPTNONE

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. 

jdF07210DateEndingEffEFTEJDEDATEOPTNONE

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.

cCalledFromDBAs_EV01EV01charOPTNONE

An option that specifies the type of processing for an event.

cTaxCalcMethodFICMcharOPTNONE

A code that specifies the tax method that the Vertex payroll-tax calculation system uses to calculate certain taxes. The codes are defined in 
UDC 07/TM. This code can also determine the form that the employee receives for year-end tax reporting. For example, when you enter C, 
a contract employee receives IRS Form 1099-M rather than IRS Form W-2. If a form is not specified in Description 2, the system generates 
IRS Form W-2. For employees who are paid multiple times within one pay period, the system should review previous payments within the same 
pay period and then adjust tax amounts. To specify this function, enter S. If a tax method exists for an employee in addition to the normal tax 
method that is set up in the Employee Master Information table (F060116), the system can use the alternative tax method to interactively 
process interim payments. To specify this function, enter Z. Some values, such as S and Z, might require additional setup in the UDC table.

szJournalDBATaxExemptCachePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

mnWorkersCompBenefitAmountWCBNMATH_NUMERICOPTNONE

This is the insured benefit amount that is pro-rated to a timecard. It is calculated during payroll journal entries. Benefits that are insurable by 
workers' compensation are pro-rated over timecards that have a pay type in the DBA's basis of calculation; providing the pay type is also 
insurable by workers' compensation. If a benefit is based on another benefit (instead of a pay type) it is pro-rated over all timecards that have 
an insured pay type.

szJournalsHandleCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

Related Functions

None

Related Tables

None
GetCompanyFiscalYearPeriod

GetCompanyFiscalYearPeriod

Create Payroll Journals

Minor Business Rule

Object Name: N0700006

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description
Get Company and Fiscal Year Period


Purpose

This NER is call from several other funtions to go out and retreive the Company, Fiscal Year and 

Period Number from the F0006 and F0008.


Setup Notes and Prerequisites


Special Logic


Technical Specifications

Get Company and Fiscal Year and Period and Jounals:


If this is function was NOT called from the Process Time Card Funtion

  If Journal Date is equal to  

    Assign Journal Date equal to Check Date

  End If

  Get Company Using the Derived AAI Cost Center From the F0006.

  Get Fiscal Year and Period Number From F0008


Else


  If Override Date is not equal to  

    Make Journal Date equal to Override Date

  End If


  If Payroll Expense Journal Code is equal to "1" 

    Make Journal Date equal to Date Worked

  End If


  If Payroll Expense Journal Code is equal to "2" or "3" 

    Make Journal Date equal to Pay Period Ending Date

  End If


  Get Company  Using the Derived AAI Cost Center from F0006

  Get Fiscal Year and Period Number From F0008


  If Payroll Expense Journal Code is equal to "3" 

  And the Override Date is equal to  

    Subtract 1 to the Period No. 

    If Previous Period No is equal to  

      Put 12 into the Previous period Number

      Subtract 1 from the Year to Get the Year for the Previous Period.

      If the Previous Year is less than  

        PreviousYear = 99

      End If

    End If

    Get Fiscal Year and Period Number From F0008 for previous Period and Year.

  End If


End If

Data Structure

DN0700006D - Get Company and Fiscal Year and Period and Journal Date

Parameter NameData ItemData TypeReq/OptI/O/Both
cTimeCardorOtherJournalProcessEV01charOPTNONE

An option that specifies the type of processing for an event.

szAAICostCenterMCUcharOPTNONE

An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit 
might be a warehouse location, job, project, work center, branch, or plant. You can assign a business unit to a document, entity, or person for 
purposes of responsibility reporting. For example, the system provides reports of open accounts payable and accounts receivable by 
business unit to track equipment by responsible department. Business unit security might prevent you from viewing information about business units 
for which you have no authority.

mnCheckControlNumberCKCNMATH_NUMERICOPTNONE

A number used to group all payroll transactions for each payment or individual interim payment. This number is carried into the accounting 
journal entries and facilitates the update of the actual check number after payment printing is complete. This number is also used for 
automatically voiding payments. The payment work table contains both the actual check number and the check control number. All associated 
payment transactions are automatically reversed using the check control number. This is not the actual check number.

jdDatePayCheckCKDTJDEDATEOPTNONE

The date associated with the various types of net pay instructions. This date relates to a payroll check, an interim payment, a bank 
automatic-deposit advice slip, a payslip (cash), or a claim reimbursement.

jdPayrollVersionCheckdateCKDTJDEDATEOPTNONE

The date associated with the various types of net pay instructions. This date relates to a payroll check, an interim payment, a bank 
automatic-deposit advice slip, a payslip (cash), or a claim reimbursement.

jdTimeCardDateWorkedDWKJDEDATEOPTNONE

The date used as the actual work date or pay-period ending date.

jdTimeCardDatePayPeriodEndingPPEDJDEDATEOPTNONE

The last day of a processing period (pay period, month, quarter or year).

cPayrollExpenseJournalCodeJCTYcharOPTNONE

This code determines the G/L date for labor and burden entries. Document types T2 and T4 are used to record labor and T3 is used to 
record burden.    1   Work Date.  The G/L date is the timecard work date.    2   Period Ending Date.  The G/L date is the pay period end date for the 
payroll cyle currently being run.    3   Cost Period.  The G/L date is the end of the accounting fiscal period for timecards with a work date in the 
prior period;  and the G/L date is the pay period end date for timecards in the current period.

jdDtOverrideDateDWKJDEDATEOPTNONE

The date used as the actual work date or pay-period ending date.

szCompanyCOcharOPTNONE

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.

mnPeriodNoGeneralLedgePNMATH_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.

mnFiscalYear1FYMATH_NUMERICOPTNONE

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.

mnCenturyCTRYMATH_NUMERICOPTNONE

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 
(1998, 1999), 20 indicates any year beginning with 20 (2000, 2001), and so on.

jdDtJournalDateDWKJDEDATEOPTNONE

The date used as the actual work date or pay-period ending date.

Related Functions

None

Related Tables

None
ProcessTimeCards

ProcessTimeCards

Create Payroll Journals

Minor Business Rule

Object Name: N0700006

Parent DLL: CPAY

Location: Client/Server

Language: NER

Functional Description

Purpose


Setup Notes and Prerequisites


Special Logic




Technical Specification




Data Structure

DN0700006G - Process Time Cards

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICOPTNONE

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

mnCheckControlNumberCKCNMATH_NUMERICOPTNONE

A number used to group all payroll transactions for each payment or individual interim payment. This number is carried into the accounting 
journal entries and facilitates the update of the actual check number after payment printing is complete. This number is also used for 
automatically voiding payments. The payment work table contains both the actual check number and the check control number. All associated 
payment transactions are automatically reversed using the check control number. This is not the actual check number.

szEeCompanyHomeHMCOcharOPTNONE

The company number where the employee records generally reside.

szEeCostCenterHomeHMCUcharOPTNONE

The number of the business unit in which the employee generally resides.

szVoidCheckCompanyHomeHMCOcharOPTNONE

The company number where the employee records generally reside.

szVoidCheckCostCenterHomeHMCUcharOPTNONE

The number of the business unit in which the employee generally resides.

jdCheckDateCKDTJDEDATEOPTNONE

The date associated with the various types of net pay instructions. This date relates to a payroll check, an interim payment, a bank 
automatic-deposit advice slip, a payslip (cash), or a claim reimbursement.

jdPayrollVersionCheckDateDWKJDEDATEOPTNONE

The date used as the actual work date or pay-period ending date.

szPayrollJournalCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szCompressionRuleCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

mnLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

cBurdenDistrRuleBDRcharOPTNONE

A code that determines how the system handles burden journal entries. Actual burden expenses are initially grouped into burden clearing 
accounts in the T1 section of the P/R journals. The user has the option of relieving these clearing entries and distributing burden expense 
based on where the direct labor was charged. This distribution of burden expense is done in the T3 section of the P/R journals. The user also 
has the option of creating a fixed audit trail for how each component of burden was distributed per individual timecard. This detail audit trail is 
maintained in the F0624 file, which is used by the Payroll system to produce Job Billing Registers. The rule codes listed below control the 
process:     0 Do not create T3 Burden Expense entries for the Business Unit. 1 Create T3 Burden Expense entries but not the F0624 audit 
records. 2 Create T3 Burden Expense entries and associated F0624 audit records. 3 Same as 1 but reverse out the Flat Burden posted thru Daily 
Post. 4 Same as 2 but reverse out the Flat Burden posted thru Daily Post.

cBurdenOverrideRuleBDROcharOPTNONE

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.

cLaborPremiumDistrSPRcharOPTNONE

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.

cPayrollExpenseJournalCodeEV01charOPTNONE

An option that specifies the type of processing for an event.

jdOverrideGlDateCKDTJDEDATEOPTNONE

The date associated with the various types of net pay instructions. This date relates to a payroll check, an interim payment, a bank 
automatic-deposit advice slip, a payslip (cash), or a claim reimbursement.

cCopyLaborHrsToPremiumLbrEV01charOPTNONE

An option that specifies the type of processing for an event.

mnBurdenLineNumberLNIDMATH_NUMERICOPTNONE

A number that identifies multiple occurrences, such as line numbers on a purchase order or other document. Generally, the system assigns 
this number,but in some cases you can override it.

mnBatchNumberICUMATH_NUMERICOPTNONE

A number that identifies a group of transactions that the system processes and balances as a unit. When you enter a batch, you can either 
assign a batch number or let the system assign it using the Next Numbers program.

szJournalTaxCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalDBACacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalTimecardCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalWCCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalWCAccumCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalKeyCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szF07210CompanyCOcharOPTNONE

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.

cTaxProcessKeyEV01charOPTBOTH

An option that specifies the type of processing for an event.

cOverrideCompressionRuleEV01charOPTNONE

An option that specifies the type of processing for an event.

mnWeeksWorkedWKSMATH_NUMERICOPTNONE

Weeks Worked

szCountryForPayrollCCPRcharOPTNONE

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

cIntercompanyFlagPEF1charOPTNONE

A code that determines where intercompany settlements are generated. You can enter 1 in this field to specify the intercompany 
settlements to be generated through the Payroll system before they are posted to the General Ledger. Or you can enter 0 to specify the settlements to 
be generated through the General Ledger system, not the Payroll system. If you leave this field blank, 0 is the default value.

szAAAPayrollJournalCache_PIDPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

jdDateUpdated_UPMJUPMJJDEDATEOPTNONE

The date that specifies the last update to the file record.

mnTimeLastUpdated_UPMTUPMTMATH_NUMERICOPTNONE

The time that specifies when the program executed the last update to this record.

szProgramID_PIDPIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szWorkStationID_JOBNJOBNcharOPTNONE

The code that identifies the work station ID that executed a particular job.

szUserID_USERUSERcharOPTNONE

The code that identifies a user profile.

szWCTaxTypeCode_RTRTcharOPTNONE

A code that identifies the table that contains user defined codes. The table is also referred to as a UDC type.

cDoNotCreateJournalDetailsEV01charOPTNONE

An option that specifies the type of processing for an event.

mnPayrollJournalVersionCouPJVCMATH_NUMERICOPTNONE

A field that identifies the number of versions of payroll journal entries that was launched using multiple version processing.

szJournalDetailCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szF07210PayCycleCodePCCDcharOPTNONE

A code that identifies the values for a master payroll cycle.

jdF07210DateBeginningEffEFTBJDEDATEOPTNONE

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. 

jdF07210DateEndingEffEFTEJDEDATEOPTNONE

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.

szJournalTaxableAmountCachePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

szJournalDBATaxExemptCachePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

cUseEqptWorkedAssetIdForT5EDEV01charOPTNONE

An option that specifies the type of processing for an event.

szJournalsHandleCacheNamePIDcharOPTNONE

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

Related Functions

None

Related Tables

None