APEX_APPLICATION. Issue of G_Fxx for APEX_ITEM. SELECT_LIST

Hello

I am trying to build a report from SQL query using the query below:

------------------------
Select
APEX_ITEM. SELECT_LIST (1, 'NULL',' Yes;) Y, no.; Select approval; NULL') "approve."
INT_ADJ_SK,
JOURNAL_ID,
CUSTOMER_TYPE
of REV_INTERNAL_ADJUSTMENT
where APPROVE_IND is NULL;
------------------------

My present after process is as below:

------------------------
DECLARE
Article NUMBER;
BEGIN
BECAUSE me in 1.APEX_APPLICATION. G_F01. COUNTY
LOOP
agenda: = to_number (APEX_APPLICATION. G_F01 (i));
IF APEX_APPLICATION. G_F01 (i) = "Y" THEN
UPDATE REV_INTERNAL_ADJUSTMENT
SET APPROVE_IND = 'Y' where INT_ADJ_SK = APEX_APPLICATION. G_F02 (Item);
END IF;

IF APEX_APPLICATION. G_F01 (i) = n THEN
UPDATE REV_INTERNAL_ADJUSTMENT
SET APPROVE_IND = ' no where INT_ADJ_SK = APEX_APPLICATION. G_F02 (Item);
END IF;
END LOOP;
COMMIT;
END;
------------------------


However, I get the error message: ORA-06502: PL/SQL: digital or value error: character of number conversion error

Please help as I am unable to find a solution to this.


Thanks in advance,
Rahul

Hello

Just a hidden column can help you that the value of INT_ADJ_SK:

select
APEX_ITEM.SELECT_LIST(1,'NULL','Yes;Y,No;N,Select Approval;NULL') "Approve",
APEX_ITEM.HIDDEN(2,INT_ADJ_SK) || INT_ADJ_SK,
JOURNAL_ID,
CUSTOMER_TYPE
from REV_INTERNAL_ADJUSTMENT
where APPROVE_IND is NULL

Note that any value you give for the attribute p_idx for functions in package APEX_ITEM that they are used in APEX_APPLICATION. G_Fxx refer.
For example:

 APEX_ITEM.SELECT_LIST(1,'NULL','Yes;Y,No;N,Select Approval;NULL') 

will designate as an array of:

APEX_APPLICATION.G_F01(i)

Reference:
APEX_ITEM:

http://download.Oracle.com/docs/CD/E17556_01/doc/apirefs.40/e15519/apex_item.htm#CACEEEJE

APEX_APPLICATION:

http://download.Oracle.com/docs/CD/E17556_01/doc/apirefs.40/e15519/apex_app.htm#CHDDADIE

Your after submit the process would be:

BEGIN
  FOR i in 1..APEX_APPLICATION.G_F01.COUNT
  LOOP

    IF APEX_APPLICATION.G_F01(i) = 'Y' THEN
    UPDATE REV_INTERNAL_ADJUSTMENT
    SET APPROVE_IND = 'Y' where INT_ADJ_SK = APEX_APPLICATION.G_F02(i);
    END IF;

    IF APEX_APPLICATION.G_F01(i) = 'N' THEN
    UPDATE REV_INTERNAL_ADJUSTMENT
    SET APPROVE_IND = 'N' where INT_ADJ_SK = APEX_APPLICATION.G_F02(i);
    END IF;

  END LOOP;
  COMMIT;
END

I hope that helps!
Kind regards
Kiran

Tags: Database

