FND_STANDARD.SET_WHO is not working in custom form
Hi,
I have a custom form and in that to update the WHO columns I used "FND_STANDARD.SET_WHO;" in block level in "PRE_INSERT" and "PRE_UPDATE" triggers. But it is not working. Any ideas on this? can this be because of a missing library? I can see appcore and appcore2.
This forum is for Oracle Forms. It appears that your issue has to do with Oracle E-Business Suite: {forum:id=475}
Similar Messages
-
Execute Query not working on custom forms
Hi
After upgrading from 11.5.10.2 and Oracle 9.2.0.5 to ATG6, AD6, oracle 10.2.0.4, Forms 6.0 (Form Compiler) Version 6.0.8.28.0 . The execute query (F11 & CTRL F11) is not working on custom forms. But after tabbing from one column to another column then press CTRL F11 is working.
Please any one help me on this issue.
Thanks
svaHi
I found this error in the trace file. Please help me what is the problem, the data is there in the table.
Out Argument 0 - Type: String Value: ORA-01403: no data found
Executing NAME_IN Built-in:
In Argument 0 - Type: String Value: parameter.G_query_find
Out Argument 0 - Type: String Value: NULL
Executing USER_EXIT Built-in:
In Argument 0 - Type: String Value: FND MESSAGE_CLEAR
MCXQPBULKINVOICEENTER, -1, Built-In, Entry, -1196178744, USER_EXIT
TSE FSERVER_START -1 1407 1279530838565801000
TSE FSERVER_END -1 0 1279530838579778000MCXQPBULKINVOICEENTER, -1, Built-In, Exit, -1196091744, USER_EXIT
Executing COPY Built-in:
In Argument 0 - Type: String Value: Entering app_debug.clear
In Argument 1 - Type: String Value: global.frd_debug
Executing FIND_GROUP Built-in:
In Argument 0 - Type: String Value: APP_DEBUG
Executing COPY Built-in:
In Argument 0 - Type: String Value: Completed app_debug.free.
In Argument 1 - Type: String Value: global.frd_debug
Executing MESSAGE Built-in:
In Argument 0 - Type: String Value: FRM-41003: This function cannot be performed here.
In Argument 1 - Type: Number Value: 121
Unhandled Exception ORA-100501
State Delta:
MCXQPBULKINVOICEENTER, -2, Trigger, Exit, -1190876744, ON-ERROR
##### CTIME STARTS HERE
# 8 - MCXQPBULKINVOICEENTER:BLOCKNAME.RADIO_BUTTON81.1279530839956685000
KEY Execute_query
Error Message: FRM-41003: This function cannot be performed here.
N-ERROR Trigger Fired:
Form: MCXQPBULKINVOICEENTER
State Delta:
MCXQPBULKINVOICEENTER, -2, Trigger, Entry, 181183256, ON-ERROR
MCXQPBULKINVOICEENTER, -1, Prog Unit, Entry, 181304256, /MCXQPBULKINVOICEENTER-3/P58_07_DEC_200909_04_40
Executing COPY Built-in:
In Argument 0 - Type: String Value: Entering app_standard.event. Event is ON-ERROR.
In Argument 1 - Type: String Value: global.frd_debug
Executing ERROR_TYPE Built-in:
Out Argument 0 - Type: String Value: FRM
Executing ERROR_CODE Built-in:
Out Argument 0 - Type: Number Value: 41003
Executing ERROR_TEXT Built-in:
Out Argument 0 - Type: String Value: This function cannot be performed here
Thanks
sva -
F4 help not working in custom backend service for PD form
Dear All,
Iam working with the Create position HCM PD form and i have a requirement to add two fields, one for the company code and the other is for the cost center and then create the relationship betwee the position and the cost center when the form is submitted.
I have defined a generic service and created an enhancement implementation and linked this generic service to the imppementaion. I have written the logic for the F4 help for the fields in the method GET_HELP_VALUES, i have written the scripting for the drop down field in the form to trigger the F4 help in the form.
When the cost center is being passed to the screen, i would then read the value of the cost center in the form workflow and create the relationship between S and K in the workflow as i am unable to achiev this in the design time of the PD form.
But my current problem in that he values are not getting passed from the method to the field on the screen. I have worked on quite a few scenarios for F4 help and doing validations in the implementation in the PA form and i have seen this functionality working fine.
My problem here is that i am unable to understand why the F4 value help is not working in my form. The standard PD service SAP_PD is also being used in the form to have the dropdown values for the account assignment feature.
Could you please suggest me with some clues to fix my issue? i can share more details for further analysis.
Thanks.
Best regards,
SridharanHi Chris,
Thanks for your inputs. please see my reply to your questions
First....are you sure you have "marked" that field as possible for F4 help?
Reply: Yes
Second...are you populating the help values strictly from that method...ie. not also using do_operations method to do it. If you refer to the documenation, it points out that trying to use both can cause issues.
Reply: i am using only the GET_HELP_VALUES method and nothing written in do_operations.
Third...when you debug your method, do you "see" the help values actually populating and as you say "not coming back to the screen"? I would check this first to make sure that there are actually values being found (ie. the logic within your service is correct).
Reply: i have put the external break-point in this method and when the form in opened for processing by the HR admininstrator,the form openes up and the control is not being sent to the debugger. I have written the scripting in the exit event of the events and scripts as suggested in the SAP help document. SO when i click on the dropdown field in the form, the debugger starts and executes the method and the code executes, then no values are populated on the screen.
Fourth...are you using any generic services for populating help values as well. HCM P&F has a nasty habit of "if one GS fails, they all fail" so often, your service might work fine but an error in another makes yours appear to fail as well....hard to debug and find those kind.
Reply: Yes i am using the generic service mainly for the purpose of F4 help. I do not see any issue with other gneric services as i have implemented a few generic services for PA forms and they are working fine.
Fifth...oops...forgot the obvious one...make sure it isn't a security issue...ie. make sure you have access to read the cost centers you want.
Reply: I dont get any auth error in SU53 while i test the process in R3
Lastly, you said:
"When the cost center is being passed to the screen, i would then read the value of the cost center in the form workflow and create the relationship between S and K in the workflow as i am unable to achiev this in the design time of the PD form."
You actually should be able to do this using an Advanced/Enhanced Generic Service (if this is in fact the step at which you want a true update to occur). Just a thought.
Reply: Could you please give some more information about this, how can i achieve it in advanced generic service.
Appreciate more thougts from you Chris!
Thanks,
Sridharan -
Update process does not work on Tabular Form
Hello,
I have 2 tabular forms on one page, which are using manual update processes.
First form is created using wizard, and therefore works perfectly.
The update process is as follows:
DECLARE
lc_string VARCHAR2(4000);
BEGIN
FOR i IN 1..APEX_APPLICATION.G_f01.COUNT
LOOP
lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*03*(i) || '|' || APEX_APPLICATION.G_f*04*(i) || ']';
END LOOP;
--Database processing using the concatenated string here
END;Second form is created manually, using the following code:
SELECT apex_item.checkbox (30,
'#ROWNUM#',
'onclick="highlight_row(this,' || '#ROWNUM#'|| ')"',
NULL,
'f30_' || '#ROWNUM#'
) delete_checkbox,
CATALOG_ID,
apex_item.hidden (31, CATALOG_ID)
|| apex_item.text (32,
LANG,
80,
100,
'style="width:100px"',
'f32_' || '#ROWNUM#'
|| apex_item.hidden (33, wwv_flow_item.md5 (LANG, DESCRIPTION)) LANG,
apex_item.text (34,
DESCRIPTION,
80,
100,
'style="width:255px"',
'f34_' || '#ROWNUM#'
) DESCRIPTION
FROM V_CATALOGS
UNION ALL
SELECT apex_item.checkbox
(30,
TO_NUMBER(9900 + LEVEL),
'onclick="highlight_row(this,' || '#ROWNUM#' || ')"',
NULL,
'f30_' || TO_NUMBER (9900 + LEVEL)
) delete_checkbox,
NULL,
apex_item.hidden (31, NULL)
|| apex_item.text (32,
NULL,
80,
100,
'style="width:100px"',
'f32_' || TO_NUMBER (9900 + LEVEL)
|| apex_item.hidden (33, NULL) LANG,
apex_item.text
(34,
NULL,
80,
100,
'style="width:255px" ' ,
'f34_'
|| TO_NUMBER (9900 + LEVEL)
) DESCRIPTION
FROM DUAL
WHERE :P18_TEMP = 'ADD_ROWS1'
CONNECT BY LEVEL <= 1However, the update process does not work on this form.
I created it using the first one as an example, but with the id's of the second form:
DECLARE
lc_string VARCHAR2(4000);
BEGIN
FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
LOOP
lc_string := lc_string|| '[' ||APEX_APPLICATION.G_f*32*(i) || '|' || APEX_APPLICATION.G_f*34*(i) || ']';
END LOOP;
--Database processing using the concatenated string here
END;Also, both forms are opening in a modal pop-up dialog window.
I use a Dialog Region plug-in for that.
Please advise, what is causing a problem with update?Sloger,
if this is your tabular form
SELECT apex_item.checkbox (30,
...and this is your update statement
FOR i IN 1..APEX_APPLICATION.G_f*30*.COUNT
...Then you will only ever update records that have been checked. Unchecked checkboxes are not passed back in the global array. You need to have a hidden column with the ID's for the record and loop through that when you are updating/inserting. That is why the built in tabular form has a MRU and a MRD. the MRU loops through the hidden ID column. The MRD loops through the checkbox.
Thanks,
Tyson Jouglet -
Key functions are not working in oracle11g forms
I have migrated a oracle 10g form to oracle 11g form
1.Key function such as down arrow,up-arrow is not working in oracle11g forms though key-down etc trigger have been written.
2.Tree node function,i mean when i try to call form from a child node ,it required 4-5 click.
Can anyone help me for these issueNext_form function is not working.i have copied the .res file from 10g.So the issue like this,when i master forms calls(by using open_form in when-window-activate trigger)to a child form and the child form having (when-window-activate trigger)next_form to return the cursor in the master form,it got hang in 11g.This is problem.i have checked by creating the same.Could you help me for the same.this code is running fine in 10g.
-
Form is not working of multiple form check boxs, source posted. HELP.
Form is not working of multiple form check boxs, source posted. HELP.
I'm trying to have golive form be able to check one, two or all of the options in Graphics field.
As is it will only post results from the last checked box.
Here's the page
http://www.perfection-press.com/Pages/ContactForm.html
Here's where source in golive has scanning,design,filesupplied.
[code removed to fix forum topic display]Since the checkboxes all have the same name, the values are over-writing each other when being passed to the PHP script. The best way to fix that is to add a pair of empty square [] brackets after the checkbox names, so make the names "graphics[]" instead of "graphics". That tells PHP that the values are being passed as a list (an array) instead of a single value. As long as your processing script knows what to do from there (and it does), should solve the problem.
By the way, I noticed that two of the checkboxes were named "graphics" and the other was "graphic" (singular). You'll want to fix that too so they're all the same. -
F11 (query mode) not working in payment form in AP
Dear All,
F11 function not working in Payment form in R12.
I made a payment and quit the form. Whem am trying to query the payment invoice to void it. F11 functionality is not working.
Could anyone tell me the solution?
Regards
Deeps.Hi Ivruksha,
Thanks for your response.
This issue is due to personalization done in payment form to default the payment date. First we defaulted the payment date once we open the form and faced issue in Quering a payment.
Now we did a change in personalization to default after selecting the Trading Partner and rectified the issue.
Regards,
Deeps. -
Reverse Engineering is not working for custom
hi odi guru's
i installled Hyperion 11.1.2.2 and ODI 11.1.1 . while doing reverse engineering is not working for custom purpose.
Iam working with Hyperion Financial management with odi. created dataserver and physical schema and logical schema
and imported RKM HYperion Financial Management Knowledge module.
is it required for hyperion latest patches to connect with odi. Please let me know . urgent?
Thanks in adavncehi
is it required for hyperion patches to connect with odi?
iam getting following error.
ODI-1217: Session HFM_Model (5051) fails with return code 7000.
ODI-1226: Step HFM_Model fails after 1 attempt(s).
ODI-1229: An error occurred while performing a Reverse operation on model code HFM_MODEL.
Caused By: org.apache.bsf.BSFException: exception from Jython:
Traceback (most recent call last):
File "<string>", line 38, in <module>
at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:58)
at com.hyperion.odi.hfm.ODIHFMAppReverser.connect(ODIHFMAppReverser.java:27)
at com.hyperion.odi.common.ODIModelImporter.importModels(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.hyperion.odi.common.ODIHAppException: com.hyperion.odi.common.ODIHAppException: Error occurred while loading driver.
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:146)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.execInBSFEngine(SnpScriptingInterpretor.java:322)
at com.sunopsis.dwg.codeinterpretor.SnpScriptingInterpretor.exec(SnpScriptingInterpretor.java:170)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.scripting(SnpSessTaskSql.java:2472)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:47)
at oracle.odi.runtime.agent.execution.cmd.ScriptingExecutor.execute(ScriptingExecutor.java:1)
at oracle.odi.runtime.agent.execution.TaskExecutionHandler.handleTask(TaskExecutionHandler.java:50)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.processTask(SnpSessTaskSql.java:2913)
at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java:2625)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatAttachedTasks(SnpSessStep.java:558)
at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java:464)
at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java:2093)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$2.doAction(StartSessRequestProcessor.java:366)
at oracle.odi.core.persistence.dwgobject.DwgObjectTemplate.execute(DwgObjectTemplate.java:216)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.doProcessStartSessTask(StartSessRequestProcessor.java:300)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor.access$0(StartSessRequestProcessor.java:292)
at oracle.odi.runtime.agent.processor.impl.StartSessRequestProcessor$StartSessTask.doExecute(StartSessRequestProcessor.java:855)
at oracle.odi.runtime.agent.processor.task.AgentTask.execute(AgentTask.java:126)
at oracle.odi.runtime.agent.support.DefaultAgentTaskExecutor$2.run(DefaultAgentTaskExecutor.java:82)
at java.lang.Thread.run(Thread.java:662)
Caused by: Traceback (most recent call last):
File "<string>", line 38, in <module>
at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:58)
at com.hyperion.odi.hfm.ODIHFMAppReverser.connect(ODIHFMAppReverser.java:27)
at com.hyperion.odi.common.ODIModelImporter.importModels(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
com.hyperion.odi.common.ODIHAppException: com.hyperion.odi.common.ODIHAppException: Error occurred while loading driver.
at org.python.core.PyException.fillInStackTrace(PyException.java:70)
at java.lang.Throwable.<init>(Throwable.java:181)
at java.lang.Exception.<init>(Exception.java:29)
at java.lang.RuntimeException.<init>(RuntimeException.java:32)
at org.python.core.PyException.<init>(PyException.java:46)
at org.python.core.PyException.<init>(PyException.java:43)
at org.python.core.Py.JavaError(Py.java:455)
at org.python.core.Py.JavaError(Py.java:448)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:177)
at org.python.core.PyObject.__call__(PyObject.java:355)
at org.python.core.PyMethod.__call__(PyMethod.java:215)
at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:221)
at org.python.core.PyMethod.__call__(PyMethod.java:206)
at org.python.core.PyObject.__call__(PyObject.java:381)
at org.python.core.PyObject.__call__(PyObject.java:385)
at org.python.pycode._pyx1.f$0(<string>:38)
at org.python.pycode._pyx1.call_function(<string>)
at org.python.core.PyTableCode.call(PyTableCode.java:165)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1204)
at org.python.core.Py.exec(Py.java:1248)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:172)
at org.apache.bsf.engines.jython.JythonEngine.exec(JythonEngine.java:144)
... 19 more
Caused by: com.hyperion.odi.common.ODIHAppException: Error occurred while loading driver.
at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:58)
at com.hyperion.odi.hfm.ODIHFMAppReverser.connect(ODIHFMAppReverser.java:27)
at com.hyperion.odi.common.ODIModelImporter.importModels(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:175)
... 33 more
Caused by: com.hyperion.odi.hfm.wrapper.HFMException: Error occurred while loading driver.
at com.hyperion.odi.hfm.wrapper.HFMServer.<init>(HFMServer.java:29)
at com.hyperion.odi.hfm.ODIHFMAppConnection.<init>(ODIHFMAppConnection.java:51)
... 40 more
Caused by: com.hyperion.odi.hfm.wrapper.HFMException: no HFMDriver in java.library.path
at com.hyperion.odi.hfm.wrapper.HFMDriverJNI.getDriver(HFMDriverJNI.java:23)
at com.hyperion.odi.hfm.wrapper.HFMServer.<init>(HFMServer.java:26)
... 41 more
please help me , thanks in advacne -
Java script is not working in custom tabular form
hai all,
i have changed my built in tabular form to custom tabular form.my java script is coding working fine in built in tabular form . But in my custom tabular form java script is not working ,since it is created as standard report(Display As).
pls help me.
with thanks and regards
sivakumar.GIs the appostrophe function test(pthis) *'* present in your javascript code...
If not can you post the same in apex.oracle.com and give the credential so that I can the why its not wroking
Regards,
Shijesh -
Allow Custom Text Entry for Drop down not working For Dynamic form
Dear All,
In drop down field Allow custom text entry is working fine if the form is save as a static pdf form file.But if the form is save as a Dynamic pdf form file it is not working.I can enter custom text in drop down field but after filling it up when I click on next field the text from the drop down is disappearing.
If any body can please help me to solve this problem.
Thanks a lot in advance
Regards
RakeshDear Jimmypham,
Thanks a lot for your quick response.But it's not working for me.I have even tried with a form having only single field and save it as a dynamic pdf file.In that form also it's not working.The text which I have entered is disappearing when I click outside of this field.
Can you please help me to find out the solution for this problem.
Regards
Rakesh -
Calendar Lov not showing in custom forms on EBS 12.1.1
Hi,
Previously i worked on Oracle Forms 6i but at present i am working on Forms 10g (Forms [32 Bit] Version 10.1.2.0.2 (Production)) with no patch.
I build the custom forms and compile that in custom top on EBS 12.1.1 but the calendar lov is not showing.
Build Step.
Used TEMPLATE.fmb for scratch.
Field name -Order date, Item Type- TextItem, SubclassInformation- TEXT_ITEM_DATE, DataType-Datetime, FormatMask -DD-MON-YYYY HH24:MI:SS,
List Of Values- ENABLE_LIST_LAMP, Validate Form List- No
Add 'KEY-LISTVAL' trigger in ORDER_DATE field and write 'calendar.show;' Trigger text but it's not working.
If Above steps apply on forms-6i then calendar lov populated on EBS 11.5.10.2.
I know this is very old topic and found lots of post for this topic but none of them help me.
Could any one help me if anything i missed for Forms-10g with EBS12.1.1 ?
Thanks in advance.Hi Srini,
Thanks for your reply.
You can see i followed the all the above steps as mentioned in the article.
But still it's not working.
If you implemented the Calendar LOV in EBS12.1.1 through forms 10g then please give me your steps.
AS per my understanding the below is the required steps.
1. Item Type - Text Item
2. Subclass Information - TEXT_ITEM_DATE
3. Data Type - Datetime or Date
4. List of Values - Enable_List_Lamp
5.Add key-LISTVAL trigger and written calendar.show;
Thanks
Edited by: user10977928 on Aug 6, 2012 1:25 AM -
Attachments not enabling for custom form
Hi,
I created a simple custom form based on a custom table having only 2 fields. The form works fine.
I tried adding attachment functionality by setting up -
- Document Entities
- Document Categories and
- Attachment Functions as given in many tutorials online.
I am still unable to see the attachment icon enabled.
I also registered the custom table using ad_dd.register_table and ad_dd.register_column and still the attachment icon is not enabled.
Even the profile option 'Indicate Attachments' is set to Yes at site level. Still does not work.
Is there any code that needs to be written on the standard attachments trigger in the fmb?
Please suggest what else I can do to enable the attachments icon/clip?
Thanks!Is there any code that needs to be written on the standard attachments trigger in the fmb?
Please suggest what else I can do to enable the attachments icon/clip?How to enable attachment button in a custom form
Re: How to enable attachment button in a custom form
Please also see old threads.
https://forums.oracle.com/forums/search.jspa?threadID=&q=Attachment+AND+Custom&objID=c3&dateRange=all&userID=494875&numResults=15&rankBy=10001
https://forums.oracle.com/forums/search.jspa?threadID=&q=Attachment+AND+Custom&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein -
Discoverer Viewer/Plus does not work with Custom EUL owned by APPS user
I am facing a unique issue with one of my customers. They have a custom EUL named XX_EUL_US and this does not allow connecting through discoverer viewer or discoverer plus.
I have worked with custom EULS before at other customers and this was never the case. I am being told that this issue is happening as the EUL owner is APPS instead of some other user. Is this the case? Can discoverer viewer not be used with EULs owned by apps user?
Please not that the Default EUL in ICX profiles is set to this EUL and no other EUL profiles are set.
Appreciate any thoughts on this.Hi,
I am not sure what you mean when you say you have a "custom EUL named XX_EUL_US". The EUL table should be created in a schema named XX_EUL_US. This will then be the EUL owner. You will then need to connect to Discoverer Administrator as the EUL owner and grant privileges to Apps users and/or responsibilities.
The user should then be able to connect to Discoverer Plus/View using their apps username, responsibility and password.
To be able to connect directly from an apps menu you need to have the ICX parameters set correctly. The ICX: Discoverer Default End User Layer Schema Prefix should be set to XX_EUL (without the _US). The ICX: Discoverer End User Layer Language Override should be set to US or not set at all.
Rod West -
GET_FILE_NAME NOT WORKING IN ORACLE FORMS 9I
PLEASE HELP THIS COMAND WORKING IN FORMS 5 BUT NOT
WORKING IN FORMS 9I TO OPEN THE DAILOG BOX AND GET IMAGE FILES
TO SAVE ON FORMS 9I PLEASE HELP.
declare
salfile varchar2(255);
begin
salfile:=get_file_name('C:\emp\',NULL,'JPG FILES (*.JPG)|*.JPG|','IMAGE LIST');
read_image_file(SALFILE,'ANY','ISLAM.EMP_IMAGE');
END;
THANKS & REGARDS.
M.Z.ISLAMForms 5 is a client/server application, so it looks for files on your local c: drive.
Forms 9i is a web application, so in principle it will now look on the server's c: drive.
However, get_file_name is not a standard Forms procedure. My guess it that it is one of your own procedures and it uses the d2kwutil library. This library won't work in a web environment.
If you want to do something with files on your local PC in a web envirionment, you will have to use webutil. -
Insert Statement is not working in Oracle Form
Hi all,
I have developed a custome form from the scarch.
I have one button on that for called "PROCESS"
when I cick on the PROCESS button it should insert record in to one custome table.
I have created custom table in custom schema and given grant to Apps user. as well as I created synonym in Apps for that table.
The code for WHEN-BUTTON-PRESSED
DECLARE
* l_user_id NUMBER:=FND_GLOBAL.USER_ID;*
* l_date DATE :=SYSDATE;*
BEGIN
* FOR i IN REFUND_DETAILS.transaction_tbl.FIRST..REFUND_DETAILS.transaction_tbl.LAST*
* LOOP*
* fnd_message.DEBUG('l_user_id'||l_user_id);*
* fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).OU_NAME);*
* fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).cust_account_id);*
* fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).receipt_number);*
* fnd_message.DEBUG(REFUND_DETAILS.transaction_tbl(i).refund_amount);*
INSERT INTO xxkci_ar_refund_details
VALUES(REFUND_DETAILS.transaction_tbl(i).OU_NAME,
REFUND_DETAILS.transaction_tbl(i).cust_account_id,
REFUND_DETAILS.transaction_tbl(i).receipt_number,
REFUND_DETAILS.transaction_tbl(i).refund_amount,
*'1223',--:CUSTOMER.pn_ref,*
*'SUCCESS',--:CUSTOMER.status,*
*'DONE',--:CUSTOMER.MESSAGE,*
l_user_id,
l_date,
l_user_id,
l_date);
* END LOOP;*
* COMMIT;*
END;
when I am running the form from front end and cliking the process button it is throughing the bellow error.
ora-01031 insufficient privileges.
As I have given all the grant for Apps user.
When I am running the same insert satement in toad for the Apps it is working fine no error.
Its Urjent please required a help on this.
Thanks
NiharHave you tried to give the grant to APPLSYS user as well and see if this helps?
If you still get the same error, please obtain the FRD file for details about the error -- http://forums.oracle.com/forums/search.jspa?threadID=&q=FRD&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
Thanks,
Hussein
Maybe you are looking for
-
Export done in WE8ISO8859P1 character set and WE8ISO8859P1 NCHAR character set . exporting pre-schema procedural objects and actions . exporting foreign function library names for user INVENTORY4P10 . exporting object type definitions for user INVENT
-
Can't send mail when connected to vpn
I'm hooked up with a private vpn service using OpenVpn. Everything works beautifully -- except that I can't send mail (receiving is no problem) because the SMTP ports offered through Mail 4.5 (ports 25, 465, 587) are blocked by many VPN providers as
-
Is there a cable for Thundrbolt to USB
Hello, i am asking if there is a cable from thunderbolt to usb because i need to conect two midi controllers and a soudcard to my mac pro and when i using a hub this must be powerd but i dont like hubs for using whit midi controllers thanks Gino
-
Will the iPhone ever be able to Record a Video
Will, the iPhone ever be able to record a video, like other cell phones do it does so much why not Video??
-
Itunes file sharing doesnt show any files on ipad 2!
imovie, keynote, photoforge2 - all of them have files, keynote has very importnt presentation. itunes and ios are the latest! Help please - got to make presentation tomorrow, but the file is stuck on ipad and i need it to transfer to pc!