Code error: invalid line number 1 for class RowSet method GetRow PCPC:67

People,

Hello. I am writing PeopleCode to manipulate data in the scroll bar on level 1. My component has 4 pages and its Structure is as follows:

Scroll - Level0
JournalHeader
JournalLine
JournalTotal
JournalError

Scroll - Level1 primary JournalLine1 Record

While JournalLine1 is inside the JournalLine page and its fields are 'Account' and 'amount '. The page 'JournalTotal' field is 'amount '. My job is to add up all the numbers in the field "Amount" of "JournalLine1" and assign the total amount for the field 'Amount' of the page 'JournalTotal '. My PeopleCode is as follows:


All local & RS lines;
Local Row row & total;
Local Record & rec;
Local Field & field;

& RS = GetLevel0() (2). GetRowSet (Scroll.JournalLine1); / * JournalLine is on the 2nd level 0 * /.
& line = & RS. GetRow (1); / * What a "JournalLine1" line on level 1 * /.

For & I = 1 to & row. RecordCount
& rec = & rank. GetRecord (& I);
& field. Value = & on the ground. Value + & rec. GetField (Field.Amount). Value;
-End;

& total = GetLevel0() (3); / * JournalTotal is on the 3rd at level 0 * /.

and total. GetRecord (Record.JournalTotal). GetField (Field.TotalAmount). Value = & on the ground. Value;



The PeopleCode above is compiled. But when I run the component in the browser, I got this error:

"Invalid line number 1 for the class method GetRow PCPC:67 RowSet. Component.GBL.JournalLine1.Amount.FieldChange. A PeopleCode program called an object method with an invalid value for the line number parameter. The line number must be in the range of lines present in all lines. »

I think this error is called "& rank = & RS. GetRow (1); "Because there is only one line"JournalLine1"in level 1, it seems correct to use GetRow (1). I also tried ' GetRow (0) ' and ' GetRow (2) ", but got the same error.

Why do '& rank = & RS. GetRow (1); "get such a mistake? People can help solve the problem?


Thanks in advance.

Try to make it simple;
& total = 0;
& RS_LEVEL0 = GetLevel0();
& Row_LEVEL0 = & RS. GetRow (1);
& RS_LEVEL1 = & Row .getrowset (Scroll.JournalLine1);
For & I = 1 to & RS_LEVEL1. Activerowcount;
& Row_LEVEL1 = & RS_LEVEL1. GetRow (&I);)
& Record_LEVEL1 = & Row_LEVEL1. GetRecord (Record.JournalLine1);
& Field_LEVEL1 = & Record_LEVEL1. GetField (Field.Amount);
& Amount = & Field_LEVEL1. Value;
& Total = Total & + &Amount;
-end;

Your_Level_0_Record_Name.LEVEL_0_TOTAL_FIELD_NAME. Value = &Total;

I hope this will work!

Do not no matter what declearation will be declared automaytically.

Thank you
Amit

Tags: Oracle Applications

