Preparing and Posting Accounting Lines from Global Payroll to General Ledger

Page Name

Definition Name

Usage

Send Costs to GL Page

GP_GL_PREPARE

Create payroll accounting lines in the GP Accounting Line table.

Transactions without Account Page

GP_GL_NO_ACCT

View transactions that were not assigned a General Ledger account by the calculate phase of the GL Transaction Creation Application Engine process.

Finalize Costs for GL Page

HPIP_GP_FINALIZE

Prepare the accounting lines for posting and post them to General Ledger.

View GL Transaction Status Page

HPIP_PRCS_STAT

View the transaction status of the posting process.

View Process Parameters Page

HPIP_PRCS_PAR_SEC

View a summary of the process instance information and view the parameters used to run the process that generated the process instance.

View Detail Transactions Page

HPIP_PRCS_SEG_SEC

View log information generated for each segment.

View Transaction Parameters Page

HPIP_SEG_PAR_SEC

View a summary of the segment information and view the GL business unit for which the segment was posted.

View Accounting Line Data Page

HPIP_PRCS_DATA_SEC

View a summary of the accounting line data that was posted by the process.

Process Message Log Page

HPIP_PRCS_MSG_SEC

View messages generated during the Application Engine process. The information on this page matches that provided by the View Messages functionality in Process Monitor.

Reset GL Page

GP_GL_RESET

Run the GL Reset process before rerunning the GL Transaction Creation process when reposting is necessary due to errors.

After you process payroll in Global Payroll, you can create the accounting lines and post them as journal entries to General Ledger. A journal entry typically consists of header and line data.

You must first synchronize the market exchange rates between the financials system and the payroll system if your data involves multiple currencies.

The posting framework posts summary GL transactions grouped by GL business unit (Business_Unit_GL). As part of the posting, an Application Engine process prepares the data, creates the message, and sends to the node that is specified for the GL business unit.

The Integration Server loads the data into the EnterpriseOne Journal Entry Transactions − Batch File table (F0911Z1). The Integration Server sends a reply message stating whether the transactions sent by Global Payroll were successfully posted and loaded into table F0911Z1.

After the data has been loaded into table F0911Z1, you run a batch process to validate the data and to insert the records into the Account Ledger table (F0911). You then post the transactions from table F0911 to the Account Balances table (F0902) just as you would post any other transactions.

If the payroll transactions contain errors in the data, you can:

  • Manually correct errors in table F0911Z1 before loading transactions to table F0911.

  • Purge table F0911Z1 before loading transactions to table F0911, then reset and rerun the Global Payroll process to post the transactions to General Ledger.

    See Handling Data Errors in Batch Posting.

This topic discusses:

  • Steps for creating and sending Global Payroll accounting lines.

  • The posting process.

  • The reset process.

Steps for Creating and Sending Global Payroll Accounting Lines

These are the steps for creating accounting lines in Global Payroll and sending them to General Ledger:

  1. Calculate and finalize payroll.

  2. Run the GL Transaction Creation Application Engine process (GP_GL_PREP) with the Calculate option selected to generate the payroll accounting lines on the GP Accounting Line table (GP_ACC_LINE).

    Note: Do not run the process using the Finalize option. When you select a calendar group ID that integrates with EnterpriseOne, the page does not display the Finalize option.

  3. View the Transactions w/o Account (transactions without account) page to check for amounts not associated with accounts and make corrections as necessary.

  4. If corrections were made, rerun the GL Transaction Creation process with the Calculate option selected.

  5. Run the Finalize Costs for GL Application Engine process (HI_GP_POST) to post the journal entries to General Ledger.

  6. Check the status of the posting process in the Process Scheduler process monitor.

  7. Check the status of the transaction on the View GL Transaction Status page.

  8. If for any reason it is necessary to correct account data after it has been posted:

    1. Run the GL Reset Process Application Engine process (GP_GL_RESET).

    2. Make data corrections.

    3. Repeat steps two through five.

Posting Process Description

When you run the Finalize Costs for GL process, the system performs the following processing steps:

  1. Determines the cost center:

    • Determines the controlling area and cost center according to the mapping table setup.

    • Writes the controlling area to chartfield 7 on the accounting line.

    • Writes the cost center to chartfield 8 on the accounting line.

  2. Checks debit and credit balances if the balancing option is selected:

    If they do not match, creates a suspense entry if a suspense account is defined for the GL business unit or generates an error without posting accounting lines if the suspense account option is not selected or the account is not defined.

    If the foreign total amount nets to zero and domestic total amount does not, it assumes rounding differences due to currency conversion and forces the domestic amount to net to zero.

  3. Creates a separate posting for each GL business unit.

    Each posting is divided into segments according to the chunking limit that is configured on the Target Products page. The segmentation requires definition of the clearing accounts for the GL business unit. If no chunking limit is set for the target product, the program does not segment the postings; in this case it does not check for clearing accounts. Each segment is sent with the GP_POST_GL XML message.

