69 Sales Invoice

This chapter includes these topics:

69.1 Sales Invoice Overview

This chapter provides detailed information about the business interfaces that are available for the Sales Invoice business object.

This table lists all of the available interface components:

Interface Type Available Interfaces
Real-Time Events This list includes the real-time events for the Sales Invoice business object:
  • RTINVOUT, which is a container event for these single events:

    • RTINVHDR

    • RTINVDTL

  • RTINVOUT2, which is a container event for these single events:

    • RTINVHDR*

    • RTINVDTL2

Batch Export Programs This list includes the batch export programs for the Sales Invoice business object:
  • Invoice Print program (R42565)



Note:

You can find additional technical information about each type of business interface component. For additional descriptions of the information available, and instructions for finding this information, see Chapter 5, "Accessing Additional Information for Business Interface Components."

69.2 Sales Invoice Real-Time Events

This section describes the available real-time events associated with the Sales Invoice business object, which include:

  • RTINVOUT, which is a container event for these single events:

    • RTINVHDR

    • RTINVDTL

  • RTINVOUT2, which is a container event for these single events:

    • RTINVHDR*

    • RTINVDTL2

    *Note that RTINVHDR is contained within this event, and also within RTINVOUT. The documentation for RTINVHDR is located in the RTINVOUT section of this chapter.

69.2.1 RTINVOUT

RTINVOUT is used by the JD Edwards EnterpriseOne system to inform third-party systems that an invoice has been created or changed. This transaction is for the publishing information required to meet the RosettaNet standards.

Event Type Event Description Event Category Event Aggregate Product Code
RTINVOUT Sales Invoice RTE Container

Contains events for:

  • RTINVOUTA (D4202330B)

  • RTINVHDR

  • RTINVOUTB (D4202330C)

H42

Conceptual Approach

When a new Invoice Number, Invoice Type, or Invoice Company is assigned to a sales order detail record in the Sales Order Detail (F4211) table, the RTINVOUT real-time event is published.

Objects that Can Initiate the Event

These objects can initiate the RTINVOUT event and the single events contained within this event:

  • B4208020 - Do Invoice Level Inventory

  • R42565 - Invoice Print

69.2.1.1 RTINVHDR

RTINVHDR is used by the JD Edwards EnterpriseOne system to inform third-party systems that an invoice has been created or changed. This transaction is for the publishing information required to meet the RosettaNet standards.

Event Type Event Description Event Category Event Aggregate Product Code Data Structure Event Relationship
RTINVHDR Sales Invoice Header RTE Single H42 D4202330B: Invoice Header for Invoice Real Time Event DS Included in container event RTINVOUT.

Conceptual Approach

When a new Invoice Number, Invoice Type, or Invoice Company is assigned to a sales order detail record in the Sales Order Detail (F4211) table, the RTINVOUT real-time event is published. The RTINVOUT includes the RTINVHDR event. The RTINVHDR event contains sales order header information.

69.2.1.2 RTINVDTL

RTINVDTL is used by the JD Edwards EnterpriseOne system to inform third-party systems that an invoice has been created or changed. This transaction is for the publishing information required to meet the RosettaNet standards.

Event Type Event Description Event Category Event Aggregate Product Code Data Structure Event Relationship
RTINVDTL Sales Invoice Detail RTE Single H42 D4202330C: Invoice Detail for Real Time Events DS Included in container event RTINVOUT.

Conceptual Approach

When a new Invoice Number, Invoice Type, or Invoice Company is assigned to a sales order detail record in the Sales Order Detail (F4211) table, the RTINVOUT real-time event is published. The RTINVOUT includes the RTINVDTL event. The RTINVDTL event contains sales order detail information.

69.2.2 RTINVOUT2

RTINVOUT2 is used by the JD Edwards EnterpriseOne system to inform third-party systems that an invoice has been created or changed. This transaction is for the publishing information required to meet the RosettaNet standards.

Event Type Event Description Event Category Event Aggregate Product Code
RTINVOUT2 Sales Invoice Version 2 RTE Container

Contains events for:

  • RTINVHDR (D4202330B)

  • RTINVDTL2 (D4202430C)

H42

Conceptual Approach

When a new Invoice Number, Invoice Type, or Invoice Company is assigned to a sales order detail record in the Sales Order Detail (F4211) table, the RTINVOUT2 real-time event is published.

Objects that Can Initiate the Event

These objects can initiate the RTINVOUT event and the single events contained within this event:

  • B4208020 - Do Invoice Level Inventory

  • R42565 - Invoice Print

69.2.2.1 RTINVDTL2

RTINVDTL2 is used by the JD Edwards EnterpriseOne system to inform third-party systems that an invoice has been created or changed. This transaction is for the publishing information required to meet the RosettaNet standards.

Event Type Event Description Event Category Event Aggregate Product Code Data Structure Event Relationship
RTINVDTL2 Sales Invoice Detail Version 2 RTE Single H42 D4202430C: Invoice Detail for Real Time Events DS Included in container event RTINVOUT2.

Conceptual Approach

When a new Invoice Number, Invoice Type, or Invoice Company is assigned to a sales order detail record in the Sales Order Detail (F4211) table, the RTINVOUT2 real-time event is published. The RTINVOUT2 includes the RTINVDTL2 event. The RTINVDTL2 event contains sales order detail information.

69.3 Sales Invoice Batch Export Programs

You use batch export programs to retrieve and format data from the JD Edwards EnterpriseOne database so that it can be used by an external software system.

This table lists and describes the available batch export programs that are associated with the Sales Invoice business object:

Program and Program Type Description Available Documentation
Invoice Print program (R42565) The Print Invoices program (R42565) updates this information in the Sales Order Detail File table (F4211):
  • Invoice number.

  • Invoice date.

  • Invoice document type.

  • Status codes (the program sets the next status code to run the Sales Update program (R42800)).

See this topic: