BufferedInsertToF07241

Payroll Journal Cache

Minor Business Rule

Object Name: B0500023

Parent DLL: CFND

Location: Client/Server

Language: C

Data Structure

D0500023E - DS for Buffered Insert to F07241

Parameter NameData ItemData TypeReq/OptI/O/Both
mnPayrollTransactionNoPRTRMATH_NUMERICOPTNONE

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.

mnUniqueKeyIDUKIDMATH_NUMERICOPTNONE

This field is a unique number used to identify a record in a file.

jdDateWorkedDWKJDEDATEOPTNONE

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

mnAddressNumberAN8MATH_NUMERICOPTNONE

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

mnBatchNumberGICUMATH_NUMERICOPTNONE

The batch number which has been assigned to the group of Journal Entries generated in the Payroll System. This number ties the entries 
together all of the way through Final Update and into the General Ledger Post program.

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

szTaxTypePTAXcharOPTNONE

A code that specifies the type of payroll tax being processed. This is a user defined code (07/TX). To set up state minimum wage amounts, 
you must enter MW in this field. To do so, you must first add MW to UDC 07/TX. However, you should not change the codes and definitions 
that J.D. Edwards provides with the software.

szFringeTypeFRTYcharOPTNONE

A code that represents the type of transaction for which an account is to be derived.

mnBurdenRateB2RTMATH_NUMERICOPTNONE

The rate to be applied to the 'variable' portion of burden.

mnBurdenAmountBDAMATH_NUMERICOPTNONE

The total amount of burden, by type, pertaining to the labor distribution account.

szCostCenterMCUcharOPTNONE

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.

szObjectAccountOBJcharOPTNONE

The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into 
subcategories. For example, you can divide the Cost Code for labor into regular time, premium time, and burden. Note: If you use a flexible chart of 
accounts and the object account is set to 6 digits, J.D. Edwards recommends that you use all 6 digits. For example, entering 000456 is not 
the same as entering 456 because if you enter 456 the system enters three blank spaces to fill a 6-digit object.

szSubsidiarySUBcharOPTNONE

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

szSubledgerSBLcharOPTNONE

A code that identifies a detailed, auxiliary account within a general ledger account. A subledger can be an equipment item number or an 
address book number. If you enter a subledger, you must also specify the subledger type.

cSubledgerTypeSBLTcharOPTNONE

A user defined code (00/ST) that is used with the Subledger field to identify the subledger type and how the system performs subledger 
editing. On the User Defined Codes form, the second line of the description controls how the system performs editing. This is either hard-coded 
or user defined. Valid values include: A Alphanumeric field, do not edit   N Numeric field, right justify and zero fill   C Alphanumeric field, right 
justify and blank fill  

cBurdenSummaryBRDScharOPTNONE

A code which specifies how the record(s) are to be summarized into the respective file or files.        Historical Payroll Register - See User 
Define Code 06/SU

szCategoriesWorkOrderWR01charOPTNONE

A user defined code (00/W1) that indicates the current stage or phase of development for a work order. You can assign a work order to only 
one phase code at a time. Note: Certain forms contain a processing option that allows you to enter a default value for this field. If you enter a 
default value on a form for which you have set this processing option, the system displays the value in the appropriate fields on any work 
orders that you create. The system also displays the value on the Project Setup form. You can either accept or override the default value.

mnHoursWorkedPHRWMATH_NUMERICOPTNONE

The number of hours associated with each transaction.

cMethodofCalculationDEDMcharOPTNONE

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.

jdDateUpdatedUPMJJDEDATEOPTNONE

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

mnTimeLastUpdatedUPMTMATH_NUMERICOPTNONE

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

szProgramIdPIDcharOPTNONE

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.

szWorkStationIdJOBNcharOPTNONE

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

szUserIdUSERcharOPTNONE

The code that identifies a user profile.

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.

Related Functions

B0000206 AA, Get Display Decimal Value from DD
B9800100 Get Audit Information
N0500017 Retrieve PDBA Description & PDBA Type
N0500160 Get Alpha Name From Address Book
N0700120 Create T6 Accrual and Deferral Records
N0700121 Adjust Last T6 Record
N0800031 Get UDC Description
XX0901 Validate Account Number

Related Tables

F05290 WF - Payroll Journal (Detail)
F063951 Payroll Journal (Compressed) File
F06914 Accounting Summarization Rules File
EndPayrollJournalCache

EndPayrollJournalCache

