LaunchPrePayrollDriver

Launch Pre-Payroll Driver

Minor Business Rule

Object Name: B0700038

Parent DLL: CPAY

Location: Client/Server

Language: C

Functional Description

Purpose

The purpose of the Launch PrePayroll Driver function is generically launch all versions that have 
been created for the Pre-Payroll UBE (R07200).


Setup Notes and Prerequisites



Special Logic

None


Technical Specification

• Reads the Versions List (F983051) table to retrieve the processing options for the version passed to 
the function.

• Call jdeLaunchUBE to launch the program and version passed to the function.  Pass the Payroll ID to 
the program being launched. 


^

Data Structure

D0700038 - DS for Launch Pre-Payroll Driver

Parameter NameData ItemData TypeReq/OptI/O/Both
szPrePayrollProgramPIDcharREQINPUT

Special Input Expected
Value from Pay Cycle Parameters (F07210).

THIS IS A REQUIRED FIELD.


Special Value Returned
^

szPrePayrollVersionVERScharREQINPUT

Special Input Expected
Value from Pay Cycle Parameters (F07210).

THIS IS A REQUIRED FIELD.


Special Value Returned
^

szPayrollIDPAYDcharREQINPUT

Special Input Expected
Value from Pay Cycle Parameters (F07210).

THIS IS A REQUIRED FIELD.


Special Value Returned
^

mnOverPaymentValuePDBAMATH_NUMERICOPTNONE

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.

cReturnCodeEV01charOPTNONE

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

szVersionTimeEntryVERSTEcharOPTNONE

Use this processing option to indicate the version of the Time Entry Master Business Function (P050002A) that you want to use to process 
timecards. If you leave this processing option blank, the system uses the default version, ZJDE0001. A version is a user-defined set of 
specifications. These specifications control how applications and reports run. You use versions to group and save a set of user-defined processing 
option values, data selection options, and data sequencing options. Interactive versions are associated with applications (usually as menu 
selections). Batch versions are associated with batch jobs or reports. To run a batch process, you must choose a version.

szFromPayroll_PAYDPAYDcharOPTNONE

A code that identifies a group of employees for whom you are processing payroll. Use this ID to process each step of the payroll 
cycle. This code is also used to identify the interim ID that you select when you enter interim payments.

szThruPayroll_PAYDPAYDcharOPTNONE

A code that identifies a group of employees for whom you are processing payroll. Use this ID to process each step of the payroll 
cycle. This code is also used to identify the interim ID that you select when you enter interim payments.

szServerName_DL30DL30charOPTNONE

A description, remark, name or address.

cCalledFromFlag_EV01EV01charOPTNONE

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

cExpenseDistribCode_JCTYJCTYcharOPTNONE

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.

cCreateJEsInFullDetail_EV01EV01charOPTNONE

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

jdOverrideAcctgDate_AGDTAGDTJDEDATEOPTNONE

The date on which the payroll-accounting journal entries are created. This date is the payment date unless you override it.

cAccountsPayableInteg_IAPIAPcharOPTNONE

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.

cRunAccountsPayableInt_APINAPINcharOPTNONE

A code that allows you to rerun A/P integration without rerunning pay period journals. This code is typically associated with a checkbox. 
Valid values are:    0  (Unchecked) - Run pay period journals and accounts payable integration.    1  (Checked) - Run accounts payable 
integration only.

cWAInvoiceDate_ARSTARSTcharOPTNONE

A code that specifies whether the invoice date on the voucher is the payroll check date or the pay period end date.  When the Accounts 
Payable system prints the payment for the payee, the system can print the invoice date on the check stub. The system fills the invoice date only 
for wage attachments.  This feature is useful when the payee uses the employee's pay schedule to track payments.  Values are:   Blank  
Create the voucher with check date in the invoice date field.  The invoice number will be the concatenation of the payroll ID, time, and voucher 
transaction number.   C  Create the voucher with check date in the invoice date field. The invoice number will be the concatenation of the check 
date, time, and voucher transaction number.  P  Create the voucher with pay-period end date in the invoice date field. The invoice number will 
be the concatenation of the pay-period end date, time, and voucher transaction number. 

cSeparateBatchForDBAsTax_APVBAPVBcharOPTNONE

A code that specifies whether to separate DBA vouchers and tax vouchers into two batches. This code is useful when your payment 
schedule for taxes requires you to approve and post the batch to accounts payable at a much earlier date than DBAs (or vice versa). This code is 
typically associated with a checkbox. Valid values are:    0 (Unchecked) - Create one batch for both DBA vouchers and tax vouchers.    1 
(Checked) - Create two batches, one for DBA vouchers and one for tax vouchers.

mnAccrualFactorRate_ACCFACCFMATH_NUMERICOPTNONE

The accrual factor applies to payroll expenses and is normally used during a transition pay period where all timecards are entered with a 
work date equal to the pay period end date. In this case, you can use the accrual factor (for example, 25 for 25%) to accrue a portion of payroll 
expenses in the previous month and defer the expense in the following month.

Related Functions

None

Related Tables

F983051 Versions List