11 Canceling Reservations and Closing Rental Contracts

This chapter discusses these topics:

11.1 Canceling Reservations

This section provides an overview of the Reservation Cancellation program (R54R801), and discusses how to:

  • Run the Reservation Cancellation report (R54R801).

  • Set processing options for the Reservation Cancellation program (R54R801).

11.1.1 Understanding the Reservation Cancellation Report (R54R801)

You use the Reservation Cancellation program (R54R801) to cancel reservation contracts. The program allows you to run the report in proof mode to verify the records selected for cancellation. When you run the program in final mode, the system:

  • Reverses the reservation commitment in the Item Availability table (F41021)

  • Updates the contract line status to 900 (Closed) in the Rental Contract Detail table (F54R11)

  • Adds a ledger record in the Rental Contract Detail Ledger table (F54R199) with Ledger Action 14 (Cancel Reservation)

  • Updates the contract status to 900 (Closed) in the Rental Contract Header table (F54R10) if all the records in the F54R11 table are closed

  • Adds a ledger record in the Rental Contract Header Ledger table (F54R099) with Ledger Action 14 (Cancel Reservation) if the header record in the F54R10 table is closed

11.1.2 Running the Reservation Cancellation Report (R54R801)

Select Periodic Processing (G54R20), Reservation Cancellation

11.1.3 Setting Processing Options for the Reservation Cancellation Program (R54R801)

Processing options enable you to specify the default processing for programs.

11.1.3.1 Select

1. Business Unit

Specify the business unit that you want to process.

If you leave this processing option blank, the system processes all business units unless data selection has been set up.

2. Reservation Cancellation Date Range

Specify the start and through dates to select reservation contracts to cancel.

The system processes rental contracts with a reservation cancellation date that is greater than or equal to the From Date, and less than or equal to the Through Date. The contract that you want to cancel must have a reservation cancellation date in the F54R11 table that is within the date range specified in this processing option.

If you leave the From Date or Through Date processing option blank, the system date is used.

11.1.3.2 Process

1. Proof or Final Mode

Specify whether to run the program in proof mode or final mode. Values are:

Blank: Run the program in proof mode.

1: Run the program in final mode.

11.2 Closing Rental Contracts

This section provides an overview of the Rental Contract Close program (R54R802), and discusses how to:

  • Run the Rental Contract Close report.

  • Set processing options for the Rental Contract Close program (R54R802).

11.2.1 Understanding the Rental Contract Close Program (R54R802)

You use the Rental Contract Close program (R54R802) to close:

  • Rental contract headers that have no rental contract detail lines

  • Rental contracts that have related orders which are all closed

  • Rental contracts for which related orders have not been generated

A rental contract for which related orders have been generated has records with a status of 2 (Processed) or 3 (Linked) in the Rental Contract Related Orders table (F54R20). These records are linked with sales orders, purchase orders, and service orders. To close the rental contract, the statuses of all of these related orders must match the close statuses that are set up in the Rental Constants program (P54R01).

You can close rental contracts using this program or through the Close Contract option in the Rental Contract Entry program (P54R10).

When you run the close contract process using the Rental Contract Close program or through the option on the Rental Contract Entry program, the system checks if the statuses of all the associated related orders are at statuses eligible for closing the contract. Eligible statuses are specified in the Sales Order Close Statuses, Purchase Order Close Statuses, and Service Order Close Statuses fields in the Rental Constants program (P54R01).

For a sales order, the value in the Next Status field in the Sales Order Entry program (P4210) must match any of the statuses in the Sales Order Close Statuses field in the P54R01 program.

For a purchase order, the value in the Next Status field in the Purchase Orders program (P4310) must match any of the statuses in the Purchase Order Close Statuses field in the P54R01 program.

For a service order, the value in the W.O. Status field in the Work With Work Orders program (P48201) must match any of the statuses in the Service Order Close Statuses field in the P54R01 program.

See Section 2.3, "Setting Up Rental Management Constants"

When you run the program in final mode, the system:

  • Updates the contract status to 900 (Closed) in the Rental Contract Header table (F54R10)

  • Adds a ledger record in the Rental Contract Header Ledger table (F54R099) with Ledger Action 07 (Close Contract)

  • Updates the contract line status to 900 (Closed) in the Rental Contract Detail table (F54R11)

  • Adds a ledger record in the Rental Contract Detail Ledger table (F54R199) with Ledger Action 07 (Close Contract)

11.2.1.1 Messages Displayed in the Report

When you run the R54R802 program, the system includes a message in the report based on the situation:

Situation Message
Detail lines do not exist for the rental contract header in the F54R10 table. Hence, the R54R802 program closes the header record. No detail lines found. Header will be closed.
Some or all related orders in the F54R20 table are marked as Processed or Linked, and not all of the related orders are at statuses indicated in the Rental Constants table (F54R01). Not all generated related orders are closed. Header and detail lines will not be closed.
All related orders in the F54R20 table meet the following criteria:
  • Processed or Linked related orders are at a status indicated in the Rental Constants table (F54R01).

  • Related orders are not marked as Processed or Linked. These means that related orders have not yet been generated.

All generated related orders are closed. Header and detail lines will be closed.

11.2.2 Running the Rental Contract Close Report (R54R802)

Select Periodic Processing (G54R20), Rental Contract Close

11.2.3 Setting Processing Options for the Rental Contract Close Program (R54R802)

Processing options enable you to specify the default processing for programs.

11.2.3.1 Select

1. Business Unit

Specify a business unit to process.

If you leave this processing option blank, the system processes all business units unless data selection has been set up.

11.2.3.2 Process

1. Proof or Final Mode

Specify whether to run the program in proof mode or final mode. Values are:

Blank: Run the program in proof mode.

1: Run the program in final mode.