added comments for set_file_association function

git-svn-id: http://locode01.ad.dom/svn/WEBMIP/trunk@3257 248e525c-4dfb-0310-94bc-949c084e9493
This commit is contained in:
PriestJ
2008-01-16 11:48:00 +00:00
parent 13c9c0ca97
commit 94c33c6342

View File

@@ -21,7 +21,19 @@ PROCEDURE export_table_to_csv(p_table IN VARCHAR2,
end MIP_FILES; end MIP_FILES;
/ /
create or replace package body MIP_FILES as create or replace package body MIP_FILES as
/*
FUNCTION set_file_association
- sets the association between a object within webmip to a file held in the
- APEX application files view.
%param p_uri - the uri of the file (the contents of the name column in APEX application files)
%param p_description - description of the file, will be set in documents and document_roles table
%param p_docu_type - INDO (held within webmip db), EXDO (held outside webmip), FIDO (on file system)
%param p_rt_code - type of role for docment eg 'ENQUIRY SUPPORTING DOC' see role types table
%param p_qute_id - the quote id if applicable otherwise supply null
%param p_enqu_id - the enquiry id if applicable otherwise supply null
%param p_drwg_code - the drawing code if applicable otherwise supply null
%param p_doro_type - DRRO (for a drawing), ENDO (for an enquiry), QUDO (for a quote)
*/
function set_file_association(p_uri in varchar2, function set_file_association(p_uri in varchar2,
p_description in varchar2, p_description in varchar2,
p_docu_type in varchar2, p_docu_type in varchar2,