Dunning Letter Not Picking Up Custom Template due to Code in iexvxmlb.pls
(Doc ID 1273738.1)
Last updated on JUNE 05, 2024
Applies to:
Oracle Advanced Collections - Version 12.1.2 and laterInformation in this document applies to any platform.
Symptoms
Dunning letter is not picking up the Custom template due to code in iexvxmlb.pls.
CURSOR C_GET_QUERY_TEMP_ID (QUERY_ID NUMBER)
Please note that since the name of the parameter is same as the name of the column in the table the cursor is returning incorrect value.
You can use the below PLSQL block to verify
DECLARE
p_query_id NUMBER := 10001;
l_query_temp_id NUMBER;
CURSOR C_GET_QUERY_TEMP_ID (QUERY_ID NUMBER) IS
SELECT xref.query_temp_id
FROM iex_query_temp_xref xref
WHERE xref.query_id =QUERY_ID;
BEGIN
Open C_GET_QUERY_TEMP_ID(p_query_id);
Fetch C_GET_QUERY_TEMP_ID into l_query_temp_id;
FND_FILE.PUT_LINE(fnd_file.log,'SSOARS-Before Insert Row A- l_query_temp_id'||NVL(l_query_temp_id,'99'));
Close C_GET_QUERY_TEMP_ID;
DBMS_OUTPUT.PUT_LINE(l_query_temp_id);
END;
However, if you directly use P_QUERY_ID in cursor or change parameter name to anything other than query_id it works fine.
Changes
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |