The Workfile History Control Report
You use the Workfile History Control Report (R48S711) to identify records in the Billing Workfile History table (F4812H) that are not correct based on other information within the F4812H table.
You use data selection to specify which records to evaluate.
Records that the system identifies as having integrity issues are listed with the appropriate error message on the report.
The Workfile History Control Report examines records for these integrity issues:
Integrity Issue |
Cause |
---|---|
Journal Status is Generated, Not Posted |
When you generate preliminary journal entries, the system changes the value in the Journal Status Code field (JRST) in the Billing Detail Workfile table (F4812) to 1 (Journaled). When you generate final journal entries, the system moves the record to the Billing Workfile History table (F4812H) and updates the Journal Status Code field in the F4812H table to a value other than 1. Therefore, table F4812H should not contain any records with a value of 1 in the Journal Status Code field. The report displays an error when table F4812H contains any records with a value of 1 in the Journal Status Code field. |
Journal Status Code Inconsistent |
The report displays an error message when the value in the Journal Status Code field (JRST) is 0, indicating that journals have not been generated, and any of these conditions, which occur when journals are generated or even later in the process, also exist:
|
Records Recognized for Revenue without a Revenue Batch Number |
When you run the Create G/L Entries program (R48198) to create journal entries for revenue recognition, the system enters 1 in the Revenue Completed field (LSPM) and enters a batch number in the Batch Number - Revenue field (ICUJ). The report displays an error message when the value in the Revenue Completed field (LSPM) is 1, but the Batch Number - Revenue field (ICUJ) is equal to 0. |
Revenue Not Processed, but Revenue Batch Exists |
When the Revenue Completed field (LSPM) contains a value of 0, indicating that the revenue recognition process is not complete, and the Journal Status Code field (JRST) contains a value of 3, indicating that the billing detail transaction has changed, the report displays an error when either of these conditions exists:
|
Revenue is Processed, Revenue Batch is Zero |
When the value in the Process Complete field (LSSQ) is 1, indicating that the record is the last in a series, and the Journal Status Code field (JRST) contains a value of 4, indicating that the billing cycle is complete, the report displays an error message when the Batch Number - Revenue field (ICUJ) is equal to zero. |
Active Batch is Zero |
The report displays an error when the Batch Number - Active field (ICUA) is zero and these conditions are met:
|
Revenue Batch is Zero |
The report displays an error message when the Batch Number - Revenue field (ICUJ) is zero and these conditions are met:
|
Currency Errors |
When the Currency Mode field (CRRM) contains a value of D (domestic) or F (foreign), the report displays an error when either of these fields is blank:
When the Currency Mode field (CRRM) is blank, the report displays an error message when either of these fields is not blank. |
Historical Amounts Equal to Zero |
When you generate invoices, the system updates the Currency Conversion Rate - Divisor field (CRRD) with the exchange rate that is used for invoice generation only if it is different from the exchange rate that was used during workfile generation. In this situation, the system saves the values in these fields because the different exchange rate would cause the amounts to be different:
The report displays an error messages when the exchange rate used during invoice generation is different from the exchange rate used during workfile generation and any of the historical amounts field has a value of 0. |
Components Do Not Exist for Base Record |
Under normal circumstances, the system attaches component records to the corresponding base record by updating the Component Link field (CLNK) for these records with the same number. The Component Code field (CCOD) is blank on the base record and is updated on the component records. The report displays an error message when a base record exists, but no corresponding component records exist, or when one or more component records exist, but no corresponding base record exists. |
Component Values Not Consistent with Base Record |
These fields should have identical values in a base record and its corresponding component records:
The report displays an error message when any of these fields have different values in a base record and its component records. |
Inconsistent Invoice Information on Component Records |
The report displays an error message when one of these situations occurs:
|
Tax Code Errors |
The report displays an error message when any of these situations exists:
|
Records Out of Sequence |
The report displays an error message when the records in the Billing Workfile History table (F4812H) are out of sequence, based on the information in these primary key fields:
|
Split Record Out of Sequence |
The program checks all records for which the Parent Sequence Number field (PRSQ) has a value greater than 0. The report displays an error message when a record does not exist with the same primary field values as the first record and a value in the Sequence Number field (SBSQ) is equal to the value in the Parent Sequence Number field from the first record. |
Duplicate Records Exist |
The report displays an error message when identical records exist in the Billing Detail Workfile table (F4812) and the Billing Workfile History table (F4812H). |
Missing Invoice Summary (F4822) Record |
The report displays an error message when the Document (Order #, Invoice, and so forth) field (DOCZ) contains an invoice number, indicating that the workfile record has been included in an invoice, but no corresponding invoice records exist in the Invoice Summary Work File table (F4822). |
Inconsistent Invoice Information on Burden Records |
The report displays an error message when one of these situations occurs:
|