ORA-00904: "OP" invalid identifier ORA-06512: at :WEBUTIL.WEBUTIL_DB", line 50 [message #635865] |
Fri, 10 April 2015 04:58 |
sohailnawazsabir
Messages: 22 Registered: April 2007 Location: Saudi Arabia
|
Junior Member |
|
|
The idea is I want to save multiple documents (PDFs) against the specified PO.
I am using the below procedure; its giving me the subject error message "OP" is PO Type, please see attached screen shot and fmb. Thanks
PROCEDURE UPLOAD_DB
IS
l_success boolean;
BEGIN
l_success := webutil_file_transfer.Client_To_DB_with_progress
(clientFile => :SH_PO_DETAILS_ATTA.file_name
,tableName => 'SH_PO_DETAILS_ATTA'
,columnName => 'SH_PO_DETAILS_ATTA.PDF_BLOB'
,whereClause => 'SH_PO_DETAILS_ATTA.ID= '||'121112-VAI-OP-1'
,progressTitle => 'Upload to Database in progress'
,progressSubTitle => 'Please wait'
,asynchronous => false
,callbackTrigger => null
);
if l_success then
:System.Message_Level := '15';
commit;
:System.Message_Level := '0';
message('File uploaded successfully into the Database');
go_item('SH_PO_DETAILS_ATTA.PUSH_BUTTON82');
else
message('File upload to Database failed');
end if;
exception when others then
message('File upload failed: '||sqlerrm);
END;
Dynamic Where clause
,whereClause => 'SH_PO_DETAILS_ATTA.ID='||:TETRA_PO_HEADERS.PO_NUMBER||' and '
||'SH_PO_DETAILS_ATTA.PO_TYPE='||:TETRA_PO_HEADERS.PO_TYPE||' and '
||'SH_PO_DETAILS_ATTA.COMP='||:TETRA_PO_HEADERS.COMP||' and '
||'SH_PO_DETAILS_ATTA.ATT_SEQ = '||:SH_PO_DETAILS_ATTA.ATT_SEQ
|
|
|
|
|
|
|
|
|
|
|