Payroll Journal Cache

Minor Business Rule

Object Name: B0500023

Parent DLL: CFND

Location: Client/Server

Language: C

Functional Description

Purpose


This function is responsible for flushing information in the Payroll Journal Cache and writing these 

Pro-Forma journal entries to the Compressed Payroll Journal Workfile (F063951).


Setup Notes and Prerequisites

The InitPayrollJournalCache and and WritePayrollJournalCache functions must be called before calling 
this function. 


Special Logic


None






Data Structure

D0500023C - DS for End Payroll Journal Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
mnBatchNumberICUMATH_NUMERICNONENONE

Special Input Expected

Should pass batch number of batch being processed.


^

szPayrollJournalCacheNamePIDcharNONENONE

Special Input Expected

Should pass Payroll Journal Cache Name that is returned by InitializePayrollJournalCache function.




^

szCompressionRulesCacheNameJOBNcharNONENONE

Special Input Expected

Should pass Compression Rules Cache Name that is returned by InitializePayrollJournalCache function.




^

mnAmountDocumentsEnteredDOCNMATH_NUMERICNONENONE

Special Output Returned

Function returns the number of documents processed for a given batch to the calling program.


^

mnAmountEnteredAMEMATH_NUMERICNONENONE

Special Output Returned

Function returns the amount of the batch to the calling program.



^

mnAccrualFactorMATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

cEndCacheModeEV01charOPTNONE

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

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

cProcessMultipleVersions_EV01EV01charOPTNONE

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.

mnVersionNumber_MATH01MATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

szCompanyHomeHMCOcharOPTNONE

The company number where the employee records generally reside.

Related Functions

B0000206 AA, Get Display Decimal Value from DD
B9800100 Get Audit Information
N0500017 Retrieve PDBA Description & PDBA Type
N0500160 Get Alpha Name From Address Book
N0700120 Create T6 Accrual and Deferral Records
N0700121 Adjust Last T6 Record
N0800031 Get UDC Description
XX0901 Validate Account Number

Related Tables

F05290 WF - Payroll Journal (Detail)
F063951 Payroll Journal (Compressed) File
F06914 Accounting Summarization Rules File
InitializePayrollJournalCache

InitializePayrollJournalCache

Payroll Journal Cache

Minor Business Rule

Object Name: B0500023

Parent DLL: CFND

Location: Client/Server

Language: C

Functional Description


Purpose


The purpose of this business function is to initialize the F063951 Cache for subsequent use by the 

ProcessPayrollJournalDetail and EndPayrollJournal functions.


The function loads the Payroll Summarization Rules (F06904) file into cache so that these rules may 

be easily accessed when writing the Pro-Forma journal entries to cache.


Setup Notes and Prerequisites


This function must to be called before calling ProcessPayrollJournalDetail and EndPayrollJournal. 

Therefore, it typically should be called in the Initialize Section event of the calling batch program 

(UBE).



Special Logic


None





Data Structure

D0500023A - DS for Initialize Payroll Journal Cache

Special Input Expected
DELETE THIS SECTION IF IT DOES NOT APPLY.


Special Output Returned

DELETE THIS SECTION IF IT DOES NOT APPLY.


Significant Data Values

x - xxxxxxxxxxxxx

x - xxxxxxxxxxxxx

x - xxxxxxxxxxxxx

DELETE THIS SECTION IF IT DOES NOT APPLY.



^

Parameter NameData ItemData TypeReq/OptI/O/Both
mnJobNumberAJOBSMATH_NUMERICNONENONE

Special Output Returned

The job number is retrieved from Next Numbers and used to create a unique cache name.



^

szPayrollJournalCacheNamePIDcharNONENONE

Special Output Returned

This is the name of the Payroll Journal Cache.  This value MUST be passed to WritePayrollJournalCache 

and EndPayrollJournalCache.


Significant Data Values


This value MUST be passed to WritePayrollJournalCache and EndPayrollJournalCache.



^

szCompressionRulesCacheNameJOBNcharNONENONE

Special Output Returned

This is the name of the Compression Rules cache.  This value MUST be passed to 

WritePayrollJournalCache and EndPayrollJournalCache.


Significant Data Values


This value MUST be passed to WritePayrollJournalCache and EndPayrollJournalCache.



^

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.

mnVersionNumber_MATH01MATH01MATH_NUMERICOPTNONE

- - - Good Performance Low Value. 

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.

Related Functions

