My Oracle Support Banner

E1: 74: Generate Legal Document Header (R7430020 ) UBE Is Throwing the Error ID K74E047 Legal Document Header Already Generated on the WorkCenter (Doc ID 2823045.1)

Last updated on DECEMBER 29, 2021

Applies to:

JD Edwards EnterpriseOne Accounts Receivable - Version 9.2 and later
Information in this document applies to any platform.


 When having Portugal Localization activated and running Create A/R (R48199) to create a Contract Billing invoice, a transaction is generated under Legal Document Header (F7430010) table. Due to that, later, when running Generate Legal Document Header (R7430020) UBE, the system is throwing the Error ID K74E047 Legal Document Header Already Generated on the WorkCenter.

Steps to duplicate:

1. Go to P0092 Work With User / Role Profiles and set Localization Country Code PT Portugal under the user profile, then logout and login again.

2. Use the recommendations from the Localizations for Portugal Implementation Guide, Release 9.2, Chapter 2 Setting Up Legal Numbering for Legal Documents and Chapter 3 Setting Up Functionality for Portugal in order to do the setup for Legal Numbering for Legal Documents and for the functionality for Portugal.

3. Create a manual invoice from Contract Billing (System 52), for a customer and Company set for Portugal Localization, as per the recommendations from the Localizations for Portugal Implementation Guide, Release 9.2. The steps to follow for creating the Contract Billing manual invoice are the following:

- on P48S95 Set up the Billing AAIs for processing: 4811, 4815, 4831, 4832

- on P0012 Set up the Financial AAIs for processing, including BC0X, RCxxxx, RTxxxx

- on P48091 Service Billing Constants, under Invoicing Controls tab, set the Default Invoice Document Type = R2

- by using P5201 Work With Contract Master and P5202 Work With Contract Billing Line Details do create a contract with a billing line type U; no cross-reference is needed for manual invoice generation.

- run R52121 Contract Billing Invoice Generation UBE for the contract, version ZJDE0001, and notice the R52121 UBE creates an A/R batch and assigns an invoice number for the document type R2 invoice.

- from the menu G52 go to Periodic Processing option, then Invoice Processing option, then Batch Review (P48221), in order to review the A/R batch. Notice the A/R batch generated at the previous step has Total Amount blank.

- from Batch Review (P48221) drill into the batch, select the unit price billing line, drill down to Unit Price Line revisions, and do populate the Quantity field with a value bigger than zero, then Save the modifications and Close to return to Batch Review form.

- from Batch Review (P48221) notice the A/R batch has now a Total Amount bigger than zero, then go to Row Exit and select the Journal Generation option, to launch the R48131 Journal Generation UBE.

- from the menu G52 go again to Batch Review (P48221) and notice the status of the A/R batch changed to “Inv Jrnls W/O Errors”, then select the A/R batch and go to Row exit and select Create A/R option. That launches the R48199 Create A/R UBE version XJDE0001, that launches Journal Generation R48131 version XJDE0001, that launches G/L Journal Generation R48132 version XJDE0001, that launches Journal Edit Register R48300 version XJDE0001. After running Create A/R (R48199) successfully, the A/R batch is removed from the Batch Review (P48221) and is being moved to Invoice Journal Review (P0011).

4. Go to DataBrowser and double-check that when generating the A/R invoice and populating the F03B11 Customer Ledger and F0911 Account Ledger tables, the system also has generated a transaction under the F7430010 Legal Document Header - COMM - 03B table.

5. Go to BV (Batch Versions) and run the R7430020 Generate Legal Document Header UBE over the previously generated invoice. Notice on the R7430020 pdf the text: "Errors on document. Check WorkCenter for details.". Go to the WorkCenter and notice the related Error ID K74E047 "Legal Document Header Already Generated".





To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.