SG-3196 CLONE - MP7863_GetCustomerRentalAdjustment_001 - error "CUSTOMERCONTRACTINVOICEREVISION is a required field" retrieved with specific steps - HxGN EAM - 12.0.0.1 - Release Bulletin - Hexagon

HxGN EAM Resolved Issues for 2023

Language
English
Product
HxGN EAM
Search by Category
Release Bulletin
HxGN EAM Version
12.0.0.2

SG-3196 CLONE - MP7863_GetCustomerRentalAdjustment_001 - error "CUSTOMERCONTRACTINVOICEREVISION is a required field" retrieved with specific steps

 Description 

When specific steps are taken and we get the Adjustement record in reservations, this works in EAM, but we can see in functionxml file the error "CUSTOMERCONTRACTINVOICEREVISION is a required field".

The same error is retrieved when using Web Services.

Steps to reproduce:

# Assets - Create an asset with ‘Reservable Equipment’ checked.

# Customers - Create a customer.

# Contract Templates - Create a record with 'Where used ' = Reservations

# Adjustments - create a record.

# Reservations - Create reservation with the following fields populated:

-"Status": Reserved,

-Equipment from step 1.

-Template from step 3.

- Issued To - any employee.

-Customer from step 2

-"Issue Date/Time": 28-JUL-2022 09:53

-"Return Date/Time": 28-AUG-2022 09:55

- "Return Location"

Save.

# Reservations - change "Status" to: Issued. Save.

# Reservations | Adjustments - create adjustment with the following fields populated

-Adjustement from step 3.

-"Date": 01-AUG-2022

-"Rate": -300

Save.

# Reservations | Adjustments - select the record and change the status to Approved. save.

# Reservations - Change reservation "Status" to: Returned. Save.

# Reservations - Change "Status" to: Completed. Save.

# Reservations - Press "Generate Invoice" button. Message Invoice has been generated apperas.

# Confirm that the adjustment in the Adjustments has "Status": Invoiced.

# WS Test Utility - Make read web service call using the created adjument's PKID (equivalent to the CAD_PK column in the r5contractadjustments table). See attachment.

The response fails with a "CUSTOMERCONTRACTINVOICEREVISION is a required field" message. However, MP7863_GetCustomerRentalAdjustment_001 is only expecting a "CUSTOMERRENTALADJUSTMENTPK" field.

Using the browser, selecting the created adjustment from the list and then checking the logs, we see the same error message but the browser does show the Adjustment Details properly.

Current behaviour - Error "CUSTOMERCONTRACTINVOICEREVISION is a required field" received with web service.

Expected behaviour - No error message seen for example in the WS Test Utility or if the action is taken via screen in configxml file.