Trying to create a reports region, receiving constraint violation

Using APEX 3.2
Anyone seen this before?
I just created a new page. I'm not adding a report region.
When I attempt to save it, I receive the following error:
ORA-00001: unique constraint (APEX_030200.WWV_FLOW_WORKSHEET_COLUMNS_UK2) violated
Unable to create Dynamic Query page.

Hi all.
You have this problem because two or more of your columns have the same name e.g.
customer.name,
product.name
You have to edit the query and add an alias.
customer.name as "customer name",
product.name as "product name",
etc
Regards.
sKr

Similar Messages

  • How to create a report region which the first colomn is row selector column

    I want to create a report region and its first column is a row selector column. I have used select sentence to select some columns. But I do not know how set the first column to row selector column. I mean I want to do as follow. When a radio which is first column is chosen, it will return it's value of the column in the chosen row. Please help me! Thanks

    Hi unnamed,
    Suppose you have an id that identifies your record.
    Go to Report definiton, tab report attirbutes.
    Select the id of your record.
    Create a link to the page you want to go to.
    Hope this helps.
    If not, I suggest you to create a from with report, and analyze the way the wizard has generated it.
    Leo

  • Urgent help! trying to create basic report with prompt.

    Hi,
    I'm trying to create a report which allows a user to select a item_id value (using either a LOV or manually entering a text_id) and then too display output.
    for some reason apex does not like the '&' prompt, in the SQL.
    Any help or suggestions, would be great? this is quite straightforward so it must be something I'm doing wrong!
    sql statement below:
    select i.item_id, i.title, d.date_logged, d.details
    from tracking_issues i, tracking_details d
    where i.item_id=&item_id
    and i.item_id=d.item_id

    Smiley,
    Apex is building a JSP, so instead of you running the page and it poping up a input box that you might be familar with if you run your sql in TOAD or SQL Nav it is waiting on your input(text box/LOV) to populate the item_id field. You need to build your LOV on something like select item_id d, item_id r from items and then once you select that item in the LOV the page will(should - based on how your branch is set up) to the page you are on and your report is displayed.
    Also make sure in your branch you are setting the LOV item name to the value you select for it in the branch since the page needs re-submit.
    Your select statement for your report should look like:
    select item_id, title
    from tracking_issues
    where item_id=:p1_LOV
    --where p1_lov is the name of your LOV
    -David

  • Version 3.1 fault - ORA-06502 error when creating SQL Report Region/Page

    I usually perfect my query in SQL*PLUS before I create a new report region.
    Consequently, I copy the code into the region wizard to create the new page. However, since we have upgraded to Version 3.1, virtually every report I have tried to create has created the following error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    It would appear that a maximum of 960 characters can be used to create the region/page. Perversely, once the page/region has been created, I can then edit the source and include as much code as I want (so far I've not run up against a limit)
    As it's just annoying, but not stopping me doing what I wanted to do, I've not got around to mentioning this error previously, but it occurred to me that I should (so I am!)
    David

    Hi David,
    Thank you for reporting this. Unfortunately, this was a regression introduced in Application Express 3.1. The workaround is to edit the region, as you suggested. This has been filed as Bug 6956070 and will be corrected in the forthcoming Application Express 3.1.1 patch set.
    Joel

  • SBS Console crashes when trying to create a report

    Hi there,
    My SBS2011 console keeps crashing when I'm trying to send a report. It also shows WSUS as unavailable. Here is the error report and the contents of the Console. log file.
    Things I have tried so far:
    1) Repairing the SBS Console using 2nd SBS2011 install disc from Add Remove programs
    2) Rebuild the SBS DB's as instructed here
    3) Made sure the Windows 
    3) Repair the SBS Monitoring database as instructed here
    http://blogs.technet.com/b/sbs/archive/2011/08/22/how-to-recreate-the-sbsmonitoring-database.aspx
    4) Attempted to clean WSUS as instructed here
    http://blogs.technet.com/b/gborger/archive/2009/02/27/what-to-do-when-your-wsuscontent-folder-grows-too-large.aspx
    5) Repair WSUS as instructed here
    http://technet.microsoft.com/en-us/library/gg680316.aspx

    Hi ,
    Thank you for posting your issue in the forum.
    I am trying to involve someone familiar with this topic to further look at this issue. There might be some time delay. Appreciate your patience.
    Thank you for your understanding and support.
    Best Regards,
    Andy Qi
    Andy Qi
    TechNet Community Support

  • I am trying to create a report that shows the last payment received by BP customer

    I am just looking for the last payment the most current one.  I am not sure of  how to write "Last" payment only. Best Danielle

    Hi,
    Try
    select top 1 a.DocNum, a.DocDate, a.DocDueDate, b.CardName, a.DocTotal
    from ORCT a
    inner join OCRD b on b.CardCode = a.CardCode
    where a.CardCode = '[%0]'
    order by a.DocDate desc
    Regards,
    Alvin

  • The report cannot be displayed. (rsProcessingAborted) when trying to create a report?

    Hi,
    I was looking to create a new report, all I want to do is to run a report that shows a users activities so if they have updated a record, or created/modified notes. 
    I tried the followingbut I got an error of The report cannot be displayed. (rsProcessingAborted)

    Thanks David,
    Thanks for your help.
    I can see the following from the logs.
    Application log
    Report Server (MSSQLSERVER) cannot load the TERADATA extension.
    System log
    The Kerberos client received a KRB_AP_ERR_MODIFIED error from the server CRMAPPSVC. The target name used was HTTP/CRMSERVER. This indicates that the target server failed to decrypt the ticket provided by the client. This can occur when the target server principal
    name (SPN) is registered on an account other than the account the target service is using. Please ensure that the target SPN is registered on, and only registered on, the account used by the server. This error can also happen when the target service is using
    a different password for the target service account than what the Kerberos Key Distribution Center (KDC) has for the target service account. Please ensure that the service on the server and the KDC are both updated to use the current password. If the server
    name is not fully qualified, and the target domain (C.LOCAL) is different from the client domain (C.LOCAL), check if there are identically named server accounts in these two domains, or use the fully-qualified name to identify the server.
    Reporting Service log files
    library!WindowsService_142!1c58!02/04/2015-09:27:48:: i INFO: Call to CleanBatch()
    library!WindowsService_142!1c58!02/04/2015-09:27:48:: i INFO: Cleaned 0 batch records, 0 policies, 0 sessions, 0 cache entries, 0 snapshots, 0 chunks, 0 running jobs, 0 persisted streams, 0 segments, 0 segment mappings, 0 edit sessions.
    library!WindowsService_142!1c58!02/04/2015-09:27:48:: i INFO: Call to CleanBatch() ends
    processing!ReportServer_0-9!140c!02/04/2015-09:28:02:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Query execution failed for dataset 'DSMain'.
    ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
    Microsoft.Crm.CrmException: An unexpected error occurred.
    System.ServiceModel.Security.SecurityNegotiationException: A call to SSPI failed, see inner exception.
    System.Security.Authentication.AuthenticationException: A call to SSPI failed, see inner exception.
    System.ComponentModel.Win32Exception: The target principal name is incorrect ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: An unexpected error occurred. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException:
    A call to SSPI failed, see inner exception. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: A call to SSPI failed, see inner exception. ---> Microsoft.Crm.Reporting.DataExtensionShim.Common.ReportExecutionException: The
    target principal name is incorrect
       --- End of inner exception stack trace ---
       at System.Net.Security.NegoState.StartSendAuthResetSignal(LazyAsyncResult lazyResult, Byte[] message, Exception exception)
       at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult)
       at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
       at System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream stream, SecurityMessageProperty& remoteSecurity)
       at System.Net.Security.NegoState.StartSendAuthResetSignal(LazyAsyncResult lazyResult, Byte[] message, Exception exception)
       at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.CheckCompletionBeforeNextSend(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.ProcessReceivedBlob(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.StartSendBlob(Byte[] message, LazyAsyncResult lazyResult)
       at System.Net.Security.NegoState.ProcessAuthentication(LazyAsyncResult lazyResult)
       at System.Net.Security.NegotiateStream.AuthenticateAsClient(NetworkCredential credential, String targetName, ProtectionLevel requiredProtectionLevel, TokenImpersonationLevel allowedImpersonationLevel)
       at System.ServiceModel.Channels.WindowsStreamSecurityUpgradeProvider.WindowsStreamSecurityUpgradeInitiator.OnInitiateUpgrade(Stream stream, SecurityMessageProperty& remoteSecurity)
       --- End of inner exception stack trace ---
    I do believe the issue to be with authorization account so i will dig further to see if i can fix it.

  • Hello, Any body tried to create Matrix Report in Portal?

    Any leads?
    Thank you.
    Madhav

    You cannot create a matrix report in Portal as of now.
    But still you can create it using Oracle Reports
    and call that report as one of the portlet using External applications/Oracle Reports access method.

  • When i am trying to create a report(using graph) in Word97 using Report generation Toolkit from Labview it's giving error in word import Module.vi that no such interface is supported could anyone help me out to solve this problem

    Word import Module.vi is trying to call Vb project and VB components thru active X controls when it's trying to call Vb components it's giving the error no such interface found..I am using Labview 6,MSoffice97,Graph8

    Hi Adam,
    It seems that there have been a couple other instances of the same error occurring and the problem is a conflict that occurs with the Office 97 only. Somehow the MS Office type library has been modified and this is causing incompatibilities with MS Office 97. Have you installed any other application on top of MS Office that plugs into MS Office tools – Adobe Acrobat, Visio, Reflection?? If so, you will want to see about uninstalling or reinstalling those utilities and then reinstalling Office 97 to restore the original MS Office 97 type library.
    Also, if you have a newer version of MS Office, I would highly recommend upgrading your computer. It seems that this problem is only with Office 97 and later versions of Office do not have this issue.
    Thanks again for bringing this question up.
    Kileen

  • Trying to create a report that shows all 8.1 machines missing update 1 (KB2919355)

    Currently I have a report that polls every machine that talks to our SCCM 2012 server and only displays Windows 8.1 machines.  
    I'd like to modify the code where it will only show the 8.1 machines that are missing Update 1.  That way we can go through and patch the ones that need it.  Is this possible? 
    The existing query looks like the following: 
    SELECT
    SCCM_Ext.vex_R_System.Name0
    ,vMacAddresses.MacAddresses
    ,v_GS_PC_BIOS.SerialNumber0
    ,v_GS_COMPUTER_SYSTEM.Model0
    ,SCCM_Ext.vex_R_System.Operating_System_Name_and0
    ,v_GS_COMPUTER_SYSTEM.UserName0
    FROM
    SCCM_Ext.vex_R_System
    INNER JOIN vMacAddresses
    ON SCCM_Ext.vex_R_System.ResourceID = vMacAddresses.ItemKey
    LEFT OUTER JOIN v_GS_PC_BIOS
    ON SCCM_Ext.vex_R_System.ResourceID = v_GS_PC_BIOS.ResourceID
    LEFT OUTER JOIN v_GS_COMPUTER_SYSTEM
    ON SCCM_Ext.vex_R_System.ResourceID = v_GS_COMPUTER_SYSTEM.ResourceID
    WHERE
    SCCM_Ext.vex_R_System.Operating_System_Name_and0 like '%6.3'
    ORDER BY SCCM_Ext.vex_R_System.Name0

    Here is the code I use to pull 64bit machines that don't have CU1 (BTW cu2 is now out):
    select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SY STEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM .Client from SMS_R_System inner join SMS_G_System_SMS_ADVANCED_CLIENT_STATE on SMS_G_System_SMS_ADVANCED_CLIENT_STATE.ResourceID
    = SMS_R_System.ResourceId inner join SMS_G_System_COMPUTER_SYSTEM on SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId where (SMS_G_System_SMS_ADVANCED_CLIENT_STATE.DisplayName = "CCM Framework" and SMS_G_System_SMS_ADVANCED_CLIENT_STATE.Version
    != "5.00.7958.1203") and SMS_G_System_COMPUTER_SYSTEM.SystemType = "x64-based PC"
    Minor mods to this or your code should do the trick.
    ...I see you're talking an update to the OS, rather than SCCM update. Still hopes this helps.
    Ben JohnsonWY

  • Problem with using a Spatial Query in a report region

    All: I am trying to create a report region using the below query. The query is syntactically correct and returns 10 rows. I have checked it out in SQL Developer AND in APEX SQL Workshop. It returns rows in 1-2 seconds.
    However, after putting the query into a report region, the APEX page locks up when it runs. I've tried masking it in a view, using other functions. I can places the spatial function in the select clause and it works. However, placing the function in the Where clause causes the page to lock up.
    Any thoughts?
    Thanks,
    John
    select lastname, address
    from changetracking.individuals
    where sdo_nn (spatiallocation, MDSYS.SDO_GEOMETRY(2001,8265,MDSYS.SDO_POINT_TYPE(-87.55728,33.137569,null),null,null), 'sdo_batch_size=10') = 'T

    QImaging is not officially supported in the Measurement & Automation (MAX) toolkit, though you may find some luck with our free legacy QImaging LabView interface here: http://www.qimaging.com/support/downloads/software/windows/QCamLabViewInstaller221.exe depending on the version lf LabView you're using.If you're looking for something that is actively updated and supported, you may want to get back in touch with Fred at +1.800.874.9789 and ask about our SITK LabView interface as well.
      PMQI_Josh,
    Yes I've already installed the LabVIEW interface beforehand. Also the version of LabVIEW I'm currently using is 8.6. I'll get in contact with Fred to see if there's a solution to this problem. Thank you.

  • How to create a inline message for report region...

    Hi,
    Can any one pls tell me the document link for to create a inline error message for report region?
    im trying to do a dynamic validation for report region.i've manually created a report region with apex item.
    im searching it for long time, im cant able to find any demos or example.
    Pls help.....
    Thanks in advance...

    Any help???

  • Cannot see the List region in when trying to create it

    Hi Guys,
    I am trying to create the List region but cannot access it in my application when I try to create a region.
    In Sample Database Application I can easiily do that,
    http://i.imgur.com/26ASO.png
    but in my application the option is missing.
    http://i.imgur.com/oGiJQ.png
    I've tried switching to 21. Scarlet theme but no luck as well. Unsure what I have to do to create a List region.
    APEX 4.1.1

    Hi,
    First go to shared components and create a list entry. Now go to create wizard in any page and you should see the List item.

  • Using Javascript in a report region

    I have a text box that I need to populate with an amount for billing. There is also a field that shows the amount due. If the amount due is equal to the amount being paid, I want my user to click on the amount due, and it automatically populates the amount being paid. I am using the javascript:setValue('destination','origination'); command, but the problem is that I am unable to choose the text field in the javascript. I have tried using #value# aliasing, and htmldb_application.g_f0x and just f0x... nothing seems to properly alias the text box within the tabular form. Any ideas?
    Thanks,
    Scott

    Scott,
    I know a way to do this, but it is not an easy implementation and it is quite hard to explain. Carl is an Oracle guy so he may know of a better solution, but here is what I came up with on my own:
    First let's be familiar with the htmldb_item syntax (found in the html db documentation):
    HTMLDB_ITEM.TEXT(
    p_idx IN NUMBER, -- unique id
    p_value IN VARCHAR2 DEFAULT NULL, -- value of item
    p_size IN NUMBER DEFAULT NULL, -- HTML tag attributes
    p_maxlength IN NUMBER DEFAULT NULL, -- max length
    p_attributes IN VARCHAR2 DEFAULT NULL, -- HTML elements including where you incorporate the javascript for this item
    p_item_id IN VARCHAR2 DEFAULT NULL, -- id you can specify
    p_item_label IN VARCHAR2 DEFAULT NULL) -- labe you can specify
    I would create your report region using the following sql statement:
    select order_number "Order Number",
    name "Name",
    amount_due "Amount Due",
    lpad((ROW_NUMBER() OVER (ORDER BY order_number)),4,0) "Row Num",
    htmldb_item.text(7,amount_paid,null,null,null,'f07_'||lpad((ROW_NUMBER() OVER (ORDER BY order_number)),4,0) "Amount Paid"
    from tbl_orders
    where....
    order by order_number
    --i had to use an order by to get the ROW_NUMBER() to work
    This will create on every row an item that is specific to the row number. For example:
    Row # Amount Paid text box item ID
    1 f07_0001
    2 f07_0002
    500 f07_0500
    etc.
    This will allow you to reference items based on what row they are when using javascript.
    Next you need to create a link out of the the amount_due column. Go to the Report Region, then the Report Attributes tab. Click on the edit link for the amount_due column. Go to the Column Link section.
    Make link_text = to the value of amount_due column(#amount_due# probably)
    Make the Target = URL
    Make URL = javascript: setValues('#AMOUNT_DUE#','#ROW_NUM#');
    This will send the value of amount due and the row number.
    Here's the javascript you would put in your HTML Header on you Page Attributes:
    <script language="JavaScript1.1" type="text/javascript">
    function setValues(due, rownum){
    document.getElementById('f07_'+rownum).value = due;
    </script>
    Give that a shot. I just created a page and got that to work.
    Chris

  • Problem when creating Expense Report

    Dears,
    When i tried to create Expense Report, this error appear after submitting the dates of the trip.
    Changes in settlement past trigger retroactive settlement.
    Entry not found in table T706U. Argument: 98P NO 20120118
    The estimated travel amount could not be determined.
    Any Ideas ??

    the first message tells you changes in retroactivity ie master data changes as per IT0003, if it goes beyond this date
    second error is due to the missing error
    The error message is correct in this case as there is no entry in the
    T706U. The system does not automatically default to the blank entry
    in case you select a region that is not maintained in the table
    (somehow also blank is a region).
    You thus need to maintain entries in the T706V and T706U for all
    regions you have defined in your client.

Maybe you are looking for

  • Weblogic call a excel-file from URL doesn't open MSExcel but flat html

    Weblogic call a excel-file from URL doesn't open MSExcel but flat html Hi, WLS 10.3.5 Forms 11.1.1.4 I do migrate from AS10g to WLS 10.3.5 / Forms 11 I get differences between FORMS 10 g / AS and FORMS 11 / WLS when call an excel-file with web.showdo

  • TOC and Cross reference bookmarks

    Hi. I recently finished work on a book that had front matter containing a brief TOC and a detailed TOC. The book also contained individual TOCs at the beginning of each chapter. I updated all numbering across the book files before generating the TOCs

  • Fuzzy noisy colors in ps windows background

    Hello, I haven't fully tested all the combinations regarding this issue yet, but I had some strange behavior by PS apparently when opening RAW images in 16bits. All works ok a part for a very annoying and weird pattern of fuzzy noisy colors in the gr

  • Printing from tiger to win2k3 print server in AD

    Hiya all I have a win2k3 domain to with a couple of win2k3 print servers, we have mostly win xp boxes but have a Mac population of about 100-140. I am having problems printing to the print server from a Tiger workstation, it is a full member of the A

  • I need Help with my 8330 Curve BB

    a few days ago my BB went crazy.... it is in a loop and will not start up or install a new oper. system (4.3 or 4.5) i read here on the board that there is a file corruption what causes this problem. question..... how to i wipe my BB totally clean an