Reset Process Description

If the transactions sent to General Ledger are later found to have errors, you might have to run the GL Reset process and repost the transactions.

The GL Reset process:

  • Deletes all rows on the Global Payroll Accounting Line Staging table (PS_GP_ACC_LINE_STG), which is invoked during the Finalize Costs for GL process and is the source record for the posting process.

  • Resets the GL Finalized indicator fields to not finalized on both the Completed GL Stream table (PS_GP_GL_PREP_STRM) and the Calendar Run Definition table (PS_GP_CAL_RUN).

    You must run the GL Reset process before rerunning the GL Transaction Creation process and reposting for the calendar group ID.

Use the Send Costs to GL page (GP_GL_PREPARE) to create payroll accounting lines in the GP Accounting Line table.

Navigation:

Global Payroll & Absence Mgmt > Time and Labor / GL Costs > Send Costs to GL > Send Costs to GL

Note: Do not run the process using the Finalize option for the integration with General Ledger; the Finalize option is not available if the selected calendar group ID integrates with EnterpriseOne. Use the GL Finalize for E1 page to finalize the GL processing.

See Send Costs to GL Page.

Use the Finalize Costs for GL page (HPIP_GP_FINALIZE) to prepare the accounting lines for posting and post them to General Ledger.

Navigation:

Global Payroll & Absence Mgmt > Time and Labor / GL Costs > Finalize Costs for GL

This example illustrates the fields and controls on the Finalize Costs for GL page.

Finalize Costs for GL page

Field or Control

Description

Override Indicator

Select to override the default balance options set for the target product on the Configure Target System page. The other fields in this group box are available for entry only if Override Indicator is selected.

Balance Accounting Lines

Select this check box if you want the system to calculate whether the debits equal the credits for each general ledger business unit.

Book to Suspense Account

This field is available for entry if you select Balance Accounting Lines.

Select Book to Suspense Account to post unbalanced amounts to a suspense account when the credits do not equal debits. If selected, you must specify a suspense account number on the Configure GL Business Unit page.

Checking the Process Status and Message Log

Even if the process runs successfully, there might be functional problems with validation, balancing, or chunking. To determine whether there are problems:

  1. Access Process Monitor.

  2. Enter criteria to filter the data displayed and click Refresh.

  3. Verify that the HI_GP_POST Application Engine process status is Success.

  4. Click Details for the process instance.

  5. Click Message Log.

    • Check for messages about errors.

    • If needed, identify the calendar group ID processed in the process instance.

Resolving Process Service Operations Monitor Log Errors for the Posting Process

Problem

Solution

Validation failure caused no accounting lines to be posted to general ledger even though the posting status is Success.

Correct the issue reported in the error message and rerun the posting process.

Balancing failure caused no accounting lines to be posted to general ledger even though the posting status is Success.

Verify that both of the following are true:

  • Book to Suspense Account is selected on the posting process run control page.

  • The suspense account is assigned on the Configure GL Business Unit page.

    Rerun the posting process after correcting the settings.

Chunking failure caused no accounting lines to be posted to general ledger even though the posting status is Success.

Verify that the clearing account is specified on the Configure GL Business Unit page.

Rerun the posting process after entering the clearing account.

Use the View GL Transaction Status page (HPIP_PRCS_STAT) to view the transaction status of the posting process.

Navigation:

Global Payroll & Absence Mgmt > Time and Labor / GL Costs > Review GL Transaction Status > View GL Transaction Status

This example illustrates the fields and controls on the View GL Transaction Status page.

View GL Transaction Status page

Note: As you continue to post accounting lines, the Transaction Status tables can grow significantly, since each posting process writes data to these tables. These tables are not automatically purged. To purge data from these tables, you can click the Delete button to delete one or more rows. After you delete a row on this page, the data displayed in the Process Parameters, Detail Transactions, and Accounting Line Data pages is also purged when you save the View GL Transaction Status page.

View Process Instance

Use the fields in this group box to select the process instances to view. The page automatically displays the process instances from the last day.

Field or Control

Description

User ID

Enter a user ID to view only process instances associated with that ID.

Process Instance

If you know the process instance numbers for the process instances you want to view, enter the numbers.

Last

Enter a quantity and then select the associated duration (days, hours, or minutes). If you want to see all results, select None.

Refresh

After you have entered criteria, click this button to refresh the information that appears Process List group box.

Process Instance Tab

