Record links

It's possible to turn records in a report column into links. But is it also possible to exclude a record from these links?
Thank you in advance

i'm not sure if you're asking about excluding a row from your query or being able to conditionally render a column as a link. if it's excluding a row from your query, you'd probably want to take care of that in your query definition. if it's conditionally rendering a column value as a link, you could take care of that from your query or your report template. my preference would be to code your html anchor tag into your select statement for your query and to have that tag be generated at a result of a decode on your column in question in your select statement. if you wanted to, you could also handle this from the report template level. i explained how to use report templates in a similar manner at...
visibility of columns in a report
...please try either of these angles out (or rephrase your question), and let us know if you need further assistance.
regards,
raj

Similar Messages

  • Adding a New Contact Record link in a report

    Dear Gurus,
    I've followed instructions on how to create a New record link in a report using instructions from the Oracle CRM On Demand Reporting book but needed additional help in terms of how to auto populate the Account Name onto the New Contact Edit screen. I've created a custom Contact report that is setup as a web applet to replace the OOB Contact section that is showing on the Account Detail screen.
    On this report, I've created a hyperlink that opens a New record edit screen for a Contact record. I need to pass in the Account Name since this is a required field on the Contact Detail screen and needed help with the URL that I've entered as a custom text format in the column formula. From the M. Lairson's Reporting book, I've entered:
    @[html]*a href="/OnDemand/user/ContactDetail?OMTGT=ContactDetailForm &ContactDetailForm.Id="@target="_
    top">"Contact Details"*/a*
    (html not displayed correctly - I've to substitute < and > with *)
    This worked great but I need to pass in the Account Name. Can you help with a URL that will do what I needed? Thanks.
    Edited by: TTone on Jul 26, 2010 12:16 AM
    Edited by: TTone on Jul 26, 2010 12:27 AM

    Hi,
    Copy the URL from the contact create link and pass the values like Account Name etc by adding it to the URL, use & to separate the values.
    hope it helps,
    Mayank

  • Portal calendar - new record link problem

    We have a problem with calendars (Portal 9.0.2).
    We have:
    A form to enter/edit records in a table.
    A link to this form.
    A calendar based on the table in question.
    If I try to connect the calendar to this form (for entering new records) I set it up in the calendar definition in the "Empty Date Link" field. I then click the pencil because I want to send a parameter from the calendar query along. This parameter window will ONLY accept static values or "TODAY" in the column list box.
    Why can't I add my own columns in the column list box and send these values as parameters ?
    TIA
    Kjetil Nordstrand
    RKS Data AB
    Karlstad

    Hi,
    You cannot add your own parameters but you can definitely pass the values for all the fields in the form.
    Thanks,
    Sharmila

  • Info Record link to Sales Condition Record

    Is there a way to link a purchsing info record price to a sales condition record price? If we buy/sell a part and update a new purchase price, is there any way to automaticlly udpate my sale price?

    Check this link, which can help you Re: MEK1 to VK11
    Regards,

  • URL for a new record link in report

    My requirement is to have a hyperlink column on the report that will opens a new record edit screen to create a new Contact record with the Account Name and address info. defaulted in this new record screen.
    I've added a column to my report and change the Data Format to Custom Text Format with a URL that is derived from the url on the address bar of the browser when access the New button of the Contact section within the Account detail screen.
    The url on the address bar is as followed:
    https://secure-ausomxbga.crmondemand.com/OnDemand/user/ContactInsert?OMCR0=ABGA-5Y4FNM&OMTGT=ContactEditForm&OMTHD=ContactNewNav&OMCBO=Account&OMRET0=AccountDetail%3focTitle%3dWALT%2bDISNEY%2bMEMORIAL%2bCA%2bINSTITUTE%2bFLORIDA%2bHOSPITAL%26OMTGT%3dAccountDetailForm%26OMTHD%3dAccountDetailNav%26ocEdit%3dY%26AccountDetailForm.Id%3dABGA-5Y4FNM%26OCTYPE%3dIV-Corporate%2bMaster%2bData%26ocTitleField%3dName&OCNOEDITTYPE=Y
    I've tried to replace the field values with the analytics field names as followed but is getting error when trying to click on the column with the following url:
    @[html]”*a href=”/OnDemand/user/ContactInsert?OMCR0=’ || Account."Account ID" || ‘&OMTGT=ContactEditForm&OMTHD=ContactNewNav&OMCBO=Account&OMRET0=AccountDetail%3focTitle=’||Account."Account Name"||’%26OMTGT%3dAccountDetailForm%26OMTHD%3dAccountDetailNav%26ocEdit%3dY%26AccountDetailForm.Id=’ || Account."Account ID" || ‘%26OCTYPE%3d’Other’%2bData%26ocTitleField%3dName&OCNOEDITTYPE=Y*/a*
    ( < is replaced with * for posting purpose)
    Is what I'm trying to do possible? If possible, any one can help me out on the syntax? Thanks in advance.

    Greetings TTone,
    Its not possible.
    The only field which can be set is the Account by setting OMCR0=ADSA-6FX7YL
    https://secure-ausomxdsa.crmondemand.com/OnDemand/user/ContactInsert?OMRET1=AccountDetail%3fOMTGT%3dAccountDetailForm%26OMTHD%3dAccountDetailNav%26AccountDetailForm.Id%3dADSA-6FX7YL%26OCTYPE%3dProspect%26ocTitleField%3dName%26ocTitle%3dThe%2bAndersons%2b%252c%2bInc.%26ocEdit%3dY&OMCR0=ADSA-6FX7YL&OMTGT=ContactEditForm&OMTHD=ContactNewNav&OMCBO=Account&OMRET0=AccountHomePage&OCNOEDITTYPE=Y
    Regards,
    Abeer @ Sakonent
    Edited by: 796422 on Sep 22, 2010 4:30 AM
    Edited by: sakonent.com on Sep 30, 2010 12:08 PM

  • Deletion of child records linked to parent records to be deleted etc..

    'Combined with WHEN OTHERS, SQLCODE provides a way for you to handle different, specific exceptions without having to use EXCEPTION_INIT pragma. In the next example, I trap two parent child exceptions, -2292 and -2291, and, then take an action appropriate to each situation:
    PROCEDURE delete_company (company_id_in IN NUMBER)
    IS
    BEGIN
    DELETE FROM company where company_id = company_id_in;
    EXCEPTION
    WHEN OTHERS THEN
    DECLARE
    error_code NUMBER := SQLCODE;
    error_msg VARCHAR2(512) := SQLERM;
    BEGIN
    IF error_code = -2292 THEN
    /*Child records found. Delete these too */
    DELETE FROM employee WHERE company_id = company_id_in;
    /* Now delete parent again */
    DELETE FROM company WHERE company_id = company_id_in;
    ELSIF error_code = -2291 THEN
    /* Parent key not found */
    DBMS_OUTPUT_PUT_LINE('Invalid company id' || TO_CHAR(company_id_in));
    ELSE
    /* This is like a WHEN OTHERS inside a WHEN OTHERS */
    DBMS_OUTPUT_PUT_LINE('Error deleting company, error: ' || error_msg
    END IF;
    END;
    END delete_company;
    Sourced from Oracle PL/SQL Programming (3rd edition) P.143
    1. Are error_code and error_msg assigned automatically or do I have to include assignments? If yes, how?
    2. Where do I get a list of commonly caught Oracle error codes and similar code snippets used for business logic?
    3. How would you deal with the situation where you detect a parent while you are deleting a child record? Just warn the user and log it hoping the DBA will review the logs?
    4. I work within a project where I could not query any parent-child relationships, using, amongst other queries the following query, and, this means that the programming team might not be creating these relationships within the database (Oracle 11g).
    What are the technical risks?
    Could I be omitting something, because it seems quite incredible to me that parent-child relationships are not in place?
    SELECT a.table_name,
    a.column_name,
    a.constraint_name,
    c.owner
    FROM ALL_CONS_COLUMNS A, ALL_CONSTRAINTS C
    where A.CONSTRAINT_NAME = C.CONSTRAINT_NAME
    and a.table_name=:TableName
    and C.CONSTRAINT_TYPE = 'R'
    Sourced from http://stackoverflow.com/questions/1729996/list-of-foreign-keys-and-the-tables-they-reference

    This is bad code, very very bad code. Throw it away and start with a clear idea of what you want to do.
    Why is this code very very bad? Because it uses WHEN OTHERS not followed by a RAISE.
    Why is this code bad code? Because it uses one WHEN clause instead of several.
    Here is an example for handling multiple exceptions:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/errors.htm#BABFBHGA
    If your error code does not have a predefined name, define the name yourself:
    http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/errors.htm#BABIIEFC
    If you keep the WHEN OTHERS at the end, be sure to add RAISE so the exception still exists. If you don't, Oracle will not do the automatic rollback it should be doing.
    To answer your question about parent-child relationships, it is very important to have them. They stop you deleting a parent that has children, but they do not stop you from deleting children.

  • How to create a record link in pivot table?

    Hi,
    I have records in pivot table.
    I want to have ActionLink on the record, ex., i have lead record clicking on first name or last name or lead id it should take to me to the detail lead page(from pivot table).
    Regards,
    -Venkat.

    To achieve this, use the following:
    In column properties, choose data format tab.
    Override the default data format, Treat Text as Custom Text Format.
    Paste the following into the format box:
    @[html]&lt;a href="/OnDemand/user/LeadsDetailPage?OMTGT=LeadDetailForm&LeadDetailForm.Id="@ target="_parent"&gt;"Lead Details"&lt;a/&gt;
    Good Luck.
    Edited by: Thom L on Apr 17, 2009 10:16 AM

  • Detect in memory record link to table

    Hello,
    I recently was given an old project that now runs on .NET v3.5 with LINQ to SQL. I found that in the business logic layer, the previous authors frequently attempt to join in-memory "array of class" to SQL table directly, result in extremely slow
    query as some of our customers has grow the database big with 10+ years of data.
    I'm able to either push the entire logic to pure table join or pure in-memory join to workaround this, but want to know that is there any tools available that can help me check the whole project and pick these "array of class"  to SQL table
    queries out to fix.
    Thank you.

    Hello,
    Personally, I do know there would be such a tool could be so smart to check if the query is a in memory join one. If these queries are similar with below one:
    var result = (from od in ods
    join o in db.Orders on od.OrderID equals o.OrderID
    where od.OrderDetailID == 1
    select o).ToList();
    My idea is to search the whole project by the key word “from” and check these queries if there are local array object. If the project is huge, this might take some time. And if you find such a tool, it is suggested that you could share it to this forum which
    would be helpful to others.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Broken link for recording of hybris integration gem

    https://www.adobe.com/cfusion/event/index.cfm?loc=en_us&id=2232535&event=set_registered
    the above link is broken

    Till the issue is resolved The cq gems page has been updated with non gated recording links so that you can watch the sessions.
    http://dev.day.com/content/ddc/en/gems/commerce-framework.html

  • Linking a custom object to an activity and importing records

    I'm trying to create a link between an activity record and a custom object record. In essence, we will have 1 activity record with multiple associated custom object records linked to it. How do I import these multiple records to a specific activity record? I thought I could use the Activity: External Unique ID field but that field does not appear on the list of values available for importing to a custom object. Anyone have any ideas how to do this?

    Ken, at this time the import wizard does not support this type of functionality. However, this could be done using web services.

  • How to delete a in place record that will not undeclare

    I have an "in-place" record that will not let me undeclare itself, not sure how it got created but here are some facts about it:
    when i first looked at it showed as checked out to (blank).  This is different from all of my other in-place records which show as checked out to "System Account".  I tried checking it out to me (and it let me) which was strange!!  When I
    try to undeclare it as a record by using the "compliance details" interface and click the undeclare record link, the reocrd status is changed from "Declared record on 1/17/2011" to "Record".  When I go back to the UI it still shows the record with the
    little lock on it.  If I try to delete the record using the library interface I get the message: "The item cannot be updated because it is locked as read-only".  I installed sharepoint manager 2010 (from codeplex) on my server and navigated to this
    item in the list and checked out the properties...
    in this tool it says "IsReadOnly" = false
    if I look at the individual properties of the item i see properties like
    ecm_ItmLockHolders  value = ecm_InPlaceRecordLock
    ecm_ItemDeleteBlockHOlders value= ecm_InPlaceRecordLock
    I suspect that this is why ic cannot get rid of the bloody record...  i don't know why undeclare doesn't take these locks off (Perhaps because someohw it got checked out to someone other than system).  I even tried going iinto the content database
    to set the CheckedOutTo column to null.  when i did this nothing happened
    i tried setting the id equal to the "system account" Id in the content database and the record vanished from the document library (although I can still see it in the content database)...
    this is a big mystery for me... all i want is to get rid of a record that somehow has been "corrupted"  we have been demoing some third party applications which upload to sharepoint and prerhaps they got the file in this state (its an email .msg format)...
    i definitely need to know the recommended way to clean a record that will not let you undeclare it... help!  my next course of action will be a ms support call...
    krd

    the record was declared as part of info mgmt policy (created +1 days, delcare record), then i have another step (declared record + 1 day, start a workflow).  I'm trying to delete the record using a workflow (because the OOTB disposition workflow doesn't
    work, i'm trying to create my own disposition workflow which undeclares the record first then deletes it).  But that is a bit of a side story (I haven't managed to get that working...)
    krd

  • Insert Record with Parent/Child Tables doesn't work with Oracle - unlike AC

    Hi,
    I just Migrated a MS Access 2010 Database to an Oracle 11g Backend with the SQL Developer Tool.
    The Migration went fine, all the Tables and Views are migrated.
    I'm working with MS Access as Frontend.
    The application has some Datasheets with Subdatasheets with Parent/Child Relationship. (1-n Relationship)
    After changing to Oracle, it's not possible, to Insert a new Record in a Subdatasheet I always get the following Error Message:
    "The Microsoft Access database engine cannot find a record in the table 'xxxx' with key matching field(s) 'zzzzz'"
    It used to work perfect with the MS Access Backend, do I need a trigger which first adds the child Record ?
    Or what should I do?
    Thank you

    Hi Klaus,
    Thanks for your answer. I still haven't solved my problem. The only way would be to use a singel 1:n Relationship, but in fact I need a n:m Relationship.
    I tried the same scenario with a new Access Application, same result.
    To clearify my problem.
    Goal: Parent Form with Parent Records, Linked Child Form with Child Records in a Datasheet View => Insert of a NEW Child Record.
    I have 3 Tables (table1 = Parent tabel, table2 = Child Table, table12 = n:m Tabel with PK and two FK)
    The Recordsource of the Parent Form is Tabel1
    The Recordsource of the Child Form is Table2 joined with Table12.
    In my Old Access Project, Access Triggered the Insert and filled Table12 with the NEW PK of Table2.
    It seems like Access can't do that anymore....
    I'm pretty desperate and I'm sure it is just a litte thing to fix.....

  • Signed applet does not grant AudioPermission "record"

    From what I gather, if I have a trusted signed applet sitting on a webpage and
    the visitor accepts (runs) the applet, then they should not need to have:
    grant {
    permission javax.sound.sampled.AudioPermission "record";
    in their java policy file. Well I have done all this (with a certificate from
    Thawte) and posted a thorough example at:
    http://www.livesite.net/JavaSoundTest
    At the bottom of that page there is a "Check permissions" link which will alert
    true/false if we have record permission. Clicking any "Record" link will
    attempt to open a TargetDataLine.
    My experience (and problem) is: record permission must be granted even though
    the applet is signed by a trusted CA.
    I would very much appreciate any help.
    Are you able to record/playback (without granting record permission in your
    java policy files) with the JavaSoundTest applet webpage?
    Is there something I am missing?
    ------ More information ------
    Java Control Panel -> Advance -> Security
    'allow user to grant permissions to signed content' is checked
    Reproducable on:
    MS NT4 w/ IE6
    MS Windows 2000 w/ Firefox 1.5
    MS Windows XP w/ Firefox 1.5
    MS Windows XP w/ IE6
    Fedora FC6 w/ Firefox 2.0
    Also, this happens with a commented-out record permission in the user
    .java.policy file, or when the policy file does not exist.
    ------ Source code: opening the target data line ------
    Using the JavaSoundTest applet page without granted permission, clicking a
    record link will yield this exception in the java console:
    java.security.AccessControlException: access denied (javax.sound.sampled.AudioPermission record)
    at java.security.AccessControlContext.checkPermission
    at java.security.AccessController.checkPermission
    at java.lang.SecurityManager.checkPermission
    at com.sun.media.sound.JSSecurityManager.checkRecordPermission
    at com.sun.media.sound.DirectAudioDevice$DirectDL.implOpen
    at com.sun.media.sound.AbstractDataLine.open
    at net.livesite.jsound.Recorder.run(Recorder.java:161)
    while opening a TargetDataLine as:
    23 private static TargetDataLine line;
    157 line = (TargetDataLine) AudioSystem.getLine( lineInfo );
    158
    159 try
    160 {
    161 line.open( format, (int) format.getSampleRate() );
    162 }
    ------ Source code: Using the security manager ------
    The "Check permissions" link on the TestJavaSound applet page calls this method:
    191 public boolean hasSoundRecPriv()
    192 {
    193 boolean ret = false;
    194
    195 try
    196 {
    197 SecurityManager sm = System.getSecurityManager();
    198 if (sm != null)
    199 {
    200 sm.checkPermission(new AudioPermission("record"));
    201 }
    202 ret = true;
    203 }
    204 catch(SecurityException e)
    205 {
    206 ret = false;
    207 }
    208
    209 return ret;
    210 }
    (This is a continued post from JAVASOUND-INTEREST at SUN.COM)

    Is there something I am missing?1) Applets are not well supported by Sun,
    and are inherently problematic as a reult
    of that.
    2) My experience suggests that the diagnotics
    applet is not reliable for detecting JMF.
    3) I guess the JMF applet is doing checks of
    policy files, despite the signed code.
    You might circumvent most of these problems,
    by using web-start to launch an application.
    Here are some of my tests at launching
    JMF using web-start.
    http://www.javasaver.com/testjs/jmf/

  • Info record and pro

    How does Info Record tie in the procurement cycle, or how does it integrates with the purchase cycle
    Thanks
    Ganga

    Hi,
    Purchasing Info Records serves as a source of information for Purchasing. The purchasing info record (also referred to in abbreviated form as the "info record") contains information on a specific material and a vendor supplying the material. For example, the vendor's current pricing is stored in the info record.
    The info record allows buyers to quickly determine:
    Which materials have been previously offered or supplied by a specific vendor
    Which vendors have offered or supplied a specific material structure.
    Content of an Info Record:
    The info record contains:
    Data such as prices and conditions that you can store for the relevant purchasing organization or plant.
    The number of the last purchase order.
    Tolerance limits for overdeliveries and underdeliveries.
    The planned delivery time (lead time required by the vendor to deliver the material).
    Vendor evaluation data.
    An indicator showing whether the vendor counts as the regular vendor for the material.
    The vendor sub-range to which the material belongs.
    The availability period during which the vendor can supply the material.
    The info record contains quotation and ordering data. The data in the info record (prices for example) is also used as default data for purchase orders.
    For instance, you can store the current and future quotation conditions (discounts, fixed costs etc.) in the info record, in order to be able to copy them into Pos. You can also maintain the vendoru2019s conditions directly in the info record.
    Organizational Levels:
    An info record can apply to the following organizational levels:
    Purchasing organization
    Plant
    Procurement Types in Info Records:
    Standard
    A standard info record contains information for standard purchase orders. The info records can be created for materials and services with and without master records.
    Subcontracting
    A subcontractor info record contains ordering information for subcontract orders. For example, if you subcontract the assembly of a component, the subcontractor info record would include the vendor's (subcontractoru2019s) price for assembling the component.
    Pipeline
    A pipeline info record contains information on a vendoru2019s commodity that is supplied through a pipeline or pipes (for example, oil or water) or by similar means (for example, electricity through the mains). The info record contains the vendoru2019s price for the consumption of such commodities by the buyer ("pipeline withdrawals"). You can store withdrawal/usage prices for different validity periods.
    Consignment
    A consignment info record contains information on a material that vendors keep available at their own cost on the ordereru2019s premises. The info record contains the vendoru2019s price for withdrawals by the orderer from consignment stock. As in the case of the pipeline info record, you can store prices for different validity periods.
    Order Price History
    The purchase order price history logs the various prices charged for a material by a vendor.
    Texts in the Info Record
    The info record contains the following text types:
    Info record memo
    An internal note or comment that is adopted in the PO item. The info record memo is not printed out.
    PO text in info record
    This text serves to describe the order item and corresponds to the PO text in the material master record. It is adopted in the PO item and included in the printout.
    Short text
    For material that has a material master record, the short text (short description) is adopted directly from the material master record in the PO or the outline purchase agreement.
    PO Text in Info Record Versus PO Text in Material Master Record
    For an info record linked to a material master record, you can specify for each purchasing organization whether:
    Only the info record PO text is to be displayed and printed in purchasing documents (To do so, set the indicator No m. text in the purchasing organization data of the info record)
    or
    Both the info record PO text and the material master record PO text are to be displayed and printed in purchasing documents
    Both texts are displayed and printed if the indicator No m. text is not set.
    Reward if useful.
    Regards,
    Komal

  • Counting fact table records within brackets

    Hi,
    I have a star schema setup in OBIEE, consisting of a fact table of transaction records, linked to a customer dimension and a time dimension via PK-FK relations.
    One of the requirements is to count the number of customers based on how many transactions they have done per time period. I imagine solving this by creating logical colums such as "# customers (1-10 transactions)", "# customers (11-20 transactions)", etc. The counting should be based on the current level of drill-down in the time dimension.
    Any advice on how to approach this would be greatly appreciated
    best regards
    M

    Thanks for you reply, it brought me a lot closer to a solution. So far i've been able to create a bracket attribute on the customer dimension (via Answers and then into Administrator, as advised). I've verified this against the database, and it categorizes each customer correctly.
    The remaining challenge is that I want to see the count within each category on an aggregate bracket level rather than per customer. Using one attribute ("customer bracket") which can take on one of several values (e.g. "0", "1-10", "11-20", etc.) i'm not sure how to accomplish this.
    As a workaround i tried creating one column in Answers for each bracket, taking on the value 1 for records falling within that bin, and 0 for all other records. Treating the column as numeric, and adding a sub total (sum), i get the answers i want for each bin. The problem here however, is that one line (value 0 or 1) is shown for each customer record, which makes the report useless for most practical intents and purposes as thousands of records are shown.
    Any thoughts on which method i should go ahead with, and how?
    regards
    M

Maybe you are looking for