This chapter discusses these topics:
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).
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
Select Periodic Processing (G54R20), Reservation Cancellation
Processing options enable you to specify the default processing for programs.
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.
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.
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).
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)
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:
|
All generated related orders are closed. Header and detail lines will be closed. |
Select Periodic Processing (G54R20), Rental Contract Close
Processing options enable you to specify the default processing for programs.