Depot Repair - create logistics line using API fails with error : API Programming Error (CS_CHARGE_D
We are trying to create depot repair order with logistics line in R12.2.5 using following APIs. In both the cases API fails with error :
"API Programming Error (CS_CHARGE_DETAILS_PVT.Create_Charge_Details): The value "-1" for parameter p_user_login is invalid."
1. CSD_LOGISTICS_PUB.CREATE_DEFAULT_LOGISTICS : This works ok when used for only depot repair order ( i.e. without default logistics line -
P_CREATE_DEFAULT_LOGISTICS = 'N' ).
But fails when trying to use with P_CREATE_DEFAULT_LOGISTICS = 'Y'.
2. CSD_REPAIRS_PUB.create_repair_order : This also fails with the same error.
Anyone faced similar issue ?