B0000206 AA, Get Display Decimal Value from DD
B9800100 Get Audit Information
N0500017 Retrieve PDBA Description & PDBA Type
N0500160 Get Alpha Name From Address Book
N0700120 Create T6 Accrual and Deferral Records
N0700121 Adjust Last T6 Record
N0800031 Get UDC Description
XX0901 Validate Account Number

Related Tables

F05290 WF - Payroll Journal (Detail)
F063951 Payroll Journal (Compressed) File
F06914 Accounting Summarization Rules File
WriteCompressedPayrollJrnlCache

WriteCompressedPayrollJrnlCache

Payroll Journal Cache

Minor Business Rule

Object Name: B0500023

Parent DLL: CFND

Location: Client/Server

Language: C

^

Data Structure

D0500023B - DS for Write Compressed Payroll Journal Cache

Parameter NameData ItemData TypeReq/OptI/O/Both
szCostCenterMCUcharNONENONE

Special Input Expected

Should pass the Payroll Timecard Business Unit.





^

szObjectAccountOBJcharNONENONE

Special Input Expected

Should pass the Timecard Object Account.

^

szSubsidiarySUBcharNONENONE

Special Input Expected

Should pass the Timecard Object Subsidiary.

^

szSubledgerSBLcharNONENONE

Special Input Expected

Should pass the Timecard Subledger.




^

szCategoriesWorkOrder001WR01charNONENONE

Special Input Expected

Should pass the Timecard Categories Work Order.

^

cSubledgerTypeSBLTcharNONENONE

Special Input Expected

Should pass the Timecard Subledger Type.

^

szEquipmentWorkedPayrollEQCGcharNONENONE

Special Input Expected

Should pass the Timecard Equipment Worked Payroll.



^

mnCenturyCTRYMATH_NUMERICNONENONE

Special Input Expected

Should pass the Century based on the period being used.





^

mnFiscalYear1FYMATH_NUMERICNONENONE

Special Input Expected

Should pass the Fiscal Year based on the period being used.



^

mnPeriodNoGeneralLedgePNMATH_NUMERICNONENONE

Special Input Expected

Should pass the Period Number based on the period being used.



^

jdDateForGLandVoucherJULIADGJJDEDATENONENONE

Special Input Expected

Should pass the appropriate G/L Date.  

^

szDocumentTypeDCTcharNONENONE

Special Input Expected

Should pass the Timecard Document Type.






^

szPayrollJournalErrorPRJEcharNONENONE

Special Input Expected

Should pass the Timecard Payroll Journal Error.



^

mnPayDeductBenAccTypePDBAMATH_NUMERICNONENONE

Special Input Expected

Should pass the Timecard PDBA.


^

szJobCategoryJBCDcharNONENONE

Special Input Expected

Should pass the Timecard Job Category.



^

szJobStepJBSTcharNONENONE

Special Input Expected

Should pass the Timecard Job Step.



^

mnAddressNumberAN8MATH_NUMERICNONENONE

Special Input Expected

Should pass the Timecard Address Number.



^

mnLineNumberLNIDMATH_NUMERICNONENONE

Special Input Expected

Should pass the appropriate Line Number.  You MUST keep track of this value in the calling program.

^

szCompanyCOcharNONENONE

Special Input Expected

Should pass the Timecard Company.





^

szNameAlphaALPHcharNONENONE

Special Input Expected

Should pass the Timecard Alph Name.




^

szPayrollJournalCacheNamePIDcharNONENONE

Special Input Expected

Should pass the Payroll Journal Cache Name that is returned from the InitializePayrollJournalCache 

function.



^

szCompressionRulesCacheNameJOBNcharNONENONE

Special Input Expected

Should pass the Compression Rules Cache Name that is returned from the InitializePayrollJournalCache 

function.


^

mnAmountAAMATH_NUMERICNONENONE

Special Input Expected

Should pass the Timecard Gross Pay.



^

mnUnitsUMATH_NUMERICNONENONE

Special Input Expected

Should pass the Timecard Units.




^

szNameRemarkExplanationEXRcharNONENONE

Special Input Expected

Should pass the Timecard Name - Remark.



^

szKeyedAccountNumberANIcharOPTNONE

A value that identifies an account in the general ledger. Use one of the following formats to enter account numbers:   o  Standard account 
number (business unit.object.subsidiary or flex format).   o  Third G/L number (maximum of 25 digits).   o  Account ID number. The number is eight 
digits long.       o  Speed code, which is a two-character code that you concatenate to the AAI item SP. You can then enter the code instead of 
an account number. The first character of the account number indicates its format. You define the account format in the General Accounting 
constants. 

cDynamicAccountFieldEV01charOPTNONE

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

cOverrideCompressionRuleEV01charOPTNONE

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

szBaseCurrencyCodeCRDCcharOPTNONE

A code that identifies the domestic (base) currency of the company on a transaction. 

szTransactionCurrencyCodeCRCDcharOPTNONE

A code that identifies the currency of a transaction. 

mnAmountCurrencyACRMATH_NUMERICOPTNONE

The foreign currency amount entered on the transaction. If the Multi-Currency Conversion option on the General Accounting constants is set 
to Y, the foreign amount is multiplied by the exchange rate to arrive at the domestic amount. If the Multi-Currency Conversion option is set to Z, 
the foreign amount is divided by the exchange rate.

mnCurrencyConverRateCRRMATH_NUMERICOPTNONE

A number (exchange rate) that a foreign currency amount is multiplied by to calculate a domestic currency amount.  The number in this field 
can have a maximum of seven decimal positions. If more are entered, the system adjusts to the nearest seven decimal positions. 

cRechargeModeRCHGMODEcharOPTNONE

A code that specifies which amount, for recharge records, is the fixed amount and is not susceptible to currency fluctuations. Valid values 
are: 0 The amount in the home business unit currency is the fixed amount. 1 The amount in the recharge job currency is the fixed amount. Note: 
This code does not apply to other payroll records. For example, for document type T2, the home business unit currency is the fixed amount.

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.

mnBillRateBRTMATH_NUMERICOPTNONE

A rate that the system uses to mark up the revenue amount reflected in the billing of professional services such as draftsmen, engineers, or 
consultants. This rate does not affect the employee's paycheck. You can use the markup rate as an override rate or as a maximum rate. The 
calculation of the rate override for the total revenue markup is as follows: (Rate Override * Unit) * (1 + Markup Percent) + Markup 
Amount When you specify a maximum or cap rate, the system compares the rate override with the rate from the cost transaction. The system then uses 
the lower rate as the override rate. You set up the override or maximum unit rate using the Billing Rate / Markup Table program (P48096). Within 
the Service Billing and Contract Billing systems, you can mark up the revenue amount at a different rate from the invoice amount. The 
Independent Revenue/Invoice Amounts option in the Billing System Constants table (F48091) controls this function. Use generation type 1 to 
specify a table for invoice, revenue, and component markup rates and use generation type 2 to specify a table for revenue and component 
markup rates. Use generation type 1 to specify the invoice, revenue, and component markup rates only when the Independent Revenue/Invoice 
Amounts are set to not equal in the Billing Constants.

mnNewBillRateBRTMATH_NUMERICOPTNONE

A rate that the system uses to mark up the revenue amount reflected in the billing of professional services such as draftsmen, engineers, or 
consultants. This rate does not affect the employee's paycheck. You can use the markup rate as an override rate or as a maximum rate. The 
calculation of the rate override for the total revenue markup is as follows: (Rate Override * Unit) * (1 + Markup Percent) + Markup 
Amount When you specify a maximum or cap rate, the system compares the rate override with the rate from the cost transaction. The system then uses 
the lower rate as the override rate. You set up the override or maximum unit rate using the Billing Rate / Markup Table program (P48096). Within 
the Service Billing and Contract Billing systems, you can mark up the revenue amount at a different rate from the invoice amount. The 
Independent Revenue/Invoice Amounts option in the Billing System Constants table (F48091) controls this function. Use generation type 1 to 
specify a table for invoice, revenue, and component markup rates and use generation type 2 to specify a table for revenue and component 
markup rates. Use generation type 1 to specify the invoice, revenue, and component markup rates only when the Independent Revenue/Invoice 
Amounts are set to not equal in the Billing Constants.

Related Functions

B0000206 AA, Get Display Decimal Value from DD
B9800100 Get Audit Information
N0500017 Retrieve PDBA Description & PDBA Type
N0500160 Get Alpha Name From Address Book
N0700120 Create T6 Accrual and Deferral Records
N0700121 Adjust Last T6 Record
N0800031 Get UDC Description
XX0901 Validate Account Number

Related Tables

F05290 WF - Payroll Journal (Detail)
F063951 Payroll Journal (Compressed) File
F06914 Accounting Summarization Rules File