Forms Personalization using DB function
Hi,
In Shipping transaction form If the shipping quantity is more than ATR quantity then I have to show a message box.
I created a DB function using inv_quantity_tree_pub.query_quantities API to get ATR quantity. for this function item number and organization code is the two in parameters and it returns ATR quantity.
I used this function in forms personalization.
Trigger Event - WHEN-VALIDATE-RECORD
Trigger Object - DVLB
Condition - :DLVB.SHIPPED_QUANTITY<= ATR_QTY(:DLVB.ITEM_NAME,:DLVB.ORGANIZATION_CODE)
Processing Mode - Both
Level - Responsibility
Message - Shipping quantity is more than ATR quantity.
I created the above but it is not showing any message or error. I don't know what I missed.
Thanks in advace for your help.
922627 wrote:
Hi,
In Shipping transaction form If the shipping quantity is more than ATR quantity then I have to show a message box.
I created a DB function using inv_quantity_tree_pub.query_quantities API to get ATR quantity. for this function item number and organization code is the two in parameters and it returns ATR quantity.
I used this function in forms personalization.
Trigger Event - WHEN-VALIDATE-RECORD
Trigger Object - DVLB
Condition - :DLVB.SHIPPED_QUANTITY<= ATR_QTY(:DLVB.ITEM_NAME,:DLVB.ORGANIZATION_CODE)
Processing Mode - Both
Level - Responsibility
Message - Shipping quantity is more than ATR quantity.
I created the above but it is not showing any message or error. I don't know what I missed.
Thanks in advace for your help.Please see if these docs help.
How To Use Custom PL/SQL API In Forms Personalization? [ID 456407.1]
OM: Sample Codes For Form Personalization In Order Management [ID 1266606.1]
Thanks,
Hussein
Similar Messages
-
Forms Personalization for multiple Functions
Hello, I am looking to make a forms personalization to the FORM FNDRSRUN (The standard Submit/View Request Form). This is generally no problem to set up the personalization itself, however FNDRSRUN is referenced as many different FUNCTIONS. It's my understanding that Forms Personalization only operates on FUNCTIONS. I am looking for a way to apply my personalization to every function who's form is FNDRSRUN. Is this possible (without typing the information into each individual function)?
Thanks
BrentIf the above does not work, you can try this -
1. Enable the necessary personalization at the function level.
2. Download the personalization using FNDLOAD to an ldt file.
3. Edit the function name in the ldt file and replace it with the desired function name.
4. Upload the ldt file back using FNDLOAD
5. Repeat steps (3) and (4) as many times as necessary (for each function)
I have not tested this process (will do so tomorrow when I have access to an instance and post the results here).
HTH
Srini -
Form Personalization using Special1 overwrites standard feature.
Hi All,
In PO Quotation form when we click Tools->Copy Document a new Form (PO_POXCPDOC) opens (form trigger Special1).
When I try to do form personalization at trigger special1 , Opening of new form (PO_POXCPDOC) cease to occur on clicking Tools->Copy Document.
Why is it happening like that?
Basically my requirement is to disable\enable "Copy Document" based on some custom logic.
Regards
PrajeshPrajesh,
What are your actions in the Special1 personalization? When the user clicks on Tools> Copy, the Special1 event fires. It executes your personalizations and then goes to the seeded action (opening the new form).
It is possible that your personalization has some actions (such as a form-trigger-failure or an ERROR message ) that prohibits the form from proceeding to the next line. What happens if the only action you have is a message of type SHOW?
Double check your condition. The condition may be firing for unintended conditions as well.
Hope this helps
Sandeep Gandhi
Independent Consultant -
Form personalization - new custom function - how to pass parameters?
Hi,
My requirement is to call a custom mod pl/sql program (html page) from purchasing when the "approve" button is pressed. I have it working, but don't know how to pass parameters to my function.
I have my function defined and registered. In the definition under "Web HTML" tab, I have my pl/sql procedure call under "HTML Call". Where do the parameters go?
On the customization of form POXPOEPO, I am using Builtin - Launch a function. I want to pass the po_header_id, so under "Parameters", I did "Insert Item Value" of :PO_HEADERS.PO_HEADER_ID
My custom HMTL page is popping up, but the parameter is not being passed. Is there something in the Function Definition where I can define the incoming paramaters?
Thanks.
PaulPost your question in below forum:
General EBS Discussion
-Anand -
Can't use Export Functionality from form?
Hi experts,
I got a problem now, can anyone help me??
This's my system information:
APPLICATION: 11.5.10.2
DATABASE: 9.2.0.6.0
And the problem is:
- Open 1 Form
- File > Export
- The progress bar update to 100%
- The browser is opened
And it suddenly disappear.
I've checked metalink and see this note: 423261.1 How to Troubleshoot Forms Hanging Using Export Functionality
I think it's fail in phase 4:
4) Finally generate the URL, and display the file in the browser window by calling the Forms built-in web.show_document
But i don't know how to solve this problem. Can anyone show me?
Thank you so muchHi everybody,
I solved my problem. In my case, it's because tablespace CTXD was not have enough free extent. You can check this note
Information You Should Upload When Creating an SR for File Export and Attachments Doc ID: Note:427964.1
Hope that helps, -
POST COMMIT FORM issue in Oracle Forms Personalization
Hi All,
I have following requirement in Oracle Forms Personalization :
1. User updates a records( from the table xxtable) in the Form
2. Following this, on saving the record, a stored procedure is called to pick those records which are updated/inserted and display. But its displaying still the old values, since commit has not occured.
3. I have added new forms personalization using POST-DATABASE-COMMIT and POST-FORM-COMMIT. However, none of this trigger is firing.
Used POST-UPDATE and POST-INSERT, but this trigger are not fetching the committed data but picking the old value.
Please let me know, how this requirement can be achieved in Oracle forms personalization?
Many Thanks in Advance.the difference in time is that you doing the following additional tasks in forms that you dont do in sqlplus:
1. you are retrieving data into the fields of the form.
2. creating the record.
which is a network round-trip for each record. AFAIK.
if its an option for you, I would create a global temporary table and then populate the temporary table with the required data. Then build a base table block based on the global temporary table. This way you can use the forms default functionality and its fast because you dont have to populate all the records on the form before you see the first record!
:>) -
Migrate forms personalization to an instance
Hi,
1) I have done 2 personalizations on a form. I need to download only one personalization. Is this possible to download only specific form personalizations using FNLOAD command?
2) Also If there are a few personalizations in an instance and I need to upload a few more personalizations using FNDLOAD. How can I do this without overwriting the existiing personalization in the instance?
Thanks in Advance..>
I need to download only one personalization
>
FNDLOAD downloads by function name - it is possible that a form has many function names. In your case, if the function name is the same for both personalizations, then both will be downloaded. It is possible to edit the downloaded extract file to remove the personalization you do not want to upload to the target instance.
>
How can I do this without overwriting the existing personalization in the instance?
>
You will need to do this in four steps. First, download the personalizations (say A, B, C) from the target instance (using FNDLOAD) to an extract file (say file_1). Next download the new personalizations (say D, E, F) from the source instance to extract file (say file_2). Third, merge (concat) the two files (file_1 and file_2). Lastly, upload the merged file (using FNDLOAD) back into the target instance.
HTH
Srini -
Purchase Order Form Personalization Help
I am new to form personalizations and I am trying to create a personalization that will automatically display the "last price paid" in the Price field in a Purchase Order form for an Item once the Item No. is entered. Also once the data is pulled up, they need to be able to edit the 'Price' field to enter the current price.
I am not sure how to setup my form personalization using the SQL view to I have that contains the "last price paid" data. I would really appreciate some help on how to do this in personalizations.
Thanks
KGForms Personalization is a feature of the Oracle Enterprise Business Suite (EBS) not a feature of Oracle Forms. Please post your question in the General EBS Discussion forum. If you have a general Forms question, by all means, ask it here! ;-)
Craig... -
Special Menu Form Personalization
Hi All,
In form personalization, using special menu entry we called a form from tools menu....
And it was working good...
Now we wanted to call different form with same name from tools menu....
So i unchecked the enabled checkbox.... and created new entry with same label name ....
But in tools menu its showing two label entries with same name.... the first one is not working which is ok.
But menu entry shouldn't be there..one working label has to show ...thats my problem....
Please anyhelp....
Thanks,
Kittu.Hello,
This is the "standalone" Forms forum. You'd better ask your question on the E-Business Suite forum ;-)
Francois -
Modify value of a field using a function - Form Personalization
Hi everyone I am doing a simple form personalization where i have to update a form field.
I have written a function and run it on the database that will modify the value.
But am not able to pass the value to the function .
Action Type: Property
Object Type: Item
Target Object: TACC_ACC_ASSGN.ACCOUNTING_FLEX
Property Name: VALUE
Value: apps.<myFunctionName>(the field value that i need to change)
But am not able to provide the field value.
Can anyone help me please.
Regards
LutchumayaI think you have to pass in this fashion:
{$:FUNCTION_NAME.FIELD_NAME} in order for the database function to understand the value of the field.
Thanks
Nagamohan -
Call Another Form using Forms Personalization
Hi All,
I have created a Custom form using TEMPLATE.fmb and created functions in Apps and assigned to Responsibility etc and it all works OK.
Now, I need to call this Custom form from another seeded(PO form) Via Tools -> Menu.
using Forms personalization I can get the Menu Entry and Actions to execute the Form successfully from the PO Form.
BUT, I need it to automatically query records in my CUSTOM form based on my current PO_HEADER_ID value on my PO Form.
How can I do it ?
Do I need to modify my Block and add some parameters and then pass a value via Personalization ?
Please help !
Thanks
ShankarDuplicate thread (please post only once).
calling Custom Form from Another Form
calling Custom Form from Another Form
Thanks,
Hussein -
Capture who changed data using Forms Personalization & changed to what data
Dear All,
When the data is changed to a new data (say the price has been changed), I need to capture
a) the original data
b) newly changed data
c) who changed the data
into a newly created custom table using FORMS PERSONALIZATION.
How do I do using FORMS PERSONALIZATION?
Thanks.
MatthewHey guys, I did it.... and it does work. Here is what I did.
I created a table to capture the required data.
CREATE TABLE XYKA_PRICE_CHANGE_DTLS
LIST_LINE_ID NUMBER,
PRODUCT_ID VARCHAR2(240),
PRODUCT_ATTR_VAL_DISP VARCHAR2(4000),
NEW_PRICE NUMBER,
DIV_NAME VARCHAR2(240),
PRICE_CHANGED_BY VARCHAR2(6),
PRICE_CHANGED_TIME DATE,
OLD_PRICE NUMBER
Create two procedures which needs to enter data into this XYKA_PRICE_CHANGE_DTLS table. We will pass values from FORMS PERSONALIZATION by calling this
procedure in the ACTION tab.
CREATE OR REPLACE procedure PRICE_CHANGE_DETAILS(price IN number,updated_by IN varchar2,disp IN varchar2,prod_id IN varchar2,line_id IN number,head_id in number,old_price in number) AS
v_name varchar2(240);
BEGIN
select name into v_name from qp_secu_list_headers_v where list_header_id = head_id;
insert into XYKA_PRICE_CHANGE_DTLS(NEW_PRICE, PRICE_CHANGED_BY,ITEM_NUMBER,PRICE_CHANGED_TIME,PRODUCT_ID,LIST_LINE_ID,PRICE_LIST_NAME,OLD_PRICE) values (price,updated_by,disp,sysdate,prod_id,line_id,v_name,old_price);
COMMIT;
END;
CREATE OR REPLACE procedure APPS.PRICE_CHANGE_DTLS(price IN number,updated_by IN varchar2,disp IN varchar2,prod_id IN varchar2,line_id IN number,head_id in number,old_price in number) AS
V_PRICE_CHANGED_TIME date;
V_PRODUCT_ID varchar2(240);
V_LIST_LINE_ID number;
V_count number := 0;
BEGIN
select count(*) into v_count from XYKA_PRICE_CHANGE_DTLS
WHERE LIST_LINE_ID = line_id AND PRODUCT_ID = prod_id AND NEW_PRICE = price;
if nvl(v_count,0) = 0 THEN
PRICE_CHANGE_DETAILS(price,updated_by,disp,prod_id,line_id,head_id,old_price);
else
null;
end if;
END;
In fact, I want to capture the current price and the changed price in pricing which is OPERAND field in qp_list_lines_v table (OM MANAGER > PRICING > PRICE
LISTS > PRICE LIST SETUP)
In the FORM PERSONALIZATION, enter the seq and the description
Seq 1
Description GLOBAL_VARIABLE
Level Function
In the CONDITION tab
Trigger Event WHEN-NEW-ITEM-INSTANCE
Trigger Object LIST_LINES.OPERAND
Processing Mode Not in Enter-Query Mode
Level Site
In the ACTION tab
Seq 1
Type Property
Description Operand Value
Language All
Object Type Global Variable
Target Object XX_EXIST_OPERAND_VALUE
PropertyName VALUE
Value ${item.list_lines.operand.value}
Seq 2
Type Property
Description USER
Language All
Object Type Global Variable
Target Object XX_USER_ID
PropertyName VALUE
Value =fnd_global.user_id
Seq 2
Description CONDITION & PASSING PARAMETER
Level Function
In the CONDITION tab
Trigger Event WHEN-VALIDATE-RECORD
Trigger Object LIST_LINES
Condition ${item.list_lines.operand.value} <>${global.XX_EXIST_OPERAND_VALUE.value}
Processing Mode Not in Enter-Query Mode
Level Site
In the ACTION tab
Seq 1
Type Builtin
Description PASSING_VALUE
Language All
Builtin Type Exceute a Procedure
Argument ='begin PRICE_CHANGE_DTLS('''||${item.list_lines.operand.value}||''','''||${global.XX_USER_ID.value}
||''','''||${item.list_lines.product_attr_val_disp.value}||''','''||${item.list_lines.product_id.value}
||''','''||${item.list_lines.list_line_id.value}
||''','''||${item.list_lines.list_header_id.value}||''','''||${global.XX_EXIST_OPERAND_VALUE.value}
||''');end'
Click APPLY NOW button. Save it and the close this FORMS PERSONALIZATION. Go back to the navigation and then click on the module. Try changing the price.
Your current and the newly changed price along with who changed it, time etc will be inserted into XYKA_PRICE_CHANGE_DTLS table.
Edited by: e-brain on Sep 14, 2009 11:21 AM
Edited by: e-brain -
URGENT: Error while importing personalizations using Functional Admin Resp
Hi all,
We are facing problem when importing personalizations using Functional Administrator responsibility.
We have personalised a standard oracle page in development instance and have successfully exported the personalizations in a file.
But when we try to import the same files in another instance, we get the following error when opening "Exported Personalizations" tab in "Personalizations> Import/Export" tab .
The path ' $HOME/ ' you specified does not exist. Please specify an existing path in the profile 'FND: Personalization Document Root Path'.
We have tried giving different paths in profile option 'FND: Personalization Document Root Path', but it gives the same error for every path in this new instance.
This was not the case with the development instance where we were able to import/export personalizations successfully.
Can anybody give inputs on this.
This is a bit urgent.
Regards,
Anas.What is the current value in the Profiles Form?
What is the value that is displayed in the "About this Page" -> "Profiles", from the Functional Administration screen.
Can you also confirm if the directory has 777 permissions? -
Launch orcale cz configurator using form personalization
Hi All,
We are trying to launch oracle cz configurator using form personalization ,can anyone tell me what are the paremters to be passed to the configuartor ,currently we are passing parameter from launch a function for a model as :
='database_id='||'dvoa083'||'&icx_seesion_ticket='||'F06E20B60E01E1F5DAC03223D56B3230'||'&ui_type='||'JRAD'||'&ui_def_id='||39980
but the page is giving null pointer exception:-
## Detail 0 ##
java.lang.NullPointerException
at oracle.apps.cz.runtime.oa.server.CZApplicationModuleImpl.setPageController(CZApplicationModuleImpl.java:785)
at oracle.apps.cz.runtime.oa.webui.AbstractMainPageController.processRequest(AbstractMainPageController.java:261)
at oracle.apps.cz.runtime.oa.webui.MainPageController.processRequest(MainPageController.java:64)
Regards,
debCan you post complete init message sent to the CZ Servlet URL? Can you try it in standalone mode? Can you try after clearing cache/cookies?
-
How to use a function PIPELINED in Forms 10g?
Hi guys,
When I tried to use a function PIPELINED in Forms, I received the message:
- PL/SQL function called from SQL must return value of legal SQL Type
FOR rec_dev IN (SELECT *
FROM TABLE(p1196.f_executa('01-aug-2010', -- pdDataInicial
'30-aug-2010', -- pdDataFinal
5, -- pnCodAdm
NULL, -- pnCdsCod
NULL, -- pnAdmsSrvCod
NULL, -- pnAcao
NULL)))
LOOP
vnQtdeEstornos := vnQtdeEstornos + rec_dev.qtde_estornos;
vnVlrTotalCredito := vnVlrTotalCredito + rec_dev.valor_credito;
END LOOP;
Can anyone help me?
CrisYou can't. One option would be to wrap your pipelined function in a view, or you could write a stored procedure which returns a strong ref cursor instead.
cheers
Maybe you are looking for
-
Hyperion Essbase Error: 1002097 Unable to load database [PlanType1]
Hello, I am running Hyperion Essbase 9.2.0.3 version. This has happened 3 times now since last 2 weeks. I had to restore the APP folder from previous backup. The message that i see is Error: 1002097 Unable to load database [PlanType1] I have searched
-
Hi All, I am having a problem adding Purchase Orders (service). I get an error that says ' No matching records found, G/L Accounts (OACT).' SBO 2005 A SP01 PL10 There is only one line on the PO and the accounts selected does have previous postings to
-
How to recover little movement of an electric board during optical inspection
Good day to all. I'm developing a software for an optical inspection task of the PTH mounted components. My software can already recover little deviations of the position of the PCB, thanks to the presence of a pair of fiducials, and so reposition th
-
Microsoft Word 2011 Saving Issues
Every 10 minutes or so, while I'm working on a document in Microsoft word, I get the following pop-up message/prompt "Word cannot complete the operation becuase too many files are open. (word work file A_1734368074.asd)" and then "word is unable to s
-
Bonjour, Je viens d'installer CC et tous les logiciels sont en anglais. Comment le mettre CC en français?