Creating LOV in Forms Personalization
Hi Friends,
I have the requirement to create LOV for the 'Description' field in Standard Form. That Description field doesn't have LOV. I want to create LOV for that field thru Forms personalisation. Is it possible. Pl. tell me the steps.
I'm using 11.5.10.2.
Thanks
Kavitha
You cannot use Forms Personalization to create a new LOV (you can use Forms Personalization to change what the form run). This is already explained in (Limitations of Forms Personalization [ID 420518.1], Point #1).
To create a new LOV, you will have to customize the form (pay attention to Oracle policy about customizing seeded forms/report) -- See the docs below for details.
Customization in Oracle Applications [ID 743490.1]
Sample CUSTOM Library Code To Customize Applications [ID 744065.1]
Oracle Forms in Applications FAQ [ID 177610.1]
How To Customize Standard Oracle Application Using Custom Library [ID 438920.1]
Oracle Application Developer Guide
http://www.oracle.com/technetwork/documentation/applications-167706.html
Thanks,
Hussein
Similar Messages
-
how to create a lov for a text item in forms personalization in release r12?
i created a record group with query but i dont know how to add a lov for that item.
Regards
SudharshanYou can attache a new record group to exisitng LOV and You can attach already exisiting LOV to a text item......but i don't think you can create a new LOV in forms personalizations..
and even when u add new record group to existing LOV...u cannot change number of columns or their names
CREATE_GROUP_FROM_QUERY (vrg_name_new, vlv_sql); to create new record group
SET_LOV_PROPERTY (---LOV NAME--- ,group_name ,---RECORD GROUP NAME-----); attach group to exisiting LOV
Set_Item_Property( ..., LOV_NAME, 'your lov'); attach exisiting LOV to an ITEM -
Addition of one column in LOV through Form Personalization
Hi
While approving a purchase order when we click on Forward check box the forward to field becomes enabled and it has the LOV containing employee names and employee numbers. I want to add another column in this LOV for employee positions through form personalization.
Can any one guide me how to do this.
RegardsHello,
To set another LOV, you should change the property of your combobox, named LOV_NAME with Forms perso, but you need some PL SQL code to create a new LOV.
See this example : [http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/custom-lov-using-custompll-883870]
One pre-requisite is that your new LOV should have the same number of rows and the same datatype, so I'm afraid you won't be able to do this just using Forms perso
Kind regards,
Xavier -
Create LOV in form that is not based on view
Hello
I have this problem: I'm making a form that is not based on view object. From the Data Controls I can drag a view as a combo box, but I cannot drag a view as a ListOfValues ...
So I must create a non-SQL-based View and create attributes of my form and attach the LOV to one of the attributes ?
Is there another solution ?
Thanks
agruevYes, input list of values must be model driven.
What we do is :
Create Dummy view as:
Select 1 as id,
null as code
from dual;
and we bind code with list of values view object.
Edited by: mkonio on Oct 19, 2009 12:27 PM -
Hi all,
I am new to forms personalization.How to restrict the LOV in forms personlaization.
I gave like below.
TriggerEvent: WHEN-NEW-ITEM-INSTANCE
TriggerOBject:RCV_TRANSACTION.VENDOR_LOT_NUM
Condition::RCV_TRANSACTION.VENDOR_LOT_NUM is null
Actions:
9)Builtin:Create Record Group from Query
Arugument:
select 'Dmage Issue' Transaction_Reason,'For Damage' Description from dual
union all
select 'POST' Transaction_Reason,'Increase and Decrease' Description from dual
union all
select 'Scrap Sales' Transaction_Reason,'For Scrap Sales' Description from dual
union all
select 'Self Consumption' Transaction_Reason,'Self Consumption' Description from dual
union all
select 'Theft Issue' Transaction_Reason,'For Theft' Description from dual
union all
select 'Vendor Debitable' Transaction_Reason,'for Vendor Debitable' Description from dual
Group_Name :REASON_CODE_XX
10)Property
Object Type :LOV
Target Object :REASON_CODE
Property Name :GROUP_NAME
Value:REASON_CODE_XX
I am getting error Line column doesnt match with LOV.
Please help me in this.
Thanks ,
MuthuHi,
My friend this issue is because that the new record group query is not matching the old record group query in the form. Can u share the record group query in the form.Or try to modify the newly created query in form personalization.
Ie: Try to match the same columns in the both query.
Check this link might be use full.
http://oraclemaniac.com/2012/08/11/how-to-modify-a-form-lov-using-forms-personalization/
Thanks & Regards
Srikkanth -
Trigger events are notvalidated the lov form personalization or custom.pll
Hi all,
The trigger events are not validated the LOV in forms personalization or custom.pll
any one help me
Regards,
M.Soundrapandian
Edited by: user588510 on Dec 15, 2008 9:27 PMi have checked with the new item instance and now i have given
In the message text when i have given this query it is displaying me with blank message box when there are no records which i dont want.and also saving it when i click ok .where should i modify my query so it displays message only when there are more than 3 records but should not save
trigger event : when new item instance
trigger object :repairs.lot_number
condition : :SR.ACCOUNT_NUMBER IS NOT NULL
AND :REPAIRS.SERIAL_NUMBER IS NOT NULL
Message text :
=SELECT 'There are a total of '||COUNT (*)||' Previously Repaired Records' "A" FROM CSD_REPAIRS CR, CS_INCIDENTS_ALL_B CS, CSD_PRODUCT_TRANSACTIONS CP
WHERE (
SELECT COUNT(*)
FROM CSD_REPAIRS CR, CS_INCIDENTS_ALL_B CS, CSD_PRODUCT_TRANSACTIONS CP
WHERE CR.REPAIR_LINE_ID = CP.REPAIR_LINE_ID
AND CR.INCIDENT_ID = CS.INCIDENT_ID
AND CS.ACCOUNT_ID = :SR.ACCOUNT_NUMBER
AND CP.prod_txn_status = 'RECEIVED'
AND CR.STATUS = 'Closed'
AND CP.SOURCE_SERIAL_NUMBER = :REPAIRS.SERIAL_NUMBER)>=3
Edited by: user10755387 on Aug 5, 2009 11:31 PM -
Plz!!!! Its urgent regarding Form personalization
Hi all ....
How to modify the query in existing Lov using Form Personalization in Oracle R12.
Plz Provide the steps to accomplish this task.
Actually i want to add more column value in lov window. PlzDuplicate thread (please post only once).
Help me Form Personalization in Oracle apps R12 - its urgent!!!!!!!
Help me Form Personalization in Oracle apps R12 - its urgent!!!!!!!
Please update your other thread instead of creating duplicate threads across the forums.
Thanks! -
How to do this Form Personalization in oracle purchasing
Hi All,
Am using oracle E-Buz -R12.1.3.
I trying to do one small form personalization
Resp --> Purchasing--> Requisitions--> Requisitions.
Now i ill query for one REQ number for example 1130011. Next ill enter a new line in the line level.
Requirement:
Once the line level data entry is completed, User will try to save the line.
So at this time. I need to fire one message that.
When the Destination Type is "Expense" and the user didn't enter the project details in the Distribution tab. Then i need to fire a popup message.
So i tried like this
Created a new FORM Personalization
Trigger event :WHEN-VALIDATE-RECORD
Trigger Object : LINES
Condition :
:SYSTEM.RECORD_STATUS IN ('INSERT' ,'CHANGED') AND :LINES.DESTINATION_TYPE_DISP = 'Expense' AND :DISTRIBUTIONS.REQ_LINE_QUANTITY IS NOT NULL AND :DISTRIBUTIONS.PROJECT IS NULL
And in Action i have created a message type and mentioned to show.
So Now the problem is when the user click the save button without entering the project detail the message is firing and i clicking three to four times ok and the record is getting saved.
So my requirement is when the pop messages comes when i click ok i need to go back to the Project block.
Can any one help in the requirement to get solved.
Thanks & Regards
Srikkanth.MHi;
1. I suggest check:
Setting Up - Using - Demonstrationg - Personalizations In Oracle Purchasing [ID 1391679.1]
2. You may get more quick response at Forum Home » Application Development in PL/SQL » Forms
Regard
Helios -
How to restrict LOV to a particular project type through form personalize.
Hi,
I got a requirement to restrict LOV to a particular Project type through form personalization in project accounting module. form name: PAXPREPR
i tried the below code in Builtin, but it didn't work
SELECT distinct PROJ.SEGMENT1, PROJ.NAME,
PROJ.DESCRIPTION, PROJ.PROJECT_ID
FROM PA_PROJECTS_ALL PROJ,
PA_PROJECT_TYPES_ALL TYPES,
pa_proj_elements ppe,
pa_proj_structure_types ppst,
pa_structure_types pst
WHERE PROJ.TEMPLATE_FLAG <> 'Y'
AND PROJ.PROJECT_TYPE = TYPES.PROJECT_TYPE
AND TYPES.CC_PRVDR_FLAG <> 'Y'
AND proj.project_id = ppe.project_id
and ppe.object_type = 'PA_STRUCTURES'
and ppe.proj_element_id = ppst.proj_element_id
and ppst.structure_type_id = pst.structure_type_id
and pst.structure_type = 'FINANCIAL'
and proj.project_type = 'GRANT'
order by PROJ.SEGMENT1
please suggest me where i went wrong.
Edited by: 925049 on Apr 3, 2012 2:49 PMIn the Control Data of FS00 there is field 'Authorization Group'
Please Create an Authorization Group for those user ID who can post TDS entries.
then Maintain this group for TDS related GL.
Then others will not able to post to this GL.
Regards,
Alok -
Forms Personalization for an LOV -- Issue
Dear All,
I want to restrict the Expenditure Types LOV in the Expenditure Entry screen in Projects Module. I am using forms personalization for this.
The restriction is done as per Operating Unit.
The LOV query used by the current system is:
/* Formatted on 2010/02/04 13:01 (Formatter Plus v4.5.2) */
SELECT et.expenditure_type, et.unit_of_measure uom, et.cost_rate_flag,
et.description, et.system_linkage_function system_linkage_function,
et.system_linkage_m
FROM pa_expenditure_types_expend_v et, pa_expenditure_types_desc_v dt
WHERE et.expenditure_type = dt.expenditure_type
AND :exp_items.expenditure_item_date
BETWEEN et.expnd_typ_start_date_active
AND NVL (
et.expnd_typ_end_date_active,
:exp_items.expenditure_item_date
AND :exp_items.expenditure_item_date
BETWEEN et.sys_link_start_date_active
AND NVL (
et.sys_link_end_date_active,
:exp_items.expenditure_item_date
AND ( et.system_linkage_function = :GROUPS.system_linkage_function
OR ( :GROUPS.system_linkage_function = 'ST'
AND et.system_linkage_function = 'OT'
AND ( NVL (
:expenditures.denom_currency_code,
:expenditures.acct_currency_code
) = :expenditures.acct_currency_code
OR ( :expenditures.denom_currency_code !=
:expenditures.acct_currency_code
AND et.cost_rate_flag = 'N'
ORDER BY et.expenditure_type
I am adding a DECODE condition to the above query, to make the following modified query:
/* Formatted on 2010/02/04 13:01 (Formatter Plus v4.5.2) */
SELECT et.expenditure_type, et.unit_of_measure uom, et.cost_rate_flag,
et.description, et.system_linkage_function system_linkage_function,
et.system_linkage_m
FROM pa_expenditure_types_expend_v et, pa_expenditure_types_desc_v dt
WHERE et.expenditure_type = dt.expenditure_type
AND :exp_items.expenditure_item_date
BETWEEN et.expnd_typ_start_date_active
AND NVL (
et.expnd_typ_end_date_active,
:exp_items.expenditure_item_date
AND :exp_items.expenditure_item_date
BETWEEN et.sys_link_start_date_active
AND NVL (
et.sys_link_end_date_active,
:exp_items.expenditure_item_date
AND ( et.system_linkage_function = :GROUPS.system_linkage_function
OR ( :GROUPS.system_linkage_function = 'ST'
AND et.system_linkage_function = 'OT'
AND ( NVL (
:expenditures.denom_currency_code,
:expenditures.acct_currency_code
) = :expenditures.acct_currency_code
OR ( :expenditures.denom_currency_code !=
:expenditures.acct_currency_code
AND et.cost_rate_flag = 'N'
AND DECODE (
(SELECT DISTINCT fdfcuv.application_column_name
FROM hr_operating_units hou,
pa_lookups pl,
fnd_descr_flex_col_usage_vl fdfcuv
WHERE pl.meaning = hou.NAME
AND fdfcuv.end_user_column_name = pl.predefined_flag
AND pl.lookup_type = 'PFC_OU_TO_DIVISION_LOOKUP'
AND hou.NAME = :GROUPS.operating_unit
AND fdfcuv.descriptive_flexfield_name =
'PA_EXPENDITURE_TYPES_DESC_FLEX'),
'ATTRIBUTE1', dt.attribute1,
'ATTRIBUTE2', dt.attribute2,
'ATTRIBUTE3', dt.attribute3,
'ATTRIBUTE4', dt.attribute4
) = 'Y'
ORDER BY et.expenditure_type
The Apply now button in Forms Personalization screen throws up the following error:
FRM-41076: Error populating Group.
followed by...
FRM-41072: Cannot create Group %s
I first query above is also getting accepted with a condition like "AND ROWNUM = 1'
but the 2nd query is throwing errors...
Please Help.This worked..
Just I don't have to press the Apply Now button.
Just saved and executed it in form perfectly
Thanks !! -
Steps to create LOV-form not correct
Hi,
In order tot create an LOV-form we follow the steps from the Headstart 6.5 user guide (we are using Designer 9i).
We come to the conclusion that these steps are not complete/correct for Designer 9i.
First the keys f7 and f8 are not available with qmsso$modal_dialog_window, so we use our own template object which is basically the same but set to document window.
Second the code to invoke the LOV is not generated so we have to manually add this code in Designer.
Can anyone confirm out findings on this matter?
Kind regards,
PascalForms does not have a Built-in for dynamically creating an LOV; these objects can only be created in the Forms Builder during design time. You can, as numerous people have tried to demonstrate, change the Record Group an LOV uses dynamically. Unless you are changing the Column Mapping Properties of the LOV, using different Record Groups to supply the data for an LOV should work for you. If you need to change the Column Mapping Properties, then you will need to create multiple LOV objects with the different mapping you need and then assign the LOV to your Item dynamically.
Hope this helps,
Craig... -
How to create a new check box using form personalization.
Hi Frs,
I have a requirement to create a new check box in AP form using form personalization.
Pls help me in achieving this.
Note: we have to use only form personalization not custom.pll.
Thanks
RajeshPl see ML Doc 420518.1(Limitations of Forms Personalization) for a list of things you cannot do with personalization - among them is creating new form objects such as checkboxes.
HTH
Srini -
Create lov at run time in oracle form 10g
i want to create a lov and record group dynamically at run time..
i have the code in when-form-instance..
Declare
v_lov lov;
rg_id recordgroup;
gc_id groupcolumn;
tem_num number;
v_rg_id number;
begin
rg_id := find_group('My group');
if id_null(rg_id) then
rg_id := Create_group('My_group');
gc_id := add_group_column(rg_id,'emp_id',number_column);
gc_id := add_group_column(rg_id,'ename',char_column,15);
end if;
v_rg_id := POPULATE_GROUP_WITH_QUERY('My_group','select t.employee_id,t.first_name from employee_mt t where t.employee_id in (103,104,106)');
--tem_num :=populate_group(rg_id);
v_lov := find_lov ('LOV_NAME');
set_lov_property(v_lov,group_name,'My_group');
set_item_property('VEH_SEARCH.TXT_VEH_CODE',lov_name,'lov');
End;
now i have problem...whether i create first a lov and record group at design time or not????
if i create a lov and have the recordgroup column then what is the benefit of dynamically lov...???
thanksHi.
It is possible with some restrictions. Let's say you agree there are max 5 columns in your LOV-s. That way you can easily create LOV to RG colums mapping (what Andreas pointed out).
For example :
1. in design time create RG with dummy columns (for example : c1, c2, c3, c4, c5)
2. in design time create 1 LOV with 5 predefind columns (for example : c1, c2, c3, c4, c5)
3. populate that record group with select (selecting 5 columns. If you do not have 5 columns in your table on which LOV is based just select dummy columns for the rest of the columns) aliasing them as c1, c2, c3, c4, c5 (same as in LOV from step 2)
4. asign that RG to the LOV in step 1
5. in LOV show just "non-dummy" rows form step 3
The rest you already figured it out.
The benefit of this approach is questionable as the same can be done creating more RG and LOV-s in design time. So I believe this is the matter of developer preferences. By the way the concept I described we use on daily bases dealing with LOV-s.
Best regards. -
Form Personalization: is that a LOV ? (Screenshot inside)
Hi,
In the following path: AP --> Invoices --> Entry --> Invoices --> Match
I need to personalize the Matching Type List, Please see screenshot:
(Screenshot link: http://imageshack.us/photo/my-images/64/unledvl.jpg/)
I need to only show Item & Tax (i don't want Freight & miscellaneous to appear in the list)
It doesn't seem to be a LOV,
Please Advise how can i personalize this list through from personalization.
Best Regards,Have you reviewed the docs in this thread?
LOV Validation using Forms Personalization
Re: LOV Validation using Forms Personalization
Thanks,
Hussein -
Create SPECIALXX_CHECKBOX menu using form personalization
How to create SPECIALXX_CHECKBOX menu using form personalization?
You should ask that question in an eBusiness-related forum, maybe here OA Framework
Maybe you are looking for
-
Problem in customer correspondence request
Hi All, For a customer, in FBL5N, I go to environment>Correspondence>Request. Then I go to Display. The form is displayed. When I want to come back, there are 2 errors FB815 - Possibly errors due to doc.reorg.in co.code XXX acct type D acct XXXXX ; c
-
I don't know if this is a fault on my part or not, it probably is though. I have been at this for over two days now, trying to figure out a way to do convert quicktime to swf. I managed to create a flv file of the movie, the audio and video works wit
-
Red Small Symbol keeps appearing on Desktop
I keep getting a small, red "<>" in the lower left hand corner of my desktop... anyone know what this is? it keeps appearing and disappearing... thanks
-
ITunes does't recognize my iPhone
iTunes does't recognize my iPhone
-
How do I get to start my program only if I hit a START button?
Hi there, My idea on improving my program is to install a START button and that the program will only run if i hit it. Even if i click on the RUN button, there were still be no effect until i click the START button. I would be very glad to receive id