ERROR-1079 Error in item post calculation computation

hi,
We are getting this error when the user is clicking on a "Submit" button. Below the error there is an Oracle -20000 (ORA-01422) error is getting displayed. In order to debug the issue i need to understand a way of knowing the underlying database procedure that is being called.
Is there a role that we need to set which will give us developer access to the application that has been developed using HTML DB so that i can look at the procedure that is called from the button or is there some other way of doing so?
Would appreciate your response on the same.
Regards,

Shalini - You need to use the service administration application to create a user in the workspace that owns your applications (Oracle). Use the url ../pls/htmldb/htmldb_admin (or the like) to get to the admin login page. After login, find the Manage Developers and Users link and select the workspace of your developed applications, then create a user account. Then logout from the admin application and login to the Oracle workspace with the new account credentials. Then you can use the Application Builder to examine all the applications in the workspace and you can export them too.
Scott

Similar Messages

  • Some basic post-calculation computation

    maybe I just have the syntax wrong....
    I'd like to default a field to the value of another field entered earlier in the same page.
    Say a customer has a short name and a long name.
    I don't want the long name to be blank, so it should contain the short name unless something better is entered.
    My ideal scenario is that if no long name is entered (ie the user leaves the field empty and moves onto the next field), the short name should be defaulted into the long name (and redisplayed, ideally). If this is not achievable, I would settle for pushing the short name into the long name field (and displaying it) to serve as a default before the user even has a chance to enter or skip the long name.
    I tried the following post-calculation computation
    IF P12_LNAME IS NULL THEN
    P12_LNAME := P12_SNAME;
    END IF;
    This gives a runtime error, complaining about the unexpected IF. (As an aside, can't the sysntax be checked at definition time instead of waiting until run time?)
    I'm not quite clear on whether these page items need a preceding colon or not, but the "IF" problem prevents me from experimenting with both naming conventions.
    I'm sure I could write a function to achieve the defaulting, and maybe I could also do something in the validations, but I suspect a more straightforward solution exists and I hope a more knowledgeable practioner can show me how silly I am.

    Sure. Now that I know how to validate with ease, I will be tightly checking all the user entered fields. I will default as we discussed earlier when fields are null, and other fields will be converted to upper case. all these fields will be entered into a series of fields in a single page region.
    what I'd like to do, before saving to the database, is to redisplay the same group of fields the user has entered, showing the modifed entries after my validations and post-calc computations, so that the user can see exactly what is about to be saved. I'd rather not have to create a whole new page just to do this if possible.
    I guess I just want to re-render the same page with the current page field values.
    CS

  • Post Calculation Computation for Date/Timestamps

    Hello,
    I would like to know how to apply Post Calculation Computation for Dates/Timestamps?
    I had trouble trying to add this to the Post Calculation Computation area:
    TO_CHAR(:P1_TARGETDATE, :DEFAULT_DATE_TIME_MASK);
    or should it be something more like:
    SELECT
    TO_CHAR(:P1_TARGETDATE, :DEFAULT_DATE_TIME_MASK) FROM DUAL;
    What would be the correct code to allow me to format a date/Timestamp where a Application Variable of DEFAULT_DATE_TIME_MASK could be used as well. (I dont want to use the existing Format Mask.)

    Just a hunch, but you might be having a problem because of the double quotes. Oracle likes single quotes. You also might want to forgo the quotes entirely.
    As for an invalid number, is it possible that one of the values that you are adding might be NULL. You can't add NULL to a number or you get an error. There are two solutions to that. One would be to do an NVL around each number you are adding (changing it to zero if the value is NULL). The second option (and easier option) is to use the SUM function. Mathematical functions like SUM and AVG ignore those values that are NULL.

  • Post Calculation Computation - Trim

    I have an item with the source type of Database column that's coming in with a single space.
    when display on the page the user has to delete the space to clear out the space.
    I've tried the "Post Calculation Computation" which is pretty straight forward with the Trim and the space still appears.
    What I've tried.
    Trim(:P8_FUND)
    Ltrim(:P8_FUND,' ')
    nullif(:P8_FUND,' ')
    Non of the above are working.
    When I tried the next statement just for a test, the space was removed and the xx appeared, so I can't figure way the above examples won't work????
    TRIM(:P8_FUND) || 'xx'

    I'm using Apex 3.2.
    I created a Trim function and added it to my Load_Start function and the item still has the leading space.
    Do you see anything in my code that's not right?
    HTML Body
    onLoad="Load_Start()";
    HTML Header
    function Load_Start()
    hide_item('P8_FRS_ACCT','P8_HIDE_COL1');
    hide_item('P8_FRS_SUBCODE','P8_HIDE_COL1');
    hide_popuplov('P8_FUND_CODE','P8_HIDE_COL1');
    hide_popuplov('P8_ORGN_CODE','P8_HIDE_COL1');
    hide_popuplov('P8_ACCT_CODE','P8_HIDE_COL1');
    hide_popuplov('P8_PROG_CODE','P8_HIDE_COL1');
    hide_popuplov('P8_ACTV_CODE','P8_HIDE_COL1');
    hide_popuplov('P8_ACCI_CODE','P8_HIDE_COL1');
    hide_popuplov('P8_LOC_CODE','P8_HIDE_COL1');
    hide_item('P8_FRS_OFFSET_ACCT','P8_HIDE_COL2');
    hide_item('P8_FRS_OFFSET_SUBCODE','P8_HIDE_COL2');
    hide_popuplov('P8_OFFSET_FUND_CODE','P8_HIDE_COL2');
    hide_popuplov('P8_OFFSET_ORGN_CODE','P8_HIDE_COL2');
    hide_popuplov('P8_OFFSET_ACCT_CODE','P8_HIDE_COL2');
    hide_popuplov('P8_OFFSET_PROG_CODE','P8_HIDE_COL2');
    hide_popuplov('P8_OFFSET_ACTV_CODE','P8_HIDE_COL2');
    hide_popuplov('P8_OFFSET_ACCI_CODE','P8_HIDE_COL2');
    hide_popuplov('P8_OFFSET_LOC_CODE','P8_HIDE_COL2');
    setFocus('P8_PAGE_FOCUS');
    trim('P8_FUND_CODE',' ');
    if ($x('P8_FI_ACCOUNT_TYPE').value != "F")
    {$x_HideItemRow('P8_FRS_ACCT');
    $x_HideItemRow('P8_FRS_SUBCODE');
    function trim(str, chars) {
         return ltrim(rtrim(str, chars), chars);
    }

  • Post Calculation Computation example for query source

    Hello,
    It's my understanding that the Format Mask filed in the Source section of the Edit Page Item is for database columns. I've been trying to find sample code on how to use a format mask for a field that uses a SQL Query as it's Source.
    Here is my query:
    SELECT :P3_CONSTR_COST + :P3_AQUISIT_COST + :P3_SECURITY_COST + :P3_HOUSING_COST + :P3_DESIGN_COST + :P3_AWFEE_COST
    FROM DUAL
    Can you please let me know how I can format it to display like: 999,999,990
    Thank you for your assistance....

    Just a hunch, but you might be having a problem because of the double quotes. Oracle likes single quotes. You also might want to forgo the quotes entirely.
    As for an invalid number, is it possible that one of the values that you are adding might be NULL. You can't add NULL to a number or you get an error. There are two solutions to that. One would be to do an NVL around each number you are adding (changing it to zero if the value is NULL). The second option (and easier option) is to use the SUM function. Mathematical functions like SUM and AVG ignore those values that are NULL.

  • Post Calculation Item Formatting

    I have a form item that is not a database column. The data is a number and I would like to format it as currency. I have entered the following in the Post Calculation Computation area but am getting an error message:
    TO_CHAR(TO_NUMBER(:P25_RO_BASE_RENT), 'FML99.99')
    I have also tried without the TO_NUMBER.
    Any suggestions? Thanks.

    This is what I have under Source:
    Source Used: Always, replacing any existing value in session state
    Source Type SQL Query
    Maintain session state: Per Session
    Source Value:
    SELECT new_base_rent
    from v_las_last_change_values
    where lease_id = :P25_ID
    --Charlotte                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Post calculation on database column in form

    I have a form created. for post calculation I convert text to upper case.
    upper(NAME);
    When I edit existing data in the form, and save the record. The data is converted to upper case. However when I create a new record and save it, everything is in lower case? What am I missing?
    Thanks,
    Bob

    By saying "Post calculation", do you mean a Calculation with Computation Point "After Submit"? At the Edit Page, your calculation should be in the second column - Page Processing.
    Did you go to:
    1)Edit Page
    2)"Create" icon in Page processing/Computations region
    (There is also a "Post calculation computation" property at the item level (item properties - region Source. But this function is executed at page rendering - after the data is read from the source. It is not executed when the page is submitted. This will not work the way you require.).
    If you are using Computation with processing point After Submit, go to the properties of this computation and look for Conditional Computations - there shouldn't be any condition, or you should have there something like :REQUEST = 'SAVE' or :REQUEST='CREATE'
    Also in the Computation, you should have a colon in front of the item name. So if Px_ITEM is the name of your item, than the computation should look like:
    upper(:Px_ITEM)
    Check also, if you are using the same page for insert as for update. Some application wizards create a separate page for insert and separate page for updates and deletes.

  • "Item 10     IPC:TTE:Calculation error: Pricing error: Mandatory condition & is

    Hello Experts,
    I need your help to solve this TTE pricing error.
    In Service Order, I am getting this error message for one particular material only
    "Item 10     IPC:TTE:Calculation error: Pricing error: Mandatory condition & is missing".
    Remaining materils I am not getting this error message.
    Please proivide your suggestions to crack this.
    Thanks

    Hi,
      This message come when you caculate 0TTE when doing cross country transactions . Check if this codition needs to be caculated for your order. If it is not required you should not make call .You can try to eliminate this error bu uisng the BADI BADI_TTE_DOCUMENT

  • When I turn on my computer I get the following error messages: Insecure Startup Item disabled. "Library/StartupItems/HP IO" has not been started because it does not have the proper security settings. Also for HP Trap Monitor.  How do I fix these?

    When I turn on my computer I get the following error messages:
    Insecure Startup Item disabled. "Library/StartupItems/HP IO" has not been started because it does not have the proper security settings.
    Insecure Startup Item disabled. "Library/StartupItems/HP Trap Monitor" has not been started because it does not have the proper security settings.
    How do I fix these?

    Library/LaunchAgents: com.promethean.activmgr.plist
    Library/LaunchDaemons: com.microsoft.office.licensing.helper.plist, com.promethean.activhardwareservice.plist
    Library/StartupItems: HP IO folder - HP IO, Resources, StartupParameters.plist
    HP Trap Monitor folder - HP Trap Monitor, Resources, StartupParameters.plist
    These are the system extension errors
    "/System/Library/Extensions/AppleGraphicsControl.kext"
    "/System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleMux Control.kext"
    "/System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/ApplePoli cyControl.kext"
    "/System/Library/Extensions/BJUSBLoad.kext"
    "/System/Library/Extensions/EPSONUSBPrintClass.kext"
    I do not know what any of these do or how to fix them.  I have run multiple disk permission repairs & disk repairs.  The startup & system extension errors continue to come up.
    I even followed the directions to move HP IO & HP Trap Monitor to the trash, run disk permissions repair, put back in folder, then restart - and still am getting error message.

  • A/c Error 'Maximum number of item in FI reached' during invoice posting

    Invoice is created with multiple Delevery So no.of entriies has increased and accounting document has not been created due to error 'Maximum number of item in FI reached'.
    Accounting document not generated. How it be solved.
    Regards,
    Sohail

    dear
    maximum number of accounting line items is 999.
    if the total number of line items exceeds that value .. it would cause the error ....
    speak to FI guy and abap guy ..may be it could be increased but as far as i know its not changeable.
    you just need to reduce the items and processes in parts..
    regards

  • Error while running Import Items program

    Hi All,
    I am getting error message "Item Catalog Group Descriptive Elements Open Interface import completed successfully for all records in this record set." when i am submitting Import Items Seeded program.
    data is loaded into master organization successfully but no records were created in child organizations.
    Apps version is 11.5.10.2
    The same program with same code ran successfully a week back.
    Any help is appreciated.
    Thank You..

    Duplicate thread (please post only once).
    Error after submitting Import Items Seeded Program
    Re: Error after submitting Import Items Seeded Program

  • HT1349 itunes will not open on my computer, and says I need to reinstall it.  When I try to reinstall itunes I get an error message error #2502 and error #2503

    When I try to open itunes I get a message that says that itunes is corupt and I needto reinstall it.  When I try to reinstall itunes Iget two error messages; error #2502 and error #2503.  How can I get itunes to work?

    Many thanks.
    Taken at face value, you're having trouble with an Apple Application Support program file there. (Apple Application Support is where single copies of program files used by multiple different Apple programs are kept.)
    Let's try something relatively simple first. Restart the PC. Head into your Add or Remove Programs control panel, select "Apple Application Support", click "Change" and then click "Repair".
    If no joy after that, try the more rigorous uninstall/reinstall procedure from the following post. (Although the procedure is for Vista and 7 and you've got XP, just read "Computer" as "My Computer", read "Uninstall a program control panel" as "Add or Remove programs control panel" and assume the system is 32-bit, and you'll be doing the right things.)
    Re: I recently updated to vista service pack 2 and I updated to itunes 10.2.1 and ever

  • ERROR -- Checksum error for Hidden and Protected item ID

    Hello all,
    I usually get the error:
    Checksum error for Hidden and Protected item ID (10785219011206310), value (on), posted checksum (C1DEF33B4C8D57845151B7D18363B3D7), expected checksum (********************************), index_i (3), index_j (2), index_m (1);
    I have already found one thread with this question - Checksum error for Hidden and Protected item ID
    but there are no answers to this problem.
    Any thoughts how to solve this and what is causing it??
    Regards Pedro.

    Pedro,
    Read under the improved security section in the below article.
    http://www.oracle.com/technology/products/database/application_express/html/3.1_new_features.html
    I used to receive the same error because I was trying to update the value of the hidden and protected item on the same page repeatedly.
    I changed the item type to hidden to avoid the error.
    Hope this helps,
    Dippy

  • Error During creation of Items

    guruz,
    we are working on Item Conversion.
    While creating an item,we'r constantly getting following error from last couple of days,where ERROR MESSAGE is not given [?] :(
    How shall we trace the error?
    TRANSACTION ID : 620756
    ORGANIZATION ID : 204
    TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
    COLUMN NAME : INVENTORY_ITEM_ID
    MESSAGE NAME : INV_IOI_ERR
    ERROR MESSAGE :
    TRANSACTION ID : 620757
    ORGANIZATION ID : 204
    TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
    COLUMN NAME : INVENTORY_ITEM_ID
    MESSAGE NAME : INV_IOI_ERR
    ERROR MESSAGE :
    Checked in mtl_interface_errors table also,and found no error messages were given in 'ERROR_MESSAGE' column.
    Previously, while testing for Items ,this error didn't used to occur ..from last couple of days it has started occurring :(
    What is the solution offered on this problem? any clues ?
    Its little URGENT.
    -Thank You !

    Thanks a lot Hussein.
    Following are the details;
    Application release : R12
    Database version : Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    OS : Windows XP
    There were no 'logical changes' made in to the code,changes were just cosmetic changes like, 'to make error messages more readable .etc..etc'
    Messages from database log file were given in my 1st post itself.Pasting it again,
    Start of log messages from FND_FILE
    Import Items
    Argument 1 (ORG_ID) =
    Argument 2 (ALL_ORG) = 1
    Argument 3 (VAL_ITEM_FLAG) = 1
    Argument 4 (PRO_ITEM_FLAG) = 1
    Argument 5 (DEL_REC_FLAG) = 2
    Argument 6 (PROCESS_SET) = 1
    Argument 7 (MODE) = 1
    TRANSACTION ID : 637092
    ORGANIZATION ID : 204
    TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
    COLUMN NAME : INVENTORY_ITEM_ID
    MESSAGE NAME : INV_IOI_ERR
    ERROR MESSAGE :
    TRANSACTION ID : 637093
    ORGANIZATION ID : 204
    TABLE NAME : MTL_SYSTEM_ITEMS_INTERFACE
    COLUMN NAME : INVENTORY_ITEM_ID
    MESSAGE NAME : INV_IOI_ERR
    ERROR MESSAGE :
    Validation errors occured during Import Item
    Refer to table MTL_INTERFACE_ERRORS to access validation errors
    End of log messages from FND_FILE
    Thanks for 268968.1 ,1339792.1 notes,but it didn't had explanations regarding 'INV_IOI_ERR'.
    we are still stucked up on the same point. :(
    What could be the other possibilities??
    and as 'ERROR_MESSAGE' column is blank, not getting any clues to trace further.
    -Thank You !

  • Error: No Actual Line item were selected (Message No. KB420)

    Hi All,
    I have created order in KO01 and posted the transaction in F-02. And assigned the same order in KH01.
    And, now i am trying to Actual cost of line items for order in KOB1, i am getting below error
    "Error: No Actual Line item were selected (Message No. KB420)"

    HI,
    Thank you for the reply.
    Madce necessary changes internal order and assigned the correct cost element.
    issue got resolved. Thank you

Maybe you are looking for