How the System Determines Which Invoice Print Version to Use

To determine which report and version to use for an invoice, the Invoice Print Selection program (R48504) first uses the Invoice Version universal batch engine (UBE), Invoice Version, and Invoice Workfile Detail Selection processing options. When those three processing options are completed, the system uses the specified invoice print program and version for all invoices that you choose for printing, overriding any other table setup.

When those three processing options are not completed, the system uses the values in the Invoice Format Name processing option to choose an invoice print program and version using the Invoice Print Version Cross Reference table (F48S58).

When none of the processing options on the Print tab are completed, the system uses specific information from each invoice to determine the invoice print program and version for that invoice. First, the system determines whether the Invoice Format Code field (INVF) is completed in the Invoice Summary Work File table (F4822) for JD Edwards EnterpriseOne Service Billing or, for JD Edwards EnterpriseOne Contract Billing, in the Contract Master table (F5201). When this field is completed, the system uses the format code in this field to select an invoice print program and version using the Invoice Print Version Cross Reference table. When the Invoice Format Code field is not completed, the system uses the key type information from the individual invoices to select an invoice print program and version using the Print Version Cross Reference table.

This table illustrates how the system determines which invoice version to use. The system first examines the scenario explained in the first row of the table. If that scenario is true, the system performs the corresponding action. If that scenario is not true, the system examines the scenario explained in the second row of the table, and so on.

Note: In all cases except where noted, the invoice type is identified on the Select tab of the Invoice Print Selection processing options. Invoice type is used together with format name to determine which program and print version to use.

If

Then

The Invoice Version UBE, Invoice Version, and Invoice Workfile Detail Selection processing options are completed on the Invoice Print Selection version.

Use the Invoice Version UBE, Invoice Version, and Invoice Workfile Detail Selection processing options. The Invoice Format Type processing option is not used.

The Invoice Format Name processing option is completed on the Invoice Print Selection version.

Use the Invoice Format Name and Invoice Format Type processing options to find the UBE name, version name, and workfile detail selection from the Invoice Print Cross Reference Table.

The Invoice Format Code field was updated in the Invoice Summary Work File table (F4822) for Service Billing or in the Contract Master table (F5201) for Contract Billing.

Use the Invoice Format Name and Invoice Format Type processing options to find the UBE name, version name, and workfile detail selection from the Invoice Print Cross Reference Table.

None of the preceding is true.

Use specific information from the Invoice Summary Work File table (such as work order, work order class, and contract), along with the Invoice Format Type processing option to find the UBE name, version name, and workfile detail selection from the Invoice Print Cross Reference Table.