Why custom script from a report is not working when I add this report as "Merged Report"
Oracle B2C Service Versions 20C and earlier
Custom scripts are currently not supported for Merge Report functionality. For example, if you use "Merge Report" in a mailing or a message template, the custom script from the report used will not work.
This content is applicable for Oracle B2C Service up through version 20C. For versions 20D and later, see Answer ID 11780: Custom Scripts Replacement by Analytics Extensions for best practices.