The fields on this tab display the same information as the Process Monitor.

Transaction Status Tab

Select the Transaction Status tab.

This example illustrates the fields and controls on the View GL Transaction Status page: Transaction Status tab.

View GL Transaction Status page: Transaction Status tab

Field or Control

Description

Transaction Status

Displays the status of the overall posting transaction. A posting transaction can include multiple segments (or chunks). Each of these segments has a separate status value, which can be viewed on the View Detail Transactions page. The status of the overall transaction is Success if all segments have a status of Success. The status of the overall transaction is Error if one or more segments have a status of Error.

Values include:

Success

Error

Processing

Staged

Error Code

Displays the source of the error on the process level, if the posting transaction encountered an error. Values include:

Account Number Mismatch: The account number of one of the lines of the payroll transaction does not match an account number previously assigned and cross-referenced during the Account initial or incremental load. No insert into the Z1 staging table was attempted.

Inserting Error: The insert of the lines of the payroll transaction into the Z1 staging tables failed due to some problem, such as a primary key was omitted. No lines were inserted into the Z1 staging table.

Processing Error: An error occurred during the posting process or the subsequent message processing in Integration Broker. See the Process Monitor or the Service Operations Monitor for more information.

No Information Available: No information is available on the source of the error.

Validation Failed: One of the validations performed by the posting process has failed. See the Process Message Log page for more information.

Integration Broker Error: The message could not be sent by Integration Broker. Review the setup described in the Setting Up the Integration in the Enterprise Database topic to verify that it is complete and correct.

Segment Error: One of the segments of this posting has an error. See the View Detail Transactions page for more information.

Unknown Return Code: The return code sent by General Ledger could not be interpreted. See the Service Operation Monitor for more information on the return message.

Message Set, Number and Details

Displays a message that explains the status of the posting transaction. If there is a message set and number, click the Details link to view the associated message.

Transaction Details Tab

Select the Transaction Details tab.

This example illustrates the fields and controls on the View GL Transaction Status page: Transaction Details tab.

View GL Transaction Status page: Transaction Details tab

Each posting that exceeds the maximum number of accounting lines, as specified for the target product, is separated into multiple segments. Each segment is sent as an individual message by the Integration Broker. Use this page to view the status and information related to the individual segments.

Field or Control

Description

Process Parameters

Click to access the View Process Parameters page.

Message Log

Click to access the Process Message Log page.

Detail Transactions

Click to access the View Detail Transactions page.

Return Code Errors

If the return code on the View GL Transaction Status page is Account Number Mismatch or Inserting Error and no accounting lines were inserted into the Z1 staging table, follow this procedure:

  1. The finance office administrator locates and sends to the payroll office administrator the Enterprise process instance ID from the Transaction Number field on the Work With Store & Forward Journal Entries page.

  2. The payroll office administrator accesses the View GL Transaction Status page and searches for the affected process instance using the fields in the View Process Instance group box.

    Once the payroll office administrator locates the affected process instance, he or she should:

    1. Click the Transaction Details tab.

    2. Click Process Parameters.

    3. Note the affected calendar group ID from the View Process Parameters page.

  3. The payroll office administrator resets and reruns the general ledger processing for the calendar group ID.

Use the View Detail Transactions page (HPIP_PRCS_SEG_SEC) to view log information generated for each segment.

Navigation:

Click the Detail Transactions link on the View GL Transaction Status - Transaction Details tab.

This example illustrates the fields and controls on the View Detail Transaction page.

View Detail Transaction page

Field or Control

Description

Segment and Status

Displays the segment number and status for each segment.

Error Code

If an error occurred at the segment level, this field displays an error code identifying the problem.

Channel

Displays the queue on which the posting or rate request message was sent.

Pub ID (publication identifier)

Displays the publication identifier for the posting or rate request message.

Transaction Parameters

Click to view a summary of the segment information. You can also view the target system to which the posting was placed or from which the rates were retrieved.

IB Message Details

Click to open a new window displaying the Message Details page for the message instance of this segment.

Use the Reset GL page (GP_GL_RESET) to run the GL Reset process before rerunning the GL Transaction Creation process when reposting is necessary due to errors.

Navigation:

Global Payroll & Absence Mgmt > Time and Labor / GL Costs > Reset GL

This example illustrates the fields and controls on the Reset GL page .

Reset GL page

Note: Use this process only if it is necessary to repost the transactions because they were originally sent with errors. After resetting, correct the data errors and repeat GL processing.

Field or Control

Description

Calendar Group ID

Select the calendar group for which you want to reset the GP GL interface processing. Resetting applies to the entire calendar group.

The remaining fields on the page are for information only; you cannot enter or alter the data.