Similar Questions

  • Microsoft has never issued an update for the Win7 disk defragment utility?

    Microsoft has never issued an update for the Win7 disk defragment utility?  Thank you.

    Original title: Win7 updates

    To my knowledge, the Defragmenter from Windows 7 has not been maintained since the liberation.  You have a problem with it?

  • The issue is available for download, but requires a newer version of the application. What should I do

    I created a multi folio app for android. I published the first issue and ecerything was fine... I just started my second question and as it appears on my app when I try to download it I got a message that says. The issue is available for download, but requires a newer version of the application. Update your application.

    What should I do... i did nothing for my app... How should I update? The are no newer version from the store... Can someone help me?

    You have two choices:

    (1) make a new version of your app in the App Builder is the latest version of DPS

    (2) redo your folio in the new dialog box, and folio, select a version of Viewer target that matches or is earlier than the version of your app in the store.

    Neil

  • Trying to create a table with apex_item... and apex_item.select_list

    I am creating a tabular presentation that uses several altec_item functions (select_list, select_list_from_LOV,...). Whenever I try to create a new page, and then select a table, I have to select a table and columns. So I just chose any table and once the sql is created, I have to crush it with my own sql. When I try to apply the changes, I get an error everytime I use apex_item... for a particular column. I tried the creation of a standard report with the same results. I have read at least 20 examples but no saying where to start from when you create the presentation table and just go directly in the code. Can someone tell me please in the right direction?
    Thank you
    Jerryu

    You can start with the creation of a simple classic report. You can use the functions apex_item in your query and later to put your column attributes 'Standard report Column '. Basically, you create a report updated.

  • Process of page does not work when column for APEX_ITEM. HIDDEN is not displayed

    I created a region of report based on an SQl query. In the query that I have three columns that should be in a table, but 2 of the 3 columns should not be visible on the report. Therefore, I don't have to Show checked for them in column of the report region attributes.

    In my tests, if I do not display the columns that are in the tables in the report and run the process of page to insert records into a table, I get the error "no data found". Conversely, if I show columns, my insert is successful.

    That's how work bays? Or is there something that I did not properly.

    Here is the query for the report:
    SELECT APEX_ITEM. ASSISTED BY CHECKBOX (1, ROWNUM, "CHECKED");
    APEX_ITEM. Hidden(2,C.PARTY_ID) ID-this is the column I want to hide.
    APEX_ITEM. Hidden(3,C.PARTY_TYPE_CODE) PTYP-this is the column I want to hide.
    C.PARTY_TYPE_CODE,
    S.PERSON_ID,
    S.PERSON_FIRST_NAME AS THE NAME,
    C.PARTY_CASE_ID

    OF THE CASE. C PARTY
    JOIN INTERNAL DN. PERSON S
    ON C.PARTY_ID = S.PERSON_ID

    WHERE C.PARTY_CASE_ID =: P18_CDBCASE_ID
    AND C.PARTY_SEQ_NO =: P18_SEQ


    Thank you
    Keisha

    Published by: user4579720 on 16 Sep, 2009 14:30

    Keisha,

    If you uncheck the "Show" option, then the HTML corresponding to this element is not rendered on the page. Thus, when you try to inspect this element through APEX_APPLICATION. G_F02, it does not exist.

    A trick I use when I want to have hidden items on the page, but does not make them take all space, is to concatenate them to the items that will be visible.

    Using your query for example, I would like to re - write like this:

    SELECT APEX_ITEM.CHECKBOX(1,ROWNUM,'CHECKED')ATTENDED,
    APEX_ITEM.HIDDEN(2,C.PARTY_ID)
      || APEX_ITEM.HIDDEN(3,C.PARTY_TYPE_CODE)
      || C.PARTY_TYPE_CODE PARTY_TYPE_CODE,
    S.PERSON_ID,
    S.PERSON_FIRST_NAME AS NAME,
    C.PARTY_CASE_ID
    
    FROM CASE.PARTY C
    INNER JOIN DN.PERSON S
    ON C.PARTY_ID = S.PERSON_ID
    
    WHERE C.PARTY_CASE_ID = :P18_CDBCASE_ID
    AND C.PARTY_SEQ_NO = :P18_SEQ
    

    Thus, the second report APEX column will contain the HTML code for the PARTY_ID & PARTY_TYPE_CODE hidden items, as well as the value of PARTY_TYPE_CODE. When you submit the page, you should not have problems.

    Thank you

    -Scott-

    http://sumnertechnologies.com/
    http://spendolini.blogspot.com/

  • TestStand 4.2 test continuous issue - same time for every USE

    Hello

    I have this problem on my TestStand 4.2, whenever I do continuous testing (run > Test DUT), each USE both in the reports.

    What I need is to know how to change the model of process, so that each USE should have a different time in the reports.

    Please see picture below for reference.

    Thank you

    val87

    Hi val87,

    It is a known issue with TestStand 4.2. The below knowledge base article explains how to fix this behavior.

    Why the time of the DUT report header field remains Constant for multiple DUT during the generation of the XML reports in 4.2 TestStand and TestStand 4.2.1?

    http://digital.NI.com/public.nsf/allkb/8EE51C3635751A808625774A0050C214?OpenDocument

    Let me know if it works for you!

  • Office jet pro 8610: printhead issue when idle for a long time

    I live half the year in Florida and the other half in North Carolina. I have the same printer model in both places. On the advice of technical support from HP, I remove the ink cartridges and put them in a bag before I left for the season. I just returned to my house from the North and had a problem with the printer/ink. It was resolved by HP by sending me a new print head, because this printer is still under warranty. But the next time it won't. I try to learn if there is a better way to deal with the issue of a printer sitting inactive for six months. Must I also drop and the bag to the top of the print head? Should I just take the cartridges back with me, so they will be used frequently? Is there a reason to think about letting the printhead to sit empty for months would cause a problem? ANY advice would be welcome, because I've always had problems upon returning to a unused printer. TIA!

    Hey @sls2,

    I see that you are worried about having your printhead replaced on your e-all-in-one Officejet 8610 printers if they have any questions after you have not used for several months. I can answer for you.

    First of all, if the printer is no longer under warranty, they print head would not be replaced. It is a replaceable part, however you must buy the HP printhead if cartridges does not solve your problems. Here are some things that can be done:

    Let the printers power when they are not in use. If printers are turned on, the printers can do the maintenance to keep the cartridges and ink system to dry more quickly. This can save your print heads. Of course, this does not work if there is no power when you are away.

    Buy an extended warranty for printers. You can contact the HP Support by clicking here and filling out the form below and they can provide you with options of extended warranties and treat everything immediately. Please note that they will need serial number of the printer to record it all for you. You can also buy a warranty by visiting HP Shopping. When you follow this path, you will need to call the number included in the package of warranty and they will need serial number of the printer.  Whatever it is, the printer should work when you buy the warranty.

    Buy a HP Laserjet Printer. LaserJet printers use toner, which is a dry power rather than the wet ink. These printers may be left in storage for years, opened again and can always print. This would put an end to any concerns about the cartridges or the print heads. The disadvantages of these printers is that, unless you use a single black printer, the cost per page is superior for printing from the Officejet 8610. This path would make printing very expensive photographs, so this is something to be aware of the fi.

    Buy a printer with a system of two-ink cartridge. HP printers with two ink cartridge systems have print heads integrated cartridges instead of the printer. This means that if the cartridge doesn't work over the cartridge can be replaced instead.

    The downside of this is that your average cost per page to print would increase. You can compensate for this by subscribing to the printer for instant ink program and cancel your subscription until you change your location. You can learn more about the program by clicking on this link.

    Please let me know if that answers your question, or if it solves your problems. If so, please click on accept solution. If you appreciate my help, please click on the thumbs up icon. The two icons are below this post.

  • Solution for blackBerry Smartphones on issues with Facebook for BlackBerry v.4.1.0.19

    Hello! I stumbled upon several threads on the questions users affected by the right after they upgraded they are Facebook for new construction (v.4.1.0.19).
    Issues such as the screen frozen, impossible to scroll and java error message lang at the opening of the app.
    And several members have accepted my suggestion as a solution. So I want to share with you guys.

    Unfortunately, soft - reset, reset hard and the application of uninstalling/reinstalling doesn't solve the problem.

    So one way to solve it is to downgrade. And the lates, I could get is v.4.0.0.13 (if you have the latest version in this post the links here).

    So delete the app first and reset your phone.
    Then install the older version.
    OS 6 Click here:
    http://www.theiexplorers.com/OTA/Facebook/4.0.0.13/OS6/Facebook.jad

    7 operating system click here:
    http://www.theiexplorers.com/OTA/Facebook/4.0.0.13/OS7/Facebook.jad

    OS 7.1 click here:
    http://www.theiexplorers.com/OTA/Facebook/4.0.0.13/OS71/Facebook.jad

    Good luck, hope this helps!

    Hello! I stumbled upon several threads
    on the questions users knows the right
    after they improve Facebook
    the new version (v.4.1.0.19).
    Issues such as the screen frozen, unable to
    scrolling and java lang error message
    at the opening of the app.
    And several members accepted my
    suggestion as a solution. So I want to
    share with you guys.
    Unfortunately, the soft - reset, hard-
    Resets and uninstalling/reinstalling
    the app does not solve the problem.
    So a way to solve it is to
    downgrade. And later I could get
    is v.4.0.0.13 (if you later
    version in this post the links here).
    So delete the app first and reset your
    phone.
    Then install the older version.
    OS 6 Click here:
    http://www.theiexplorers.com/OTA/
    Facebook/4.0.0.13/OS6/Facebook.jad
    7 operating system click here:
    http://www.theiexplorers.com/OTA/
    Facebook/4.0.0.13/OS7/Facebook.jad
    OS 7.1 click here:
    http://www.theiexplorers.com/OTA/
    Facebook/4.0.0.13/OS71/
    Facebook.jad

    We all are waiting for Facebook, in the hope of resolving the problems. For now, enjoy the older build.
    Good luck, hope this helps!

  • My yahoo account (* address email is removed from the privacy *) wonder an old issue of security for the connection, I don't remember my answer - please help to access important information. I created an account Hotmaill too

    I have several e-mail accounts, which is my original yahoo account that I used to almostt 2 years. (* E-mail address is removed from the privacy *) I did experiments to access this account with all my problems of very important Business inside. The problem is that this account always wonder an old security question, for which I don't have the right answer for access. If I ask too many times, I will be locked for 24 hours. I tried to link my account 'Facebook' for this particular Yahoo account, but my 'LENOVO' Lap Top computer with the Windows 7 operating system continues to send me an "Error Message". The Yahoo application question is - where I spend my honeymoon? It's not like I don't know where my wife and I where for our honeymoon wedding 8 years-although that every answer I entered appears to be incorrect. I don't remember what my specific Yahoo answer - that is looking for.

    Please can someone help me with this issue tonight here in France?

    Sincerely,

    Robert T.

    Best regards

    Wow, this is the longest hyperlink that I've ever seen :)

  • Material & fixed issues in "FBX for unity."

    There were some messages referring to specific material questions when you download a model of fuse from the Mixamo website for the unit, but I thought it would be good to collect them in one place and hope we can get an official commentary when expect fixed.

    Overview of the issues:

    1. All materials are assigned to the default material in the unit, the value 'transparent' mode, which is obviously incorrect for all opaque elements (done teeth show through the face, etc.) and also for hair (who seem to need the 'fade', like 'transparent' option gives a strange shadow around the object).
    2. Transparency for each material is stored in a separate "opacity" texture, but for the unit, it should be cooked in the alpha channel of the diffuse texture. Especially a problem for eyelashes and hair.
    3. Eyelashes are affected in the same material as the body, but they require a transparent.
    4. Specular and glossy are the distinct textures, but for the unit should be combined into one, with spec in the R channel and brilliant in channel A.
    5. All documents by default 'Standard' shader, but with specular and glossy as long as they are, the shader 'Standard (specular installation)' seems to be the correct option.
    6. Eyeballs appear to require a hardware configuration that is different than anticipated, although I'm not sure what would be 'okay', as whatever it either by using the provided spec/chandelier doesn't look good for me.

    The steps, as I am currently on each importation of a character:

    1. Download the fuse Mixamocharacter, making sure to choose "FBX for unity."
    2. Place your .fbx inside a new subfolder in your unit project assets. (It will generate a lot of files to sit alongside your .fbx, so I find it very important to assign a subfolder for each character to the front).
    3. The unit will ask you to 'fix' the normal textures so that they import as such. Go ahead and let him do.
    4. Place your character in a stage of trying to work with them. You will notice a lot of questions.
    5. In Photoshop, make a copy of each diffuse texture (body, hair, each item of clothing...) and (using a mask) paste the contents of the corresponding texture of the "opacity" (grey levels) as the transparency for this copy. (I've usually save it as "_DiffuseOpacity" next to the originals. Do not replace the original textures or active refreshment will destroy your work).
    6. Similarly, a copy of each specular and place the texture of gloss (grey levels) correspondent as transparency.
    7. In the unit, apply to these modified copies (diffuse opacity + and spec + gloss) to each corresponding material. (Spec/chandelier should not yet be assigned.)
    8. Select each texture diffuse opacity + in the hierarchy and tick "alpha is transparency" in the Inspector, then 'apply '.
    9. Select each material and change the shader 'Standard' to 'Standard (specular installation) '.
    10. For the opaque body and clothing materials, change "made" "Opaque". For hair, set it to 'Fade '.
    11. In unity, make two copies of the material of the body and their name for "eyelashes" and "eyes".
    12. Assign the material 'eyelashes' purpose of 'Eyelashes' under the root of your character. (You can only do in places or if you do a prefabricated character first, not with the model it is located in your assets).
    13. Assign the material 'eyes' to the 'default' object under the root of your character. (It's a mesh without a proper name for some reason any...)
    14. Change the material 'lashes' to set the Mode 'rendering' to 'Fade '.
    15. (Not sure) Change the material "eyeballs" to... (I love going back to 'Standard' liner, by disabling the metallic texture and playing with the sliders he manually.) Not sure what is 'correct' however.)

    From this point, your character should look on the right. It is quite a lot of steps! They are all little things, however, and I hope that Adobe can solve some in their pipeline to make our lives easier.

    Question for Adobe staff: can you comment on all these problems, whether or not they can be fixed in the pipeline of Fuse / Mixamo.com and when we might see these corrections?

    5.3.1 the unit

    Fuse Adobe Preview 2015.1.0

    Hi Jason - sorry I missed in response to additional questions.  Let me see what I can answer.

    Dethrone export pipeline:

    -C' was sort of an experience at the moment.  Ideally, we would like to have presets that will give you exactly what you need for these different applications, but it requires a bit of work to keep up to date on our end.  This experience that we didn't have enough time to really do things, but we will work to improve it!

    Auto-Rigger / creative cloud of the Interface:

    -Cannot say exactly!  But we certainly keep the auto-rigger autour, you will have access to it.  Where it will be housed can change.  Fuse of rigging and the auto-grimpeur (custom templates) could get separated at some point since fuse rigging has many more features that the platforms non - Fuse only.

  • Adobe Acrobat Pro 11 & Word 2007 issues of transparency for the doc

    I use Adobe Acrobat Pro 11, Word 2007 and Windows 7 operating systems.  In my work I produce documents word with photos pasted at various points. The photos are marked with text boxes, objects etc. of the arrow.  When I convert the word in a file doc PDF some, but not all, the backgrounds for text box from transparent white, that also some object disappear, does anyone have ideas what goes wrong.  I just upgraded to Acrobat 8 and don't encounter any of these issues with Acrobat 8, I'm about to reload Acrobat 8, ditching Pro 11 and request a refund.

    Any help or suggestion on what is going wrong will be greatly appreciated.


    Richard, Norwich, United Kingdom


    Hi richards2796025,

    Adobe offers no more XI Acrobat, you must have purchased from a re seller of.

    Please let me know the version of exact point of the XI Acrobat installed on your computer & the steps to create a PDF from Word?

    Kind regards

    Nicos

  • issue of configuration for the store of data/LUN iSCSI

    Hi all!  I am all new to VMWare and iSCSI, and I have a question about data warehouses regarding being mounted on an iSCSI target.

    Here's my setup.  I have a Dell PowerEdge R810 connected over a link to 10 GB dedicated to a Dell PowerEdge 2950 that I use as a SAN.  The R810 has no hard drives in it, it starts ESXi on a redundant configuration of SD card integrated into the server.  My SAN software is Server 2008 Enterprise with Microsoft iSCSI software Target 3.3 installed.  I created target 1, LUN 0, 800 GB .vhd file sitting on a NTFS partition and set up a store of data on it in VCenter.  The data store is the size of the entire iSCSI, 800 GB target.  I have my first virtual server up and get 50GB of space between the data store.

    Here is my question: can I create several virtual machines using the data store I put in place?  I know it sounds like a stupid question, but my concern comes from some reading I did on several computers, access to a single LUN.  If I set up another virtual machine, it will explode on my SAN file system as two virtual machines would be to access the same big VHD file on the NTFS partion, or I'm far from base?

    Issue of bonus points:

    I have an another R810 that I will be online soon.  Assuming that I am OK to add more virtual machines of my first machine, pourrais I connect this box in the data store as well and create virtual machines, or should I set up a separate data on another iSCSI target store?

    Thanks for your patience with a new guy.  I searched and read for hours, and I could have read too much so I thought that I had just askt experts.

    Hello and welcome to the forums.

    Can I create several virtual machines using the data store that I put in place?

    Yes.

    If I set up another virtual machine, it will explode on my SAN file system as two virtual machines would be to access the same big VHD file on the NTFS partion, or I'm far from base?

    No, you should be fine.  One thing to keep in mind is that the Windows/MS iSCSI target is not a supported storage solution.  There could be problems of scalability with iSCSI Windows/MS, but you'll be fine in a VMware perspective.

    I have an another R810 that I will be online soon.  Assuming that I am OK to add more virtual machines of my first machine, pourrais I connect this box in the data store as well and create virtual machines, or should I set up a separate data on another iSCSI target store?

    You could, but I personally would put in place a different data store on another iSCSI target.

    Good luck!

  • redirect apex_item.select_list

    Hello

    I try to redirect APEX_ITEM. SELECT_LIST_FROM_QUERY in this way:
    ...
    APEX_ITEM.SELECT_LIST_FROM_QUERY(51-num, '',
                   'select distinct level_name display_value, level_name return_value from '
                   ||i.view_name,
                            'onchange="location.href=''f?p=100:4:5187140117232985:LVLCHG:NO::LVL:''+this.options[selectedIndex].value;"',
                   'no',
                   '','','LVL','','')
    ...
    With onchange in the p_attributes page redirects but it cannot retrieve the selected value.
    He will raise an error: ERR-1002 cannot find the item for the item 'LVL' ID in the application "100".
    However I put the ID to LVL in the select list and in the url too.

    Can you help me solve this problem?
    Thank you!

    Hello:

    What exactly are you trying to do? It seems to me that you are trying to redirect to the same page that defines the list select using the apex_item API. To pass a value in the URL of the target for the value, I think that must be a page/app APEX element.

    CITY

  • I have an iMac, but no other Apple products, and keeping in mind the long list of issues of update for Sierra, is there an advantage to update me?

    I have an iMac, but no other Apple product, and given the long list of problems on the pages of the community regarding the update for Sierra, is there an advantage to update me?

    You won't see anything, but the problems reported here most of the time. This is a support forum. People without problems, much more numerous than those having problems, but they are not seeking this community to report this fact.

    I have updated both my 2014 11 "MBA and my iMac 2011. No real problem. Performance on the iMac has been well below normal after the upgrade, but pretty much a reboot fixed that.

  • Issue of license for XP SP1

    Can install in another computer, the operating system come in TECRA S1

    Hi Carman

    No, it is not possible because the image Recovery CD or DVD is designed for this model of laptop and it will not properly work on other models. Image composed of OS recovery CD and all the drivers and tools that need to work with Tecra S1.

Maybe you are looking for