diff --git a/Modules/mip_quotation_document.pck b/Modules/mip_quotation_document.pck index 08978fe..0533f94 100644 --- a/Modules/mip_quotation_document.pck +++ b/Modules/mip_quotation_document.pck @@ -1472,7 +1472,7 @@ CREATE OR REPLACE PACKAGE BODY mip_quotation_document IS CURSOR c_get_watermark(cp_watermark varchar2) IS SELECT blob_content FROM wwv_flow_files - WHERE filename = cp_watermark; + WHERE filename = cp_watermark and flow_id=apex_application.g_flow_id; begin IF NOT c_get_logo%ISOPEN THEN