APEX 3.2 custom items

Hi,
I created an HTML Region and in the source I enter the follow code
<form id="myForm">
   <input type="text" id="myText" />
</form>1. Can we use value of myText in pl/sql process?
2. Can we be able to save the session state for myText?
Reason for asking above Question : For more flexibility in UI Design at run time using javascript but still be able to use page process instead of ondemand process.
Thanks,
Shijesh

Your solution was helpful , but I'm stuck with "CHECKBOX based on LOV". In 3.2 I could not find option to create checkbox based on lov.No, there isn't a built-in one.
The function requirement is enter value in checkbox 1 and select one or many of the checkbox options , checkbox can have 50+ options based on table I would suggest that it's time to rethink this. Even if you could generate the checkboxes from the LOV, 50+ checkbox options is not a good UI design. It would be likely to be very confusing for users, particularly in the multi-columnar layout you've proposed.
If the underlying requirement is to enable users to make a multiple choices from a set of 50+ options then the only APEX control where this would be possible in your columnar form is a Re: How to use multiselect list in tabular form generated using one of the <tt>apex_item.select_list_from...</tt> methods. To do it with checkboxes requires a custom JavaScript approach.
However, if I had to present users with an array of 50+ multiple choice options and other controls I would not do this in a tabular form. With that many options it's easier for the user to concentrate on a single record at a time. Standard single row APEX forms also provide better controls for managing this information: shuttle; list manager; multiple select list.

Similar Messages

  • Report FBL1N with flag Customer items

    Hello,
    When I set the flag "Customer Items" in the selection screen of the report FBL1N I can display the vendor items and also the related custome items.
    The problem is that I can display the list of all the vendors and below the list of the customers with the total balance.
    I'd like to display the vendor items with the balance  of the vendor invoices then the related customer items with the balance of the customer invoices and then the balance of the vendor and customer invoices.
    Is it possible?
    Please let me know.
    Thanks a lot in advance
    Kind Regards,
    Emanuela

    Hello,
    Thanks for your answer.
    My problem is another one.
    I have two vendors:
    - Vendor A
    - Vendor B
    This to Vendors are linked to the following Customers:
    - Customer A
    - Customer B
    If I execute the FBL1N with the falg customeer items, I can display:
    1) List of Vendor A invoices and total amount
    2) List of Vendor B invoices and total amount
    3) List of Customer A invoices and total amount
    4) List of Customer B invoice sand total amount
    5) Balance of Vendor (A + B) and Customer (A+B) invoices
    I'd like to find a way to modify the sequence because I need to have:
    1) List of Vendor A invoices and total amount
    2) List of Customer A invoices and total amount
    3) Balance of Vendor A and Customer A invoices
    4) List of Vendor B invoices and total amount
    4) List of Customer B invoices and total amount
    5) Balance of Vendor B and Customer B invoices
    Only in this way I can display properly the result of compensation for each couple of Vendor/Customer.
    In the standard display the result has no meaning.
    Thanks a lot for your help
    Cheers,
    Emanuela

  • Fbl5n: The printer provides me only one customer items for each page...

    Hi all,
    launching t.code FBL5N, and printing the repost list, the printer provides me only one customer items for each page...
    I'd like obtaining more customer items for each page...
    What to do?
    Thanks

    Hi Umberto..
    Thats how the standard report works..
    To meet your requirement, you would probably need to look at another standard report.
    In case you need further clarification, please feel free to write to me..
    Good Luck!
    Lucid-Mind...

  • Customer Item Open Interface Validation

    Hi Folks,
    I have to write package for customer item open interface ,
    can anyone let me know what are the validation required or if any one have package written ,please share it with me .[email protected]
    Waiting for your kind response.
    Thanks in advance....
    Regards
    RP

    Hi
    Please find the code below for Customer Item Interface
    HTH
    Dinesh
    declare
         ex_not_ok     exception          ;
         Cursor      cur_cust_item  is
         select     b.*,rowid from btl_cust_item b      ;
         rec_cur_cust_item     cur_cust_item%rowtype;
         vc_rowid          varchar2(50);     
         vc_error_desc          varchar2(2000);
         vc_org_code          varchar2(20)     :='F02';
         vc_org_id          varchar2(20)     ;
         vc_inv_item          number          ;
         vc_cust_id          varchar2(50)     ;
         vc_create_by          number;
         vc_last_updated_by     number;
         vc_user_name          varchar2(100);
         vc_login_name          varchar2(30)     := '&1';
         vc_master               number;
    begin
         vc_org_id := &2 ;
      vc_master := &3;
         begin
              select      user_id          ,last_updated_by      ,user_name 
              into     vc_create_by     ,vc_last_updated_by     , vc_user_name     
              from      fnd_user
              where      user_name = vc_login_name;
         end;
         open     cur_cust_item;          -- open cursor
         loop
              begin 
              fetch     cur_cust_item
              INTO     rec_cur_cust_item;
              vc_rowid     := rec_cur_cust_item.rowid;
              exit when cur_cust_item%NOTFOUND;
              -- perform the mandatory validations
              -- 1. Check the validity of the customer
              begin
                   select      count(*)
                   into     vc_cust_id
                   from      ra_customers
                   where     upper(customer_number) = upper(rec_cur_cust_item.customer_number);
                   if      vc_cust_id > 0 then
                        null;
                   else
                        vc_error_desc := rec_cur_cust_item.customer_number||' '|| rec_cur_cust_item.customer_name ||' - Customer Number  Does not Exist in Ra_customers';
                        raise     ex_not_ok;
                   end if;                
                   exception
                        when no_data_found then
                        update      btl_cust_item
                        set     process_flag = 'E',
                             error_message = 'XREF-  Customer Does not exist '||vc_error_desc
                        where     rowid     = vc_rowid;
              end ;
              -- 2. Check that the Customer Item Is not Null
              begin
                   if     rec_cur_cust_item.customer_item_number is not null then
                        null;
                   else
                        vc_error_desc := rec_cur_cust_item.Customer_Number ||' - '|| rec_cur_cust_item.customer_item_number || ' - Customer Item has no value    ';
                        raise ex_not_ok;
                   end if;
              end;
              -- 3. Validate the Inventory Item
              begin
                   select      count(*)
                   into     vc_inv_item
                   from      mtl_system_items  a, org_organization_definitions b
                   where     a.organization_id            = b.organization_id
                   and     rec_cur_cust_item.inventory_item = segment1
                   and     a.organization_id             = vc_org_id;
                   if     vc_inv_item != 0 then
                        null;
                   else
                        vc_error_desc := 'Inventory Item '|| rec_cur_cust_item.inventory_item ||'  is not valid/exist in mtl_system_item ';
                        raise ex_not_ok;
                   end if;
              end;
        rec_cur_cust_item.commodity_code := 'MISC';
              insert into mtl_ci_interface (               
                        PROCESS_FLAG          ,
                        PROCESS_MODE          ,
                        TRANSACTION_TYPE     ,
                        CUSTOMER_NUMBER          ,
                        CUSTOMER_NAME          ,
                        CUSTOMER_ITEM_NUMBER     ,
                        ITEM_DEFINITION_LEVEL     ,
                        COMMODITY_CODE          ,
                        INACTIVE_FLAG          ,
                        LOCK_FLAG          ,
                        LAST_UPDATE_DATE     ,
                        LAST_UPDATED_BY          ,
                        CREATION_DATE          ,
                        CREATED_BY          ,
                        --LAST_UPDATE_LOGIN     ,
                        ERROR_CODE          ,
                        ERROR_EXPLANATION               
              values
                        '1'                                ,     --PROCESS_FLAG
                        '1'                                ,     --PROCESS_MODE
                        'CREATE'                     , -- TRNASACTION_TYPE
                        rec_cur_cust_item.customer_number     ,     --CUSTOMER_NUMBER          
                        rec_cur_cust_item.customer_name           , --CUSTOMER_NAME          
                        rec_cur_cust_item.customer_item_number, --CUSTOMER_ITEM_NUMBER     
                        '1'                          , --ITEM_DEFINATION_LEVEL
                        rec_cur_cust_item.commodity_code      , --COMMODITY_CODE
                        '2'                          , --INACTIVE_FLAG
                        'N'                          ,     --LOCK_FLAG
                        sysdate                      , --LAST_UPDATE_DATE
                        vc_last_updated_by                    , --LAST_UPDATED_BY
                        sysdate                          , --CREATION_DATE
                        vc_create_by                     , --CREATED_BY
                        --'10'                          , --LAST_UPDATE_LOGIN
                        'N'                          , --ERROR_CODE
                        ' '                             --ERROR_EXPLANATION
              Insert into mtl_ci_xrefs_interface (
                        PROCESS_FLAG          ,
                        PROCESS_MODE          ,
                        TRANSACTION_TYPE     ,
                        CUSTOMER_NUMBER          ,
                        CUSTOMER_NAME          ,
                        CUSTOMER_ITEM_NUMBER     ,
                        ITEM_DEFINITION_LEVEL     ,
                        INVENTORY_ITEM          ,
                        MASTER_ORGANIzATION_ID     ,
                        PREFERENCE_NUMBER     ,
                        INACTIVE_FLAG          ,
                        LOCK_FLAG          ,
                        LAST_UPDATE_DATE     ,
                        LAST_UPDATED_BY          ,
                        CREATION_DATE          ,
                        CREATED_BY          ,
                        --LAST_UPDATE_LOGIN     ,
                        ERROR_CODE          ,          
                        ERROR_EXPLANATION
              Values
                        '1'                    ,      --PROCESS_FLAG          
                        '1'                    ,      --PROCESS_MODE          
                        'CREATE'               ,      --TRNSACTION_TYPE          
                        rec_cur_cust_item.customer_number,     --CUSTOMER_NUMBER          
                        rec_cur_cust_item.customer_name     ,      --CUSTOMER_NAME          
                        rec_cur_cust_item.customer_item_number, --CUSTOMER_ITEM_NUMBER     
                        '1'                    ,     --ITEM_DEFINATION_LEVEL     
                        rec_cur_cust_item.inventory_item,     --INVENTORY_ITEM
                        vc_master               ,      --MASTER_ORGANISATION_ID
                        '1'                    ,     --PREFERENCE_NUMBER
                        '2'                    ,     --INACTIVE_FLAG     
                        'N'                    ,     --LOCK_FLAG     
                        sysdate                    ,     --LAST_UPDATE_DATE     
                        vc_last_updated_by          ,     --LAST_UPDATED_BY          
                        sysdate                    ,     --CREATION_DATE          
                        vc_create_by               ,     --CREATED_BY          
                        --'10'                    ,     --LAST_UPDATE_LOGIN     
                        'N'                    ,     --ERROR_CODE                    
                        ' '                         --ERROR_EXPLANATION     
    --dbms_output.put_line( ' Inserting into reference table - done');
              exception
                   when ex_not_ok then
                        update      btl_cust_item
                        set     process_flag = 'E',
                             error_message = 'XREF-'||vc_error_desc
                        where     rowid     = vc_rowid;                    
              end ;
         end loop;
         commit;
         begin
               dbms_application_info.set_client_info(' ');     
         end;
         dbms_output.put_line ( ' End time ' || to_char( sysdate, 'DD-MON-YYYY HH24:MI:SS'));
         exception
              when others then
                   dbms_output.put_line( Sqlcode || ' ' || Sqlerrm );
    end ;
    /

  • Customer Item Open Interface

    Does anyone know what the Lock_flag is for the customer item open interface and what it should be set to when creating customer items? It is a required field but it is not explained in the 11.5.9 documentation.

    Hi
    I didn't find this flag in TRM of 11.5.10. In what table did you find it?
    Regards,
    Ricardo Cabral

  • Data provider problem in custom item renderer

    I have a complex, custom item renderer for a list. I add
    items that I extracted from an xml to the data provider using the
    IList interface. But when displaying the list, the items are all
    screwed up. Each rendered item has some parts which are initialized
    as different components depending on the values from the xml. This
    initialization is called in the item renderer for the
    creationComplete event.
    The weird thing is that when I output the dataProvider to
    check its values, some of the items have internal uids sometimes
    and sometimes they don't. If I output the dataProvider right after
    I add the items to it, none of them get internal uids. But from the
    initialize method, some of them do and some don't.
    To make things weirder, sometimes, as I scroll up and down
    the list, the dynamic components get all switched up. I'm either
    having a problem with internal uids or with the creation policies
    for lists. Or it's probably some simpler mistake I have yet to see.
    Anyone have any idea where the problem could lie? Any help is
    greatly appreciated.

    Any successful render must:
    1) override the set data property of the component
    Further, best practice is to store any data you need in the
    override set data(), and call invalidateProperties(). Then do the
    actual work in an override commitProperties() function.
    The framework is smart about when to call commitProperties
    efficiently. set data() gets called much more often.
    Tracy

  • Display filename in url for custom items

    Hi - I'm rying to find out how to open a word doc in a browser and display the FILENAME (xyz.doc) instead of the NAME (123.doc) - which comes from the wwdoc_document$ tbl .
    The word document was added to a portal page via a file attribute within custom text item. It seems that the document is not referenced within the actual page group when using the custom item compared to using standard file item format.
    I can open the doc in browser using the NAME format - eg, .../portal/pls/portal/docs/1/1234.doc but I need to open via the PAGEGRP/FILENAME format eg, .../portal/page/portal/PAGEGRP/xyz.doc
    BTW - We're using portal 10.1.4
    Any ideas appreciated
    Cheers,
    Justin

    Hi guys,
    I finally discover the solution. Just try this:
    First, create a Procedure like this:
    PROCEDURE ShowSaveDoc (pFile wwdoc_document$.name%TYPE) IS
    v_BlobContent wwdoc_document$.blob_content%TYPE;
    v_MimeType wwdoc_document$.mime_type%TYPE;
    v_Filename wwdoc_document$.filename%TYPE;
    BEGIN
    SELECT blob_content, mime_type, filename
    INTO v_BlobContent, v_MimeType, v_Filename
    FROM wwdoc_document$
    WHERE name = pFile;
    owa_util.mime_header(v_MimeType, FALSE);
    htp.p('Content-Length: ' || DBMS_LOB.getlength(v_BlobContent));
    htp.p('Content-Disposition: attachment; filename="' || v_Filename || '"');
    owa_util.http_header_close;
    wpg_docload.download_file( v_BlobContent );
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    htp.p('Error - No Data Was Found');
    WHEN OTHERS THEN
    htp.p('Error - ' || || SQLERRM);
    END;
    On the HTML code where you have the link try this:
    htp.p('< a id="someid" title="download" alt="download"
    h_ref="/portal/pls/portal/portal.galeria_pkg.showsavedoc?pFile=' ||rec.id_doc || '"> Download '||rec.docDescription||'</a>');
    where the rec.id_doc is the wwdoc_document$.name of your document.
    Try it and tell me if it worked.
    Its Working for me.
    Thanks.

  • How to force Portal not to display item content for a custom item

    Hi,
    I've read in several places questions about rendering an Item in a custom way, without letting portal
    display the item content, if you read along I've discovered a SIMPLE WAY to force portal not to
    display the content item.
    As per bugs and requests on metalink it seemed that in many versions of Oracle Portal (mine is 9.0.4.1)
    this is impossible, since even if we remove the "Item Content" from the list of displayed attributes in the
    region, Portal does display it anyway, just after every other Attribute.
    - Re: using an item type procedure
    - Metalink BUG # 3998251 "ENH: SHOULD BE ABLE TO HIDE "ITEM CONTENT" FOR TEXT ITEMS OR NEED A NEW ITEM TYP" and is being looked into internally whether it is feasible to include this in future releases.
    - Metalink Doc ID:      Note:290534.1          Subject:      Unable to Hide the "Item Content" Attribute for a Text Item     
    Mine scenario was the usual one:
    -oracle portal 9.4.0.1
    -a custom item based on custom text (so as to have the RTE to edit HTML).
    -A few attributes that help me define the class of an enclosing DIV tag that I wanted to put (a class and an ID)
    -A plsql call associated to the custom item, with the flag "display inline" checked
    -The dirty HTML generated by the built-in Oracle RTE (with BODY and HTML tags enclosing the actual HTML)
    -The region that will contain the item is set so that just the "Function Call" is (or should be) displayed
    I wanted to control entirely the display of the item text, while enclosing it in a custom DIV tag.
    After a few tries, one of which involved forcing an HTML comment around the item content that Portal stubbornly
    displayed, I've discovered this simple way. I don't know hom much this way is portable, but is done entirely with the APIs.
    In the stored procedure that displays the item, that I encolose, i just do:
    1) retrieved the ITEM querying WWSBR_ALL_ITEMS;
    2) updated the ITEM via WWSBR_API.MODIFY_ITEM, passing as display_otpion the value WWSBR_API.FULL_SCREEN!!
    Here I try a little explanation:
    An item just created has FULLSCREEN=1 and INPLACE=0. This way the stored procedure is executed
    AND the item content is displayed.
    WIth the modify_item, the item gets FULLSCREEN=1 and INPLACE=2 !! This seems strange since the docs
    tells that inplace can be 0 or 1. But this works.
    I've played with the WWV_THINGS table directlry, and setting INPLACE to 0, 2 or 3 works as well, while
    if it is set to 1, it behave the usual way.
    The trick is to have FULLSCREEN to 1 while INPLACE is not set to 1.. and this was the easiest solution.
    I'd like to receive a feedback from Oracle regarding this behaviour.
    Bye
    Walter
    --- This is the procedure ---
    CREATE OR REPLACE PROCEDURE show_item_mod(itemid in varchar2, styleid in varchar2,
         styleclass in varchar2) IS
    html CLOB;
    idx1 number;
    idx2 number := 0;
    item portal.wwsbr_all_items%rowtype;
    BEGIN
         --retrieve item content
         select * into item from portal.wwsbr_all_items where id=itemid;
         html := item.text;
         --check if text body contains "dirty" tags as put by Oracle RTE editor
         --and strips text from <BODY> to </BODY>
         idx1 := instr(html,'<BODY>');
         if(idx1 > 0) then
                   --strip text of broken tags
                   idx2 := instr(html,'</BODY>');
                   html := substr(html,idx1+6,idx2-idx1-6);
         end if;
         --check if this is first time we enter this procedure
         --or if text has changed
         if(item.description is null or idx2 != 0) then
                   --update filename so next time we won't enter the IF branch
                   --update DIPLSAY OPTION to FUllSCREEN
                   --update text, if this was changed
                   idx1 := portal.wwsbr_api.modify_item(
                        p_master_item_id => item.masterid,
    p_item_id => itemid,
    p_caid => item.caid,
    p_folder_id => item.folder_id,
    p_display_name => item.display_name,
    p_region_id => item.folder_region_id,
    p_display_option => portal.WWSBR_API.FULL_SCREEN,
    p_category_id => item.category_id,
    p_category_caid => item.category_caid,
    p_author => item.author,
    --p_description => item.description  ,
    p_keywords => item.keywords ,
    p_text => html ,
    p_folderlink_id => item.folder_link_id ,
    p_folderlink_caid => item.folder_link_caid ,
    p_publish_date => item.publish_date ,
    p_expire_mode => item.expiremode,
    --p_file_filename => 'Changed!',
                        p_description=> 'changed!',
    p_addnewversion => FALSE,
    p_access_level => portal.wwsbr_api.FOLDER_ACCESS
                   -- process cache invalidation messages
              portal.wwpro_api_invalidation.execute_cache_invalidation;
              end if;
         htp.prn('<div ');
         if(styleclass is not null) then
                   htp.prn(' class="' || styleclass || '" ');
         end if;
         if(styleid is not null) then
                   htp.prn(' id="' || styleid || '" ');
         end if;
         htp.prn('>');
         htp.p(html);
         htp.p('</div>');
    END show_item_mod;
    /

    Hi,
    I've read in several places questions about rendering an Item in a custom way, without letting portal
    display the item content, if you read along I've discovered a SIMPLE WAY to force portal not to
    display the content item.
    As per bugs and requests on metalink it seemed that in many versions of Oracle Portal (mine is 9.0.4.1)
    this is impossible, since even if we remove the "Item Content" from the list of displayed attributes in the
    region, Portal does display it anyway, just after every other Attribute.
    - Re: using an item type procedure
    - Metalink BUG # 3998251 "ENH: SHOULD BE ABLE TO HIDE "ITEM CONTENT" FOR TEXT ITEMS OR NEED A NEW ITEM TYP" and is being looked into internally whether it is feasible to include this in future releases.
    - Metalink Doc ID:      Note:290534.1          Subject:      Unable to Hide the "Item Content" Attribute for a Text Item     
    Mine scenario was the usual one:
    -oracle portal 9.4.0.1
    -a custom item based on custom text (so as to have the RTE to edit HTML).
    -A few attributes that help me define the class of an enclosing DIV tag that I wanted to put (a class and an ID)
    -A plsql call associated to the custom item, with the flag "display inline" checked
    -The dirty HTML generated by the built-in Oracle RTE (with BODY and HTML tags enclosing the actual HTML)
    -The region that will contain the item is set so that just the "Function Call" is (or should be) displayed
    I wanted to control entirely the display of the item text, while enclosing it in a custom DIV tag.
    After a few tries, one of which involved forcing an HTML comment around the item content that Portal stubbornly
    displayed, I've discovered this simple way. I don't know hom much this way is portable, but is done entirely with the APIs.
    In the stored procedure that displays the item, that I encolose, i just do:
    1) retrieved the ITEM querying WWSBR_ALL_ITEMS;
    2) updated the ITEM via WWSBR_API.MODIFY_ITEM, passing as display_otpion the value WWSBR_API.FULL_SCREEN!!
    Here I try a little explanation:
    An item just created has FULLSCREEN=1 and INPLACE=0. This way the stored procedure is executed
    AND the item content is displayed.
    WIth the modify_item, the item gets FULLSCREEN=1 and INPLACE=2 !! This seems strange since the docs
    tells that inplace can be 0 or 1. But this works.
    I've played with the WWV_THINGS table directlry, and setting INPLACE to 0, 2 or 3 works as well, while
    if it is set to 1, it behave the usual way.
    The trick is to have FULLSCREEN to 1 while INPLACE is not set to 1.. and this was the easiest solution.
    I'd like to receive a feedback from Oracle regarding this behaviour.
    Bye
    Walter
    --- This is the procedure ---
    CREATE OR REPLACE PROCEDURE show_item_mod(itemid in varchar2, styleid in varchar2,
         styleclass in varchar2) IS
    html CLOB;
    idx1 number;
    idx2 number := 0;
    item portal.wwsbr_all_items%rowtype;
    BEGIN
         --retrieve item content
         select * into item from portal.wwsbr_all_items where id=itemid;
         html := item.text;
         --check if text body contains "dirty" tags as put by Oracle RTE editor
         --and strips text from <BODY> to </BODY>
         idx1 := instr(html,'<BODY>');
         if(idx1 > 0) then
                   --strip text of broken tags
                   idx2 := instr(html,'</BODY>');
                   html := substr(html,idx1+6,idx2-idx1-6);
         end if;
         --check if this is first time we enter this procedure
         --or if text has changed
         if(item.description is null or idx2 != 0) then
                   --update filename so next time we won't enter the IF branch
                   --update DIPLSAY OPTION to FUllSCREEN
                   --update text, if this was changed
                   idx1 := portal.wwsbr_api.modify_item(
                        p_master_item_id => item.masterid,
    p_item_id => itemid,
    p_caid => item.caid,
    p_folder_id => item.folder_id,
    p_display_name => item.display_name,
    p_region_id => item.folder_region_id,
    p_display_option => portal.WWSBR_API.FULL_SCREEN,
    p_category_id => item.category_id,
    p_category_caid => item.category_caid,
    p_author => item.author,
    --p_description => item.description  ,
    p_keywords => item.keywords ,
    p_text => html ,
    p_folderlink_id => item.folder_link_id ,
    p_folderlink_caid => item.folder_link_caid ,
    p_publish_date => item.publish_date ,
    p_expire_mode => item.expiremode,
    --p_file_filename => 'Changed!',
                        p_description=> 'changed!',
    p_addnewversion => FALSE,
    p_access_level => portal.wwsbr_api.FOLDER_ACCESS
                   -- process cache invalidation messages
              portal.wwpro_api_invalidation.execute_cache_invalidation;
              end if;
         htp.prn('<div ');
         if(styleclass is not null) then
                   htp.prn(' class="' || styleclass || '" ');
         end if;
         if(styleid is not null) then
                   htp.prn(' id="' || styleid || '" ');
         end if;
         htp.prn('>');
         htp.p(html);
         htp.p('</div>');
    END show_item_mod;
    /

  • FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065

    Please help....This error is comming when opening the form. The form is running on oracle 11g 64bits web logic.
    "FRM-40735 WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-065"

    Welcome to OTN
    Before posting on this forum please read
    FRM-40735: WHEN-CUSTOM-ITEM-EVENT trigger raised unhandled exception ORA-06502.
    you'll get some hint here
    Oracle/PLSQL: ORA-06502 Error

  • Vendor Line Item Display-Default value for customer items

    Is it possible in selection screen of transaction FBL1N (Vendor line item display) the default value of field "customer items" to be checked?
    Thanks in advance.

    hi Tsiami
    it's not possible. if u want check customer line items go throw this TC:FBL5N
    plz assign points
    regards
    sivareddy.

  • F-32 - clearing customer items in foreign currency

    Hello gurus,
    please, where in SPRO can I set the possibity of clearing customer items in foreign currency in F-32 ?
    Presently all items are converted to local currency and it's not possible to switch into foreign currency.
    Vendor open items we can clear in foreign currency in F-44, but customer open items not.
    Thank you,
    Ondrej

    What error you are getting in F-32 while clearing the customer in foreign currency?
    Please check whether in FS00 for that customer reconciliation account, you have selected the check box "Balance in local currency". If yes, then that will not allow you to clear in foreign currency.
    Regards,
    SDNer

  • Restrict all the text in a datagrid input without having to create custom item renderers

    Is there a way to restrict all the text in a datagrid input
    without having to create custom item renderers for each
    column?

    How are you trying to restrict it? If you're trying to
    restrict it uniformly, for example, to entirely numerical inputs,
    then the easiest way I know of to do so is with an itemEditor. You
    can just add the same itemEditor to each column that way.
    This only saves work over custom renderers if you're trying
    to restrict multiple columns in the same manner, but for numeric
    only tables, it's pretty short.
    You could probably also do it with itemEdit and
    itemEditBeginning events, but that would likely be more work then
    simply declaring a single global itemEditor and using it in all
    your columns.

  • Need for a Datagrid with variableRowHeight="true" and custom Item Renderer to display exact rows

    Hi again, developers:
    I'm in a search of a datagrid  with certain characteristics:
         - variableRowHeight = "true"
         - only one column
         - each row must have a custom item renderer with possibly different heights, and a fixed width
         - the datagrid must show always every item in the data provider with no vertical scroll bars, what means that the datagrid height must have always the exact height sum of all the item renderers it is displaying.
         - and no extra empty rows must appear in the last positions of the datagrid
    The last two requirements are something difficult to achieve... for some reason, empty rows appear at the last positions of the datagrid. I post what i've managed to get:
    <mx:Script>
         <![CDATA[
         private function resize():void
                    if (dg.dataProvider)
                        var h:Number = dg.measureHeightOfItems( -1, dg.dataProvider.length);
                        dg.height = h;
         ]]>
    </mx:Script>
    <mx:DataGrid id="dg" width="530" horizontalCenter="0" verticalScrollPolicy="off"
            dataProvider="{dp}"
            wordWrap="true" variableRowHeight="true" showHeaders="false" dataChange="resize()" height="{dg.measureHeightOfItems(-1,dg.dataProvider.length)}" click="Alert.show(dg.rowCount.toString());">
            <mx:columns>
                <mx:DataGridColumn headerText="ID" width="50">
                    <mx:itemRenderer>
                        <mx:Component>
                            <mx:TextArea height="{Math.random()*100}" wordWrap="true" backgroundColor="{Math.random() * 16777216}" paddingTop="0" paddingBottom="0"/>
                        </mx:Component>
                    </mx:itemRenderer>
                </mx:DataGridColumn>
            </mx:columns>
        </mx:DataGrid>

    Thanks Harui, but it doesn't help. If the border is set it will help, but the very big problem is the empty rows that appear at the end of the datagrid... I can't find a way of measuring correctly the height of the itemRenderers!
    I'll update this thread if I manage to do it.

  • Display of Custom Item in Emulator and Nokia Phone are different

    I'm creating a Custom Item which will either display text or image depending on the parameter. I tried with both displaying of text and image on the emulator and it looks reasonably well. However, when i install in my Nokia 6210, the display is not the same. The longer text (more than 30 characters including space) appears to be truncated as the Nokia 6210's screen width seems to be smaller. Then, i increased the minimum height in my code and break the texts to 2 lines to be displayed. Again, it's displayed well in the emulator but on the phone, the 2 lines of texts are overlapping.
    For image, i can position the image by changing the anchor of the image and x & y in g.drawImage. Again, it's displayed correctly on the emulator but it's not well aligned on the phone and the image looks to be smaller with the background rectangle of the Custom Item.
    What i want to achieve is to display the texts or image well aligned horizontally and vertically in various J2ME devices. Can anyone give me some clues like what parameters to change or to take note?
    Below are my code:
    import javax.microedition.io.*;
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import java.io.*;
    import java.lang.*;
    import java.util.*;
    public class BCItem extends CustomItem implements ItemCommandListener {
        private MyMidlet midlet;
        private String linkURL;
        private boolean isText;
        private String bannerText;
        private Image image;
        private final static Command CMD_OK = new Command("Visit Ads", Command.ITEM, 1);
        private String [] displayText;
        private String displayTextPart;
        private int displayableWidth;
        public BCItem (String title, MyMidlet midlet, String linkURL, boolean isText, String bannerText, Image image) {
            super(title);
            this.midlet = midlet;
            this.linkURL = linkURL;
            this.isText = isText;
            this.bannerText = bannerText;
            this.image = image;
            displayableWidth = midlet.getWidth();    
            setDefaultCommand(CMD_OK);
            setItemCommandListener(this);
         public int getMinContentWidth(){
        return 240;
      public int getMinContentHeight(){
        return 20;
      public int getPrefContentWidth(int width){
        return displayableWidth;
      public int getPrefContentHeight(int height){
        return getMinContentHeight();
      public void paint(Graphics g, int w, int h){
          if (isText) {
              g.setColor(0x000000);
              g.setFont(Font.getFont(Font.FACE_MONOSPACE, Font.STYLE_UNDERLINED, Font.SIZE_SMALL));
                g.drawString(bannerText,1, 1,
                       Graphics.LEFT| Graphics.TOP);
          else {
               try {
                g.drawImage(image, getMinContentWidth()/2 + 20, 1, Graphics.RIGHT| Graphics.TOP  );
            catch (Exception e) {
                e.printStackTrace();
      public void commandAction(Command c, Item i) {
          if (c == CMD_OK) {
              try {
                  System.out.println(linkURL + " visited");
                  if (midlet.platformRequest(linkURL)) {
                      System.out.println(linkURL + " visited");
              catch (Exception e) {
                  e.printStackTrace();
    }

    This forum isn't the complaints department, it's a place where users help each other. Obviously a fellow user cannot help you to resolve this.
    What you need to do is call nokia care in India and ask for the official complaints address. You will then need to write a polite letter (not an email) detailing your issues. They will respond to you and try to resolve the situation.

  • Range component in custom item renderer

    Hi,
    I am trying to put a spark Range component into the labelItemRenderer for flex mobile. Everytime I add it I get the error: "Skin for (long directory name for my range component) cannot be found". The custom item renderer is an actionscipt class because I read this is the best way to make them for mobile. I'll put the error in the bottom of the post.
    If anyone has any idea why this could be happening or if anyone knows a possible way around this it would be extremely helpful. I basicaly just need a list where each item has a label on side and then a progress bar on the other side.
    Thanks.
    Here is the full error, ill put a star on the line where the addChild method gets called in my item renderer for the range component.
    Error: Skin for HoosFit0.TabbedViewNavigatorApplicationSkin5.tabbedNavigator.TabbedViewNavigatorSkin7.con tentGroup.ViewNavigator1.ViewNavigatorSkin12.contentGroup.
    FCfacilities139.SkinnableContainerSkin141.contentGroup.Group143.facilityList.ListSkin145.S croller147.ScrollerSkin148.DataGroup146.FCfacilitiesInnerClass0_157.Range154 cannot be found.
              at spark.components.supportClasses::SkinnableComponent/attachSkin()[E:\dev\4.y\frameworks\pr ojects\spark\src\spark\components\supportClasses\SkinnableComponent.as:698]
              at spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\4.y\frame works\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:443]
              at spark.components.supportClasses::SkinnableComponent/createChildren()[E:\dev\4.y\framework s\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:406]
              at mx.core::UIComponent/initialize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7634]
              at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]
              at mx.core::UIComponent/addChild()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UICo mponent.as:7176]
    *** at views::itemRenderer2/set data()[/Users/evan/Documents/Adobe Flash Builder 4.6/HoosFit/src/views/itemRenderer2.as:73]
              at spark.components::SkinnableDataContainer/updateRenderer()[E:\dev\4.y\frameworks\projects\ spark\src\spark\components\SkinnableDataContainer.as:606]
              at spark.components.supportClasses::ListBase/updateRenderer()[E:\dev\4.y\frameworks\projects \spark\src\spark\components\supportClasses\ListBase.as:1106]
              at spark.components::DataGroup/setUpItemRenderer()[E:\dev\4.y\frameworks\projects\spark\src\ spark\components\DataGroup.as:1157]
              at spark.components::DataGroup/initializeTypicalItem()[E:\dev\4.y\frameworks\projects\spark\ src\spark\components\DataGroup.as:327]
              at spark.components::DataGroup/ensureTypicalLayoutElement()[E:\dev\4.y\frameworks\projects\s park\src\spark\components\DataGroup.as:384]
              at spark.components::DataGroup/measure()[E:\dev\4.y\frameworks\projects\spark\src\spark\comp onents\DataGroup.as:1467]
              at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::measureSizes()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8506]
              at mx.core::UIComponent/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\ UIComponent.as:8430]
              at mx.managers::LayoutManager/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx \managers\LayoutManager.as:665]
              at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:816]
              at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1180]

    Hi,
    I am trying to put a spark Range component into the labelItemRenderer for flex mobile. Everytime I add it I get the error: "Skin for (long directory name for my range component) cannot be found". The custom item renderer is an actionscipt class because I read this is the best way to make them for mobile. I'll put the error in the bottom of the post.
    If anyone has any idea why this could be happening or if anyone knows a possible way around this it would be extremely helpful. I basicaly just need a list where each item has a label on side and then a progress bar on the other side.
    Thanks.
    Here is the full error, ill put a star on the line where the addChild method gets called in my item renderer for the range component.
    Error: Skin for HoosFit0.TabbedViewNavigatorApplicationSkin5.tabbedNavigator.TabbedViewNavigatorSkin7.con tentGroup.ViewNavigator1.ViewNavigatorSkin12.contentGroup.
    FCfacilities139.SkinnableContainerSkin141.contentGroup.Group143.facilityList.ListSkin145.S croller147.ScrollerSkin148.DataGroup146.FCfacilitiesInnerClass0_157.Range154 cannot be found.
              at spark.components.supportClasses::SkinnableComponent/attachSkin()[E:\dev\4.y\frameworks\pr ojects\spark\src\spark\components\supportClasses\SkinnableComponent.as:698]
              at spark.components.supportClasses::SkinnableComponent/validateSkinChange()[E:\dev\4.y\frame works\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:443]
              at spark.components.supportClasses::SkinnableComponent/createChildren()[E:\dev\4.y\framework s\projects\spark\src\spark\components\supportClasses\SkinnableComponent.as:406]
              at mx.core::UIComponent/initialize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UI Component.as:7634]
              at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::childAdded()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:7495]
              at mx.core::UIComponent/addChild()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UICo mponent.as:7176]
    *** at views::itemRenderer2/set data()[/Users/evan/Documents/Adobe Flash Builder 4.6/HoosFit/src/views/itemRenderer2.as:73]
              at spark.components::SkinnableDataContainer/updateRenderer()[E:\dev\4.y\frameworks\projects\ spark\src\spark\components\SkinnableDataContainer.as:606]
              at spark.components.supportClasses::ListBase/updateRenderer()[E:\dev\4.y\frameworks\projects \spark\src\spark\components\supportClasses\ListBase.as:1106]
              at spark.components::DataGroup/setUpItemRenderer()[E:\dev\4.y\frameworks\projects\spark\src\ spark\components\DataGroup.as:1157]
              at spark.components::DataGroup/initializeTypicalItem()[E:\dev\4.y\frameworks\projects\spark\ src\spark\components\DataGroup.as:327]
              at spark.components::DataGroup/ensureTypicalLayoutElement()[E:\dev\4.y\frameworks\projects\s park\src\spark\components\DataGroup.as:384]
              at spark.components::DataGroup/measure()[E:\dev\4.y\frameworks\projects\spark\src\spark\comp onents\DataGroup.as:1467]
              at mx.core::UIComponent/http://www.adobe.com/2006/flex/mx/internal::measureSizes()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\UIComponent.as:8506]
              at mx.core::UIComponent/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx\core\ UIComponent.as:8430]
              at mx.managers::LayoutManager/validateSize()[E:\dev\4.y\frameworks\projects\framework\src\mx \managers\LayoutManager.as:665]
              at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.y\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:816]
              at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.y\frameworks\projects \framework\src\mx\managers\LayoutManager.as:1180]

Maybe you are looking for

  • Macbook pro will not wake up

    My 15" MacBook Pro seems to be "asleep" and I haven't been able to "wake" it up for over a day now. Even after I hold the power button down for 10 seconds it still will not reboot.

  • Where Clause SQL Loader

    Hi, Please could someone give me the syntax for expressing a where clause in SQL Loader control file? as an example i only want the data in the columns to be uploaded where person_id matches the person_id already present in the table. My control file

  • Hwo to deklet many photos at once?

    Hi, I'm using the new iPad for some days together with the digital camera adapter. I was able to download the pictures into the iPad and from the iPad to the Mac without problem... Now i want to delete the photos from the iPad, the only possibility t

  • How to create Reports and Forms using JSP

    Hi, How to create reports using JSP. And how many types of reports can be created using JSP.Can anyone explain with example please. Thanks, Vijayalakshmi.M

  • Link to download operating system

    Dear all, I did procedure to buy mountain lion 10.8.x for my Imac actually powered with Mac OS X 10.6.8. Everything has been done correctly, I received mail of confirmation that operating system was available in mac app store for the download, but th