Dynamic LOV problem (in Custom.pll)

Hi all


I have a requirment to create my own lov for the 'LOCATION' field in the order form. Through Custom.pll, I want to create a dynamic disk group.
I use the following code:

declare
l_chr_group_id recordgroup;
Chr.location_record_group varchar2 (1000): = "CUSTOM_RG";
Start
l_chr_group_id: =.
CREATE_GROUP_FROM_QUERY
(l_chr_location_record_group,
"select query);
l_errcode: = POPULATE_GROUP (l_chr_group_id);

IF (l_errcode <>0)
THEN
MESSAGE ('error');
ON THE OTHER
l_record_count: = GET_GROUP_ROW_COUNT (l_chr_group_id);

IF l_record_count > = 1
THEN
SET_LOV_PROPERTY ("DELIVER_TO_LOCATION",
GroupName,
l_chr_group_id
);
END IF;
end;

But it gives the error message saying "Cannot create a"CUSTOM_RG"group" when I try to enter some information in the LOCATION field.

could you please tell me where it is unable to create. Or is - that this dynamic LOV has any restrictions that I can be violated.

Thank you inAdvance.
Aush...

Aush,

Before you create the record group, check if its already exists or not. If it exists, then remove it and create it. To do this, add the following code before you create the built-in record group with CREATE_GROUP_FROM_QUERY .

     l_chr_group_id := FIND_GROUP(l_chr_location_record_group);
          IF NOT ID_NULL(l_chr_group_id) THEN
               DELETE_GROUP(l_chr_group_id);
          END IF;

Kind regards

Manu.

If my response or response from another person was helpful, please mark accordingly

Tags: Oracle Development

Similar Questions

  • Problem compiling CUSTOM.pll

    Hi all
    I am facing a strange problem, I made changes to my CUSTOM.pll on EBS 11.5.10.2 and compiled under $AU_TOP/resources and CUSTOM.plx is generated. However, none of the changes I did come into force. The old controls are still active.
    The same process is successful to our test server, when I compile the CUSTOM.pll the changes take effect immediately.

    I need your help.

    Thank you
    Burak

    Burak,

    Did you try the server for CUSTOM.plx files and see if you have more than one copy?

    Thank you
    Hussein

  • Create dynamic Lov in custom.pll

    Hi all

    I need to create dynamic Custom.pll LOV I want to associate this LOV and Recordgroup with the Flexfield. How can I do this?
    I created a dynamic disk group of the statement "CREATE_GROUP_FROM_QUERY".

    The point is, that I have a field on a standard form which calls the article number, and I want to display in the flexfield one that lists the folders that I show depends on the value that I have type in the item number field. I do everything in custom.pll. I have no customization of forms being the version 11.5.8.

    Please, can you help me?

    Cordially Mariano. -.

    Hello

    That you have created a group, you can take any defined LOV and associate the group property to set_item_property.

    And you can again change LOV the runtime to use the other group for registration according to the use.

    But LOV must be defined at the time of the design only, only record group can be associated with dynamically.

    Kind regards
    Kiran.

  • Why I can not customize LOV use custom.pll or customize as a Receivables Transaction?

    Hi all..

    I have business to customize LOV form transaction purposes.

    I try to use custom.pll or customize but I can't do it.

    I want to Bill of LOV customized for.

    It is a real request for Bill LOV to.

    Select cust_acct.account_number account_number,

    Party_name party.party_name,

    arp_etax_util.get_taxpayer_masked_value (Party.jgzz_fiscal_code) jgzz_fiscal_code,

    arp_etax_util.get_taxpayer_masked_value (Party.tax_reference) tax_reference,

    cust_acct.cust_account_id customer_id,

    cust_acct.fob_point fob_point,

    fob_point_meaning null,

    cust_acct.ship_via ship_via,

    ship_via_meaning null,

    cust_acct.primary_salesrep_id primary_salesrep_id,

    primary_salesrep_name null,

    primary_salesrep_num null,

    cust_acct.account_name account_description

    of hz_cust_accounts cust_acct,.

    part hz_parties

    where cust_acct.party_id = party.party_id

    party_name order


    I just want to change the label account_description to another name.

    or I try to add condition where. But same result, I see no change in this LOV.

    Please help me.

    Thank you...

    Can you check this http://kiranyarraalwaysreadytohelp.blogspot.com/2014/03/how-to-restrict-lov-using-oracle-form.html

  • Can create new LOV field with customizations or CUSTOM.pll?

    I must add a field that does not currently a LOV. Is this possible with customizations? If this isn't the case, it is possible with CUSTOM.pll?

    Thank you
    Kurz

    You cannot create a lov during execution. But you can assign a lov existing an element using SET_ITEM_PROPERTY('BLOCK.) ITEM', LOV_NAME, 'xx');

  • Problem with a field display only based on a dynamic LOV

    I have a field element / which is based on a dynamic LOV:

    Select the DESCRIPTION display_value, STATUSID return_value
    of CTCXFRREQS_STATUS_LOV
    order by 1

    .. .and I need to be only display on the page. However, if I do a field display only, the return value is displayed, not the display value. If I change it is a selection list field, the display value is shown, as I expect and need.

    The area is based on a static LOV before, and it worked perfectly then.

    Has anyone seen this before and have suggestions on how to get around?

    Hello

    In the item to change

    Display in the form: Display only
    Save Session State: Yes
    Based on: Display value for the list of values
    Named LOV: YOUR_LOV

    Kind regards

    Patel Kartik
    ------------------------------------------------------------------------
    http://patelkartik.blogspot.com/
    http://Apex.Oracle.com/pls/Apex/f?p=9904351712:1

  • Where can I find the source of the usefulness of the dynamic "LOVs? white paper

    I downloaded this white paper: -.

    http://www.Oracle.com/technology/products/forms/PDF/10G/community_paper_generic_lov.PDF

    and its title is:
    Form of Oracle 10 g - dynamic LOVs

    The problem here is that I can not find the AC power : -.

    • THE COLORS. PLL
    • LOV. PLL
    • GEN_LOV. FMB
    • INIT_LOV. FMB
    • TEST_LOV. FMB

    does anyone have an idea where I can find the Source?

    Please I want to link specific, as it does not exist in the white paper: -.
    {Sources of the utility can be downloaded from the Oracle Technology Network (OTN1).}

    Hello

    On the same page, the title is followed by a link called: zip
    (http://www.oracle.com/technology/products/forms/pdf/10g/community_paper_genlov.zip)
    Just click this link ;-)

    François

  • Could not open custom.pll error: BDP-PLI018 not found OEXOELIN library

    I have a custom.pll since a 11.5.10.2 instance. I try to open it with Forms6i

    In the regedit FORMS60_PATH is 'C:\orant\FORMS60; C:\orant\TOOLS\OPEN60\PLSQLLIB ".

    I get an error message
    BDP-PLI018 not found OEXOELIN library

    How this problem should be solved? Any help is appreciated.

    The file as oexoelin. PLL isn't here in one of the directories.

    So how do you forms to find the library if it is not in the FORMS_PATH? You need a local copy of all files in the \AU_TOP\RESOURCES directory on your local or network so forms will have access to these files. I'm not positive of the AU_TOP - it has been some time since I worked with EBS. Check with your DBA / SA confirm where these files are and how your development environment must be configured to resource these files.

    Craig...

  • CheckBox group in dynamic LOV-based form

    I try to add a set of check boxes to a form and have problems to get the data incoming or outgoing check box group. I try to use the check boxes to view the transactions that are affected by a specific notification. The table relation is a number to-many between the REG_NOTIFICATION and MISC_VALUES tables with the table NOTIFICATION_LINK providing the link-to-many. I've defined something (P950_REG_TRX) on the form as a checkbox and connected to my named dynamic LOV. The LOV source is:

    SELECT DISTINCT MISC_VALUES_DESC display_value, MISC_VALUES_CODE return_value
    of MISC_VALUES
    WHERE MISC_VALUES_CODE_TYPE = 'REG_TRX. '
    order by 1

    and he correctly generates the boxes with their labels. So far, so good!

    I've set up a page called GET_REG_TRX rendering process. It is an anonymous PL/SQL block and looks like:

    declare
    as_check_box htmldb_application_global.vc_arr2;
    I integer: = 1;
    Start
    for r in (select MISC_VALUES_SEQ_ID
    of NOTIFICATION_LINK
    where NOTIFICATION_SEQ_ID =: P950_NOTIFICATION_SEQ_ID) loop
    as_check_box (i): = r.MISC_VALUES_SEQ_ID;
    i := i 1;+
    end loop;
    +: P950_REG_TRX: = htmldb_util.table_to_string (as_check_box, ' :');) +
    end;

    When I run the application, the form fills correctly except for the boxes. They remain empty. I checked the State of Session data and P950_REG_TRX contains a set of colon delimited numbers that correspond to the data in the MISC_VALUES table. So why not showing that the checked checkboxes? _

    I also added a page that deals with the process for updating the database when the boxes were changed. It is also not update the NOTIFICATION_LINK table. Here's the source for the process:

    declare
    as_check_box htmldb_application_global.vc_arr2;
    Start
    delete from NOTIFICATION_LINK where NOTIFICATION_SEQ_ID =: P950_NOTIFICATION_SEQ_ID;
    as_check_box: = htmldb_util.string_to_table (: P950_CHECKBOX, ' :');)
    because me in 1.as_check_box.count
    loop
    insert into NOTIFICATION_LINK (NOTIFICATION_SEQ_ID, MISC_VALUES_SEQ_ID)
    values (: P950_NOTIFICATION_SEQ_ID, as_check_box (i));
    end loop;
    end;

    The part of the removal of this process works, but not the part of the update.  So, what's the problem here?

    I'd appreciate any help I can get on it.

    BTW - I followed the instructions clearly written in Simple HTML-DB Oracle Application Express of the Rampant to this day.

    Hello:

    What is the point of process for the page process that fills the box run? Make sure it is before that regions are rendered.
    In the post send process page reference you a page named 'P950_CHECKBOX', element while in the rendering of page-process page, you reference the item "P950_REG_TRX". Which of them is the checkbox element?

    CITY

  • Dynamic LOV pipeline

    Oracle apex 5.0

    That's what I created to display the terminal node.

    SELECT LPAD (' > ', 2 *(LEVEL-1),'. '). product_group_name "Product category", Product_group_id

    Of oms_product_group

    START WITH parent_id = 1

    CONNECT BY PRIOR Product_Group_id = parent_id;

    Result would be:

    ALL THE

    > Mobile

    > > android

    > > > Kitkat

    etc...

    I want to you use pipeline in dynamic lov thus result will be:

    ALL THE | Mobile | Android | KitKat

    How to get there

    Thank you

    Come up with a Solution that works for me hope it works for others as well.

    Select

    LTRIM (sys_connect_by_path (product_group_name, ' |)) '), ' |') l

    product_group_id v

    of oms_product_group

    connect NOCYCLE. prior PRODUCT_GROUP_ID = parent_id

    Start by parent_id = 0

    siblings arrested by

    product_group_name

  • Maximum size of Custom.pll/Custom.plx

    Hi all

    Could someone tell me if there is no limit of size on custom.pll/custom.plx in EBS.

    All entries are greatly appreciated.

    Best regards

    gt1942

    Could someone tell me if there is no limit of size on custom.pll/custom.plx in EBS.

    No, unless you reach the limit of the file size of your type of system file or at the level of the BONE.

    Thank you

    Hussein

  • How to create a dynamic lov inside the table?

    Hi all

    I use JDeveloper11.1.1.1.4.

    My scenario is that I have page with editable < af:table >. Table contains a < af:inputListOfValues > inside the column. I want to do this < af:inputListOfValues >

    as a dynamic. Because according to users, we have to get the chronogram different objects in different point of view. I tried with below link it works very well for forms.

    But editable tables, I'm not able to create the dynamic lov.

    ADF practice: dynamic linking LOV

    Thank you

    David.

    Hello David

    have you tried ADFbc lov switcher?

    See - Andrejus Baranovskis Blog: Groovy - multiple LOV by attribute in JDeveloper 11 g

    http://www.Oracle.com/technetwork/developer-tools/ADF/learnmore/89-adfbc-lov-switcher-454168.PDF

    Thank you

  • Issue of CUSTOM.pll

    Hello

    It's on r12.1.3

    I have a requirement where needs of Oracle to locate a PDF file that is stored on an operating system based on a variable from the organizer of the order (value of FDF), file system and pull up the PDF document on the screen using the ZOOM button.

    The question is, how can I do custom.pll pointing the path to this PDF file.

    Is there an example that anyone can share? Or an API info?  I know this isn't a very rare req.

    Please read this thread.

    Rubi

    Here's the event procedure Custom.pll that I use to catch the simultaneous request_id of form FNDRSRUN.  You should be able to do something similar in your case.

    event (event_name varchar2) procedure is

    vareBV_Form_Name varchar2 (30): = Name_In ('system.current_form');

    vareBV_Block_Name varchar2 (30): = Name_In ('system.cursor_block');

    vareBV_URL varchar2 (4000);

    number of vareBV_RequestID;

    vareBV_Common_TOP varchar2 (4000);

    Start

    if(event_name='ZOOM') then

    If (vareBV_Form_Name = 'FNDRSRUN' and vareBV_Block_Name = 'JOBS') then

    vareBV_RequestID: = name_in('JOBS.) REQUEST_ID');

    Tool_Env.GetVar ('APPLTMP', vareBV_Common_TOP);

    vareBV_URL: = eBizViewer.Build_URL (vareBV_RequestID, vareBV_Common_TOP);

    fnd_utilities.open_url (vareBV_URL);

    end if;

    on the other

    null;

    end if;

    end event.

  • Event must be declared in Custom.pll

    Hello

    Calling a function using custom with these code my named (CUSTOM.pll) pll builder(10g) shapes

    event (event_name varchar2) procedure is

    form_name varchar2 (30): = name_in ('system.current_form');
    block_name varchar2 (30): = name_in ('system.cursor_block');
    nom_element varchar2 (30): = name_in ('system.cursor_item');

    Start

    BEGIN

    IF (form_name = 'OEXOEORD' AND block_name = 'ORDER' AND event_name = 'WHEN-NEW-FORM-INSTANCE')
    -Initialize values global popup is 'n'.
    OR (form_name = 'OEXOEORD' AND block_name IN ('COMMAND', 'LINE') AND in('WHEN-VALIDATE-RECORD','OM_PRE_BOOK_EVENT','OM_PRE_ACTION_EVENT') AND (name_in('ORDER.) event_name) PAYMENT_TYPE ") = 'Credit card'))"


    THEN

    XXtest.EVENT (event_name);

    END IF;
    END;

    end event.

    I've done the necessary to the xxtest.pll on the server it side finish compiling and created a xxtest.plx file to the same location. the location of custom.pll.


    If I do the compilation side server on custom.pll. The following error occurs

    Compile the CUSTOM library...
    Invalidate the package Spec CUSTOM...
    Invalidate the body of Package CUSTOM...
    Compile the package Spec CUSTOM...
    Compilation of the bodies of Package CUSTOM...
    ERROR 201 to 210, column 4 line
    identifier ' APPS. XXtest' must be declared
    ERROR on line 210, column 4 0
    Declaration ignored
    Custom library closing...
    Build custom errors:
    PL/SQL ERROR 201 to 210, column 4 line
    identifier ' APPS. XXtest' must be declared
    PL/SQL ERROR on line 210, column 4 0
    Declaration ignored

    Could not generate the library.

    You must attach the XXPYX.pll to CUSTOM.pll before compiling CUSTOM.pll

    See 9-11 in this presentation slides - http://repo.solutionbeacon.net/BehnCustomPllMethodologyatNIHSROAUG.pdf

    HTH
    Srini

  • Dynamic LOV TO 6i tabular

    Hello
    I have in the form of two Items (ID, DESC) and I want to fill LOV for item (ID) all records
    and record_Group & the SQL statements are stored in DB.

    ACTION: request in get after QUERY Trigger for each record in a table - the stored SQL-statements of table then put it in the record_group dynamics and fill the dynamic LOV.



    Please advice,

    Thanks in advance.

    but in a times-news-record-instance, you can change the assigned lov

    If you have any 'column mapping"in your LOV you need to reproduce this for each new LOV. It would be simpiler to use the same LOV and the column mapping and simply change the Group of record used by the LOV for each record. You can use the Set_LOV_Property() built into the trigger once - new - Record - Instance.

    Craig...

Maybe you are looking for

  • CFP-2020-di-330

    Hello world! I am trying to make an acquisition of digital input using the CFP 2020-di-330, but I do not understand how to make the physical connections. In the diagrams, I see two entries INa and INb, but I don't know who I have to use since I work

  • Infested scammed my Inbox...

    .. made with an attachment that does not open: Attention Microsoft online winner, You have been selected as the winner for the help of the Microsoft Services. To findattachment email with more details. Congratulations on behalf of staff &Microsoft Go

  • I need lenovo G530 Driver for windows server 2008

    Hello I have a Lenovo G530 4666 series, I have installed the windows Server 2008 operating system and I can't install drivers. I need drivers for display adapter, sound and wireless LAN adapter

  • Table of standard color for the graph of the intensity

    Hi all I am trying to change the color table of a graph of intensity of some tables in color standard, such as 'rainbow', 'gray', 'seismic', 'waves of lava","hot metal","purple haze", etc.. I can't find not "Rainbow" and "grey" somewhere for the exam

  • M127fw MVP Pro: Asks Me to insert the cartridge

    I have a HP Pro MFP M127fw, clear blue sky it asks me to insert a cartrdige.  I had a version more recent in it, but then put in another.  Same thing.  Was working fine and now does not seem to recognize the cartridge.  And Yes, I use the right HP ca