CSD_REPAIRS_PUB.create_repair_order Giving Error "parameter p_user_login is invalid" (Doc ID 2198444.1)

Last updated on NOVEMBER 02, 2016

Applies to:

Oracle Depot Repair - Version 12.2.5 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.5

When attempting to create repair order using APIs, the following error occurs.

ERROR
-----------------------
API Programming Error (CS_CHARGE_DETAILS_PVT.Create_Charge_Details): The value "-1" for parameter p_user_login is invalid.

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Create a repair order logistic line using the API CSD_LOGISTICS_PUB.CREATE_LOGISTICS_LINE
2. The above API calls CS_CHARGE_DETAILS_PVT.Create_Charge_Details    which results in an error

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms