Collection is populated, but HALF of the total records have null values?

can anyone see why this may not be working properly. I am creating a collection (CATCH_C) based on the number of rows in an existing collection (EFFORT_C). For every record in EFFORT_C, there needs to be one in CATCH_C.
In my example, I know that there are two EFFORT_C records. There are 12 records in the table FREQUENT_SPECIES, therefore, my CATCH_C collection should (after running through loop) have 24 records.
CATCH_C is created with 24 records, however record numbers 16-24 only have the data for disposition_code. The other data is all missing...however rows 1-15 are perfect. Any thoughts?
thanks! Karen
<p>
open effort_x;
fetch effort_x into effort_nbr;
close effort_x;
for x in 1..effort_nbr
LOOP
for y in (select 1,
species_itis,
disposition_code,
null reported_qty,
unit_measure,
null sale_disposition_flag,
price,
null permit_id,
market_code,
grade_code, null
from FREQUENT_SPECIES
where permit_id = :G_PERMIT_ID order by fav_order, species_itis, market_code)
LOOP
l_seq_id := apex_collection.add_member(
p_collection_name => 'CATCH_C',
p_c033 => x,
p_c034 => y.SPECIES_ITIS,
p_c035 => y.DISPOSITION_CODE,
p_c036 => null, --reported qty
p_c037 => y.unit_measure,
p_c038 => '0', --sale disp
p_c039 => y.PRICE,
p_c040 => pPermitID,--permit id
p_c041 => y.MARKET_CODE,
p_c042 => nvl(y.GRADE_CODE,'999'),
p_c043 => null,
p_c044 => null,
p_c045 => null);
end loop;
end loop;
</p>

I thought I had resolved as it seems driven by pagination....but alas (while pagination is odd), the disposition code still appears for every collection record...but the other data does not. again, any thoughts are appreciated.

Similar Messages

  • How to differentiate the EMPTY Records and Null Values in DSO

    Hello....how is everyone here?? Ehehehe!
    I try to load some data from the flat file which contains some EMPTY data and Null Values for the records. The data type for the InfoObjects of the fields "Quantity" is "number". The sample data from the flat file (CSV) are as below:
    Food              Quantity
    Hamburger  -       12
    Cheese        -       0
    Vegetable      -               (Empty)
    When I try to load the above sample data to the DSO, I get the results of the data as follow:
    Food              Quantity
    Hamburger     - 12.000
    Cheese           -  0.000
    Vegetable         - 0.000
    In this case, how can the user differentiate whether the records is contain empty value of null values in DSO? This is kinda of hard to differentiate the both scenarios above. Is there any way to differentiate the scenarios described here?
    Thanks alot =)

    Hi Fluffy,
    It depends on the initial values of the data type
    The inital values For quantity/Currency/ Numbers it takes spaces as 0
    for char it is SPACE
    We cannot differeniate between space and null values.
    IF you have to force this then define quantity as char and load the data. we will not have units and aggregation in this case.
    Hope this helps.
    PV

  • How can I view the number of tunes in the Library? The number shows for Playlists but not for the total Library.

    How can I view the number of tunes in the Library? The number shows for Playlists but not for the total Library.

    Hello,
    I apologize for submitting this question.  Soon after I posted it I saw a similar question that had my answer..
    Again, my bad for not looking first.
    Ron Morris

  • I made order on 14 sep but until now the total price not yet deducted  from my master card .. can u check plz .. 02 order under my id account  ********* thanks

    i made order on 14 sep but until now the total price not yet deducted  from my master card .. can u check plz .. 02 order under my id account  *******thanks
    <Edited by Host>

    Check your order status here http://store.apple.com/us/help/viewing_changing_orders if it was order on Apple's Online Store, or here... http://store.apple.com/us/account/home 
    Good luck!

  • How to get the total record count for the report

    Hi,
    How can I get count of the total records shown in the report. When we set the report attributes, we have an option "Set Pagination from X to Y of Z"
    Does anyone know how can I get the Z value from APEX variables.
    I know we can use that query and get the count but I just want to know how we can use APEX Variables effectively.
    Thanks in advance.

    You write a loop, something like this:
    Go_block('B1');
    If not form_success then
      Raise Form_Trigger_failure;
    End if;
    First_Record;
    If not form_success then
      Raise Form_Trigger_failure;
    End if;
    Loop
      If :system.record_status in('CHANGED','INSERT') then
        -- modify the record here--
      End if;
      Exit when :System.Last_Record = 'TRUE';
      Next_Record;
    End Loop;
    First_Record;But be very careful-- If your block can fetch a large number of rows, (over 100), this loop can take a long time, and you should not use this method. The loop will continue fetching more rows from the database until all rows satisfying the query are retrieved.

  • I have recently bought an 8Gb macbook pro. If I update it to mountain lion will it take half of the memory I have?

    I have recently bought an 8Gb macbook pro. If I update it to mountain lion will it take half of the memory I have?

    Well thats upto you but before any major update a backup is recommended, you should also be backing up your system as a matter of good housekeeping.
    Time machine makes this very easy, you will require an external disk at least twice the size * of your hard drive in you Mac. Connect it to you Mac with USB, Firewire or Thunderbolt, whatever you wish. You can use Time Machine to take a backup of the hard drive.
    If you are unfortunate and have a hard drive fail you can recover all your data very easily.
    Apple also sell a product called Time Capsule http://www.apple.com/timecapsule/ but I just use an External Disk.
    *** Twice the size may be a bit excessive, it depends on how full your hard drive is and how much you expect it to fill.***

  • I am in China. When I plug in my powerblock i get a green light for 10-15 seconds then it turns orange. It seems to feed power but not charge the battery. i have a message that says the battery is not charging.

    I am in China. When I plug in my powerblock i get a green light for 10-15 seconds then it turns orange. It seems to feed power but not charge the battery. i have a message that says the battery is not charging.

    Do  these
    https://support.apple.com/kb/HT3964
    http://docs.info.apple.com/article.html?path=Mac/10.6/en/26871.html
    https://support.apple.com/kb/TS1713
    https://support.apple.com/kb/ht1509
    could be the power isn't sufficient, use another location
    make a note of any results you get and post them

  • ITunes says my iPod touch can't be used because I need the latest version of iTunes, but that's the one I have. What should I do?

    iTunes says my iPod touch can't be used because I need the latest version of iTunes, but that's the one I have. What should I do?

    Just what are you doing and and what is the exact wording of the message?
    What version of iTunes is installed on the computer? The latest is 11/2

  • I am setting up a new computer. I've installed and signed into Adobe Digital Editions, but cannot see the ebooks I have purchased.

    I am setting up a new computer. I've installed and signed into Adobe Digital Editions, but cannot see the ebooks I have purchased.

    Moving this discussion to the Downloading, Installing, Setting Up forum.
    Ninaa43224110 what version of Illustrator are you installing?  Are you using the serial number registered under your account at http://www.adobe.com/?  For information on how to locate the registered serial number under your account please see Find your serial number quickly.

  • Woke up and my phone was completely dead. Won't turn on, no charging, nothing at all.  Thought maybe some kind of water damage because it was on my windowsill, but neither of the water detectors have turned a color.  Help?

    Woke up and my phone was completely dead. Won't turn on, no charging, nothing at all.  Thought maybe some kind of water damage because it was on my windowsill, but neither of the water detectors have turned a color.  Help?

    No that’s probably what I’ll do. I'm thinking the guys at the apple store can only do basic technical support since most of them are sales people that don't know how to physically repair phones. It seems kinda silly that, as fine as a product the iPhone is, when something like this happens they just tell you to replace the entire device without doing any proper diagnostic. If it was any other phone you could simply take it to a cell phone repair shop and they'll usually fix it. It’s almost as though Apple assumes their products will never fail so that when they do, the only solution is to replace the entire device at a cost higher then it would be if it was just a simple fix. So hopefully the local cell repair shop can do something instead of having to replace the entire phone. I'll accept the fact if I have to replace it after taking it to a few places and having some real technicians look at it, instead of a 5 minute trial and error diagnostic done by a sales associate at the apple store being quick to tell me that the phone is useless and has to be replace for several hundreds of dollars.

  • FYI DU error:"Reserved fields in the catalog record have incorrect data"

    I had a very perplexing problem...
    My iMac G5 was shutting down by itself so I took it to Apple and had the power supply replaced. After it was repaired I was concerned about the hard drive health after the unexpected shutdowns. So I ran Disk Utility and encountered the following...
    The iMac G5 is running OS 10.4.6.
    I ran "Repair Disk Permissions" from Disk Utility and encountered no errors.
    I ran "Verify Disk" from Disk Utility on the drive and I get these results (copied from DiskUtility.log):
    Verifying volume “TheDisk”
    Checking HFS Plus volume.
    Checking Extents Overflow file.
    Checking Catalog file.
    Checking multi-linked files.
    Checking Catalog hierarchy.
    Checking Extended Attributes file.
    Reserved fields in the catalog record have incorrect data
    Checking volume bitmap.
    Checking volume information.
    The volume TheDisk needs to be repaired.
    Error: The underlying task reported failure on exit
    Disk Utility stopped verifying “TheDisk” because the following error was encountered:
    The underlying task reported failure on exit
    1 HFS volume checked
    Volume needs repair
    This occurs whether I run it while booted from the hard drive or the restore disc. While booted from the restore disc, running repair disc indicates that the failure could not be fixed.
    Booted from the hardware test disc and all tests passed.
    Booted from TechTool Pro disc and all the tests passed.
    Booted from Disk Warrior (had to get the "free" update to boot my iMac G5) and rebuilt directory. No errors reported.
    Still same error reported in Disk Utility. ???
    Booted iMac in 'safe' mode. Rebooted iMac normally.
    Disk Utility now reports success!

    Sorry but this is not assistance to you but an additional request for help from someone!!!
    I had the same thing occur just now!!!! I have used everything in site and keeps returning............
    Hope someone has an answer as to why this occured....

  • How can I get the previous record's field value in a VO

    Hi I would like to know how can I get the previous record's field value in a VO
    For example : I have a VO porequisitionlinesvoimpl, and it contains 5 records (porequisitionlinesvoimpl.getRowCount() = 5). How can I search all records in the VO and get the field (attribute3) for all records?
    Many thanks anyone can help
    Lawrence

    Hi ,
    U can loop through the VO to get the value of attribute3,
    need to extend the controller ,use below code
    OAViewObject vo = (OAViewObject)oawebbean.getApplicationModule (VO1);
    OARow row = null;
    int fetchedRowCount = vo.getFetchedRowCount();
    RowSetIterator Iter = vo.createRowSetIterator("Iter");
    if (fetchedRowCount > 0)
    Iter .setRangeStart(0);
    Iter .setRangeSize(fetchedRowCount);
    for (int i = 0; i < fetchedRowCount; i++)
    row = (OARow)Iter .getRowAtRangeIndex(i);
    String value = (String)row.getAttribute("Atrribute3");
    Thanks
    Pratap

  • Reserved fields in the catalog record have incorrect data???

    I inserted the orginal installation disk for the Mac mini. I ran the verify disk. Then nine of these messages in red showed - "Reserved fields in the catalog record have incorrect data." I then did repair disk and now it shows that 1 volume could not be repaired. I have the MiniStack as well. I am assuming that the Hard Drive is the one needing repair. Not the MiniStack which also has OS installed along with Classic. How can I fix the disk? How important is the message in red?

    You have directory damage.
    Use Disk Warrior to repair the drive: http://www.alsoft.com
    Explanation of what directory damage is and what causes it: http://alsoft.com/DiskWarrior/details4.html
    The other option is to wipe your drive and re-install everything.

  • What is the use of setting null values to Objects?

    What is the use of setting null values to Objects?
    regards,
    namanc

    It's more of a safety trap within java to handle the "programmers are still humans" exception.
    String myname;
    // print what???? Forgot to initialize the name!
    System.out.println(myname);Java will complain about myname not being initialized. It won't when you do this:
    String myname = null;
    // allright, your name is null
    System.out.println(myname);In the second case you are showing to java that you know what you are doing.

  • How to get the total record count in ODI

    Hi
    I have the interface the are file to DB.
    The format is like this..
    HEADER
    DETAIL
    TRAILER
    Now will write the contains of file to DB,
    But i have to insert the total count ie numberof record written from file to DB in my Trailer record.
    can you tell me how can i get the total count of records in file and write it to trailer?
    Also, I want the interface to rollback the data if something fails will loading the data from file., ie. if there are 100 records in file and 50 got transfer and something fails i want to rollabck the 50 records from DB.???
    Thanks :)

    Hi
    You can design a flow for Full load flow and incremental flow from flat file to Table.
    Create a table at target database like.. (create table with last_execution and palce the V_FULL_LOAD value and LAST_EXECUTION_DT columns in last_execution table)
    Add faltfile as table in model, create a variable as V_FULL_LOAD and make sure that the default values is 01-01-1900
    Create one more variable like V_LAST_EXECUTION_DATE (in this variable write a case statement that if V_FULL_LOAD value is 'Y" then full load should happen and same time you should check that V_FULL_LOAD column is balnk then write insert statment else write update statement to update last_execution_dt column, similar for 'N')
    please provide your *personal mail ID*, i will send a doc file realted to your query.
    we have to tables present in work repository (SNP_STEP and STEP_LOG tables) using tables we can get how many records are inserted/updated and we can find how many records are not transfer and gor error.
    Thanks
    Phani

Maybe you are looking for

  • "Tab" key doesn't work with e-mail

    Having to change from MSN.com In e-mail with MSN the tab key worked fine. When using Firefox to access my new e-mail accounts on q.com I can no longer use the tab key. Doesn't work. ZIP. Nadda. I often have to send e-mails that have columns of figure

  • Switch to 2X Xeon 5680 6-core, Will this work?

    Hello My current set up of a 8 core 2.26 Xeon mac pro (Early 2009) has been giving me insufficient power for what i need to do. I am not willing to pay for the apple upgrade to only 2.93 for an 8 core, so I am considering upgrading to two six core 3.

  • Database table for output condition records

    Hi   Can anyone let me know " in which database table the condition records of output type will get stored?" . please let me know the table names related  to output. Thanks in advance

  • Imap and Pop not working on 2013 servers - BAD Command received in Invalid state

    Hello,  We recently moved our frontend server over to Exchange 2013. So now both internally and externally all mail traffic will flow through the new servre. After battling issue after issue I was able to get the new exchange environment working as i

  • Code from book

    Hello everybody, some time ago I bought the book by Horstmann and Cornell "Core JAVA 2, Volume I - Fundamentals". Now I decided to start reading it but I don't know what I did with the attached CD. If you have the same book could you kindly send me t