Similar Questions

  • Error "Invalid line" when you use the command tableFile - ttImportFromOracle

    Execution of the order and got an error, as shown below:

    c:\oracle>ttImportFromOracle -oraConn myUser/myPassword@myDB -tableFile C:\oracle\table_list.txt
    Error: Invalid Line 'mySchema.myTable2' in file 'C:\oracle\table_list.txt'
    Use '-help' for more information
    
    

    table_list.txt looks to below, except I have 112 tables total in the list, a table by line, as indicated in the help documentation.

    mySchema.myTable

    mySchema.myTable1

    mySchema.myTable2

    I tried to make the file table_list.txt have only the table (without figure) names and the same error occurs.

    Invalid line is always the last table in the file. So if I take off the table she complains, she complains always just whatever the table is the last in the file.

    Can someone tell me what I am doing wrong?

    Thank you

    Matt

    To work around the error, I just used - tables instead.

  • DR IP customizer: error on line number '17': the number of columns specified is incorrect.

    Hello

    I work with MRS 4.1 and trying to customizations ip configuration for my virtual machines guests on the recovering site (approx. 100 guests).  I've updated the CSV (generated from the order of Dr. - ip - customizer.exe) with all the necessary network information.  But when I try and upload it to my site SRM recovery server, I get the following error:

    Error on line number '17': the number of columns specified is incorrect.

    Is the command I use to download: Dr. - ip - customizer.exe - cfg... create csv - c:\srmip.csv - cmd \config\vmware-Dr.xml

    I found that if I change the csv file so that it contains 16 lines or less it downloads very well.  I have not read on any limitation of the number of rows in the csv file might contain so I think that there is a configuration that causes this behavior, but I can't figure out what that/where it is.  Any help would be greatly appreciated.

    Thank you.

    Hello

    something is wrong with your file formatting. A look at the image as an attachment. From the server6 (line 17) do not have the lines "," (comma) at the end of the line (and so less columns):

    If I take your file and then open in Excel and save it without changing anything, all lines have ',' (comma).

    Probably something wrong with the way in which you save the files (Excel throws several warnings when you try to save the file in the csv format, you have to press 'Yes').

    Michael.

  • Cod error invalid 907/App does not start for OS 5.0 devices

    I can't give any details because it's my customers having trouble and not me, but some customers (not all) installation of my application (which is built against 4.3 for non-Storm devices and 4.7 for storms) on their devices OS 5.0 get "cod not valid error 907" install errors at the course where my usual app run if she moved.

    Once again, most of the clients (including most of the users of OS 5.0) aparently install and run the application very well (at least, we don't hear very many complaints), is not a generic problem.

    I tried the building against 5.0 for the limited set of customers affected by the issue and tried to remove all generated files and building completely clean for all versions of my application, but nothing will do.

    I was wondering if anyone had heard or experienced this kind of error on new or more advanced devices.

    Thanks for any information you can share.

    mellowfish, I didn't believe that I was hating on you.  The 907 is horrable, I presented a paper on it at the DevCon last year. I could send you my slides if you want.  My best advice 1 use updateJad.exe after execution of code signing rather than doing it manually.  that COULD help.

    I know that these questions appear on upgrades and my best thing I can advise you to do is to remove some * beep * of the old JAD?  SHA-1 signing keys are a problem, that I found to do it.  In addition, if cod were previously THAT BES pushed rather than OTAed it may cause problems.

  • Code error changing ring number?

    I wrote a request a few years and the constant ring of error used in the code.  It was to indicate that VI dynamic intervention has not been opened by a class of children as expected.  The I found a description of the included list, and he very well describes the condition.  This development has been done in LV 2011 or perhaps even more soon.

    Now after a massive compilation of VL2013 SP1, my error code (400046 exactly) is not defined.  I guess that I expected error codes to have a continuous, no change once created life.  Any ideas why it is no longer recognized?


  • No credit card error invalid when you try to change the method of billing (CC) for Adobe CC subscription

    It is not a problem of card or browser. I don't call the USA of Ros. What is the alternative?

    Hi daevemancreative,

    Please see the Ko: http://helpx.adobe.com/x-productkb/policy-pricing/membership-subscription-troubleshooting-creative-cloud.html and contact our conversation of support in the event of another problem.

    Kind regards

    Romit Sinha

  • I am owner of acrobat 9 pro and he had to re - download the program from a computer problem but when I get the code of the adobe Web site gives me error invalid serial code.  I use copy / paste to prevent Miss typing the code.

    I am owner of acrobat 9 pro and he had to re - download the program from a computer problem but when I get the code of the adobe Web site gives me error invalid serial code.  I use copy / paste to prevent Miss typing the code.

    Hi Laurent,.

    Please try the steps listed in the KB: https://helpx.adobe.com/creative-suite/kb/error-invalid-serial-number-acrobat.html

    Kind regards

    Rave

  • See the line number error container

    Hello

    I am new to Oracle SQL Developer, I use the version 3.0.0.4 on Windows XP 32 Bit, connected to an Oracle 11 g server.

    I have a statement of "CREATE or REPLACE VIEW FORCE" that shows me an error ("error at line 0 in command: CREATE or REPLACE...") ") when I run it directly in SQL Developer. Unfortunately the error message does not indicate in what line the error occurs (I have activated the display of line numbers).

    Can Developer SQL show me the line number that contains the error?

    Thank you!

    Developer SQL can display the line number, but for some instructions a number of line is not available. CREATE VIEW is one of them.

    Try taking the select statement of create view and it works separately. That should give better diagnoses.

  • Disabled-Adobe Acrobat 9 Pro on old PC. Implementation error when you try to install the new PC. "Invalid serial number."

    Disabled-Adobe Acrobat 9 Pro on old PC. Implementation error when you try to install the new PC. "Invalid serial number."

    Please see the following documents.

    1. Error "invalid serial number". Acrobat 9 | CS4
    2. Invalid serial number error

    Let us know if that helps.

  • PLSQL question about printing the line number when an exception occurs

    Hi all

    My database: oracle 10G

    Here's my question:

    Explain my problem using a simple procedure, such as:

    create or replace procedure p_hello_world
    as
    [a few variables declared]
    Start
    [a lot of code here]
    exception
    while others
    dbms_output.put_line ('Exception occurred for the p_hello_world procedure');
    dbms_output.put_line ('sqlerrm' |) SQLERRM);
    dbms_output.put_line ('sqlcode' |) SQLCODE);
    -Suppose I want to print the line number where the exception occurred, pourrais I do, if so please help me with this
    end;

    Now it's the same construction that I use for my use, I have a comment in the above exception block where I need to print the line number where the exception is produced, now since I'm on so that any other article, my procedure is always succeed even if an exception occurs, but using this technique I am not able to quickly debug my code but print line number would help me a lot Please help me with this as its rescue me great distress.

    Concerning
    Rahul

    Try something like:

    dbms_output.put_line(sqlerrm || chr(10) || dbms_utility.format_error_backtrace);
    

    (Hoping that this is a simplified example and you are not actually using dbms_output as an exception handler...)

  • I can't install a previously purchased version of acrobat 9 pro downloaded from the site.  Returns the message to the final installation steps "invalid serial number." I had copied and pasted directly from 'My Adobe'.  What should do?

    I can't install a previously purchased version of acrobat 9 pro downloaded from the site.  Returns the message to the final installation steps "invalid serial number." I had copied and pasted directly from 'My Adobe'.  What should do?

    Hi hgratz,

    In view of the error "invalid serial number" for Acrobat 9, I suggest you to please visit the doc KB link mentioned below:

    Error "invalid serial number". Acrobat 9 | CS4

    Let me know if this helps.

    Kind regards

    Ana Maria

  • How to display the line number in the form?

    Hi guys,.
    First I fll you in the story so far...

    I have a block of data in database named: V_PAYUPLOADHEADER_HP, in the property palette I put in order by facility and warehouse.

    I want to display the line number for each record of recoveries, so I do: V_PAYUPLOADHEADER_HP. NUMB, which will contain the line number.


    Here are some methods I've already tried:
    -First I tried to make a database of field element = O, column name = ROWNUM.
    The result is the jump of integer (1, 2, 5, 3, 4 etc. instead of 1, 2, 3, 4, 5) I think it is because of the agenda that I set.
    I have to keep this order by setting, so I look for another way to display the rownum.

    -Then I tried to set the data item = N, column name = null, mode of calculation = formula, formula =: system.trigger_record.
    When I run the value of: V_PAYUPLOADHEADER_HP. NUMB is 1. For all recovered records is 1, 1, 1, 1 instead of 1, 2, 3, 4.

    -J' also tried to use the trigger after QUERY attached to the block.
    In relaxation, I have this code:
    : V_PAYUPLOADHEADER_HP. NUMB: =: system.cursor_record;
    When I run the value of: V_PAYUPLOADHEADER_HP. NUMB is 1. For all recovered records is 1, 1, 1, 1 instead of 1, 2, 3, 4...



    Is there something I missed?
    What can I do to display the rownum?

    Hello
    Maintain this point NON-base of DATA and create a trigger on the block called after REQUEST level and use the code below...

    :FIELD_NAME:=:SYSTEM.TRIGGER_RECORD;
    

    -Clément

  • Is unable to connect/add the host to the CR - error: another error occurred at line number 7, not well-formed (invalid token)

    Hello!

    Having a problem with a server ESX 3.5 and VC2.5. Two days ago it became (not answer) in VC and I could not reconnect. Using VI client I can connect directly to the host. I ping the ESX other EWX hosts and to the client with VC.

    I tried mgmt-vmware restart and restart av vpxa. A restart of the ESX host has not helped.

    I have her disconnect the ESX and when trying to connect, I get the Connection Wizard, but when you add the server name and root I get an error saying:

    General error: another error at line 7 number, not well-formed (invalid token) and cannot continue.

    I saw another discussion in the forum saying ban the CDP but that did not help.

    After removing the server ESX of VC, I'm trying to add hos, but run into the same error. I see no particular error in newspaper except errors in certificates, but I'm not sure that that's about it.

    It's one of the things that I read in the newspaper about the VC client:

    Unexpected error connecting host host3.kun.local: incomplete header received

    GetChanges failed on the host /vpx/host/#7863 /: vim.fault.NoHost

    Set the error code of connection (-2) for the host host3.kun.local

    Anyone with any ideas what to look for?

    I'll try to remove vpxa and vpxauser # rpm - e Vmware-vpxa and # userdel vpxuser and see what happens.

    Carpet

    That's good news, glad to hear that the problem has been resolved.

    If you found this information useful, please consider awarding points to 'Correct' or 'useful '. Thank you!

  • VCB: Another error occurred: at line number 7, not well formed (invalid token)

    I get the error message:

    2009-06-12 17:10:00.795 "vcbMounter" error of 2284 Error: Another errorencountered: line number 7, not well formed (invalid token)

    When I use the vcbMounter.exe (the same with vcbVmName.exe) of the VCB Proxy with the option "-a name: vm - name", since last week.

    With "- an ipaddr:vm - name ' it works well. We did not updates or upgrades at this time.

    Maybe a problem with a special character in the name or description of a virtual machine, but I can't find it.

    In the Victoria Cross are more than 1000 VM. Can anyone give me a tip how to find this character, or is there a differnet solution?

    Thank you very much

    Guenter

    Hello

    If you have a special character in the vmname, try with escape character.

    -@m!t

  • Error invalid number

    Dear Experts

    In fact, we have two packages one is master and another package which is subpart of the master package...

    Now the question is when I run only subpart, it works well. If run master and then to Subpart package and then the package is a failure...

    When I checked the error code is not a valid number. When I checked the code the error occurs during insertion...

    in my sql developer, I tried this insertion and I don't have any error invalid number.

    When I run simply Subpart together then I don't have this error number it runs successfully...

    When I run the master package calling this subpart, then I get an error invalid number.

    can you please how to debug or explore the problem...

    Best regards

    ASP.

    If you need a solution to get out variables for 11.1.1.5 to take a look at the procedure, generic, as demonstrated at the following link

    Variables to run wrong for older versions of the ODI | EMP DEV

    put this procedure in a package and run just before that your interface is running but after all variables have been defined and it will list the values of the variables in the operator and if all goes well to highlight the rogue variable

Maybe you are looking for