Script - Changing Submission Format

All
I need a line of Javascript of FormCalc code that changes the form's submission type from XDP to PDF. I have arrived at the following but am unsure if it is correct:
$.#event.#submit.format = "PDF";
Any ideas?

I'm having similar problems.
When I change the "Submit As" property on the FSSUBMIT_ button to "PDF" an error occurs while submitting the form (with signature):
Task 1811 has failed to submit. (ALC-WKS-007-072)
A more detailed look at the log reveals this:
ALC-WKS-005-029: A problem occurred in the Submit Service. Please review the submit orchestration for this process.
I tried adding Form Bridge but that doesn't seem to help either.
Here are some facts:
- I'm using static pdf form
- I'm using xfaForm as my input variable on the background process
- I'm using "Default Render ES Update1" render service

Similar Messages

  • How to change the format in sap script

    Hi,
    I am working on a report which calls a sap script and i have to modify the script i.e. the values which are displaying in it. i had never worked on SAP SCRIPTS ,plzz provide me guidlines how to change the format of the data displayed in it.

    hi,
    this will give you the whole idea about the scripts in SAP the t-code is SE71.
    refer this link::
    [SAP SCRIPTS|http://help.sap.com/saphelp_40b/helpdata/en/d6/0dc169494511d182b70000e829fbfe/applet.htm]
    [WIKI|https://wiki.sdn.sap.com/wiki/display/ABAP/FormPrinting-SAPscript%2CSmartforms]
    regards
    sarves
    Edited by: Sarves Sombhatla on Feb 20, 2009 1:38 PM

  • Changing Script Editor Documents format

    I hope I am in the right Forum---I recently purchased a Mac mini/Intel. I did not have AppleWorks migrated over from my iBook so when I first tried reading AppleWork files on the mini from my Zip drive they wouldn't read so I was experimenting with alternate applications such as Script Editor. Something happened!! All my Works files now are shown in Script Editor document format yet unable to open any of them. I have since migrated AppleWorks from my iBook but the only way to open any of these files now is to first open up AppleWorks application then open the newly formatted (formally AppleWorks) file. How do I get all my archived Works files reformatted back from Script Editor??
    Mac mini Intel/iBook G3   Mac OS X (10.4.5)   iBook has OS X (10.3.5)

    Hi, CABJR.
    What I suspect happened is that you used the method outlined in "Mac OS X 10.4 Help: Changing the application that opens a document", selected Script Editor as the application, and used Change All.
    See my "Resetting Launch Services" FAQ. In the section for Tiger begin with step 6, since in this case it's not optional.
    Good luck!
    Dr. Smoke
    Author: Troubleshooting Mac® OS X
    Note: The information provided in the link(s) above is freely available. However, because I own The X Lab™, a commercial Web site to which some of these links point, the Apple Discussions Terms of Use require I include the following disclosure statement with this post:
    I may receive some form of compensation, financial or otherwise, from my recommendation or link.

  • How can I use script change long list format?

    Hi everyone
    If I have this kind of long list
    0101
    Long white radish
    Chinese Celery
    Tah tsai
    Round cucumber
    Cherry radish
    fennel
    Small-leaf arugula
    Small wax gourd
    0102
    Green-leaf Lettuce
    Broad-leaf arugula
    UFO squash
    Crystal radish
    Red wave lettuce
    Green endive
    Sponge gourd
    Rose-heart radish
    Butter head lettuce
    Radicchio
    0103
    Chinese mustard
    New Zealand spinach
    Yellow summer squash
    Turnip
    Malabar spinach
    Chinese kale
    Green bean
    Edible rape
    Begonia fimbristipulata hance
    Purple bean
    Cabbage
    Water Spinach
    Okra
    Snow peas
    How can I change the format into this:
    0101
    0101/Long white radish
    0101/Chinese Celery
    0101/Tah tsai
    0101/Round cucumber
    0101/Cherry radish
    0101/fennel
    0101/Small-leaf arugula
    0101/Small wax gourd
    0102
    0102/Green-leaf Lettuce
    0102/Broad-leaf arugula
    0102/UFO squash
    0102/Crystal radish
    0102/Red wave lettuce
    0102/Green endive
    0102/Sponge gourd
    0102/Rose-heart radish
    0102/Butter head lettuce
    0102/Radicchio
    0103
    0103/Chinese mustard
    0103/New Zealand spinach
    0103/Yellow summer squash
    0103/Turnip
    0103/Malabar spinach
    0103/Chinese kale
    0103/Green bean
    0103/Edible rape
    0103/Begonia fimbristipulata hance
    0103/Purple bean
    0103/Cabbage
    0103/Water Spinach
    0103/Okra
    0103/Snow peas
    by useing script?
    thanks
    Teetan

    Hi,
    Perhaps not a problem, try this code ...
    var myFolder=Folder("~/Documents");
    var sourceFile = new File(myFolder + "/"+"sourceFile.txt");
    var logFile = new File(myFolder + "/"+"logFile.txt");
    //var elementList = Array('0101','Long white radish','Chinese Celery','Tah tsai','Round cucumber','Cherry radish','fennel','Small-leaf arugula','Small wax gourd','0102','Green-leaf Lettuce','Broad-leaf arugula','UFO squash','Crystal radish','Red wave lettuce','Green endive','Sponge gourd','Rose-heart radish','Butter head lettuce','Radicchio','0103','Chinese mustard','New Zealand spinach','Yellow summer squash','Turnip','Malabar spinach','Chinese kale','Green bean','Edible rape','Begonia fimbristipulata hance','Purple bean','Cabbage','Water Spinach','Okra','Snow peas')
    //var newElementList = new Array;
    var myPattern = new RegExp("^\\d{4,4}$");
    var myPrefix="";
    if (sourceFile.exists){sourceFile.open( 'r' );
    while( !sourceFile.eof ) {
              var aElement  = sourceFile.readln();
              if (myPattern.test(aElement)){
                  //newElementList.push(aElement);
                  myPrefix = aElement + "/";
                  writeLogFile(aElement)
              } else {
                   //newElementList.push(myPrefix+ aElement);
                   writeLogFile(myPrefix+ aElement)
        //$.write(newElementList);
    function writeLogFile(theString) {
        logFile.open( "a" );
        logFile.writeln(theString);
        logFile.close();   

  • Change default format in "save as" file format window

    I month ago I asked the following question...
    "How do I change the file format order that is listed in the "save as" file format window? Instead of having "Photoshop" listed as the default file, I'd like to have JPEG at the top, then TIFF, PSD, etc. I have to constantly scroll down the list to find JPEG."
    Recently while selecting JPEG in the "save as" format window, I accidently selected "Large Document Format" while holding down either "control", "option", "apple key", or "shift", or a combination of keys. Now the default format in the format window is "Large Document Format" (ext.PSB). I've changed the default from "Photoshop" which is still listed at the top, to "Large Document Format". I'd like to change the default to "JPEG" but I cannot replicate the correct key(s) to change the default format in the window.

    Hello TomGroup...
    I did not receive a satisfactory answer to the question. Yes, you can go
    into the Scripts but that is for experts and it is too much work.
    Aloha... Darrell
    From: TomGroupGA <[email protected]>
    Reply-To: <[email protected]>
    Date: Fri, 08 Apr 2011 12:31:07 -0600
    To: Darrell Wong <[email protected]>
    Subject: Change default format in "save as" file
    format window
    Any updates on this issue?
    I have a similar situation in that no matter what I'm working on, when I
    click "Save As' then the default format option is always .tiff    If I save
    as jpg and then go onto my next file, the default is still tiff again when I
    try to save  No matter what I try, tiff is also my default selection.  It's
    just one of those things that takes a mere 5 seconds to click the dropdown
    and select .jpg, but 5 seconds times a couple hundred files per day...it
    adds up.

  • Acrobat 9 (or 9.1) -- Script changes prevent signing -- any workarounds?

    I was having problems understanding the behavior of my form until I came across the document at http://www.adobe.com/devnet/reader/articles/reader_compatibility/readercomp_digitalsignatu res.pdf .
    My use case, which is a little convoluted, so could probably be streamlined, is that my application server presents a PDF to the user in a browser for them to review / sign.
    In some cases, I was getting the message "The document could not be signed."  with no other explanation (unlike many other threads which cite more detailed messages with a similar feel).
    After reading the section of that doc titled "Script changes prevent signing", I understand why since my form was making script changes
    So, now that I understand the situation, I have some options to work around it but presently none are great.
    The issue in a nut shell:
    1. The form is delivered to the browser, so the notion of save/close/re-open/sign doesn't make sense
    2. A button is on the form, with form submit on MouseUp.  This is the part that causes problems ... the application server is generating the (same) MouseUp action for ANY button and, at this point, I don't have a way to prevent that.
    3. My "illegal" script change was a Page Open script that replaced the MouseUp action to what it "should" be.
    4. The problem button is one that I want MouseUp to fire a launchURL instead of a submit.
    The workarounds I've considered:
    1. Replace the button with a link or non-button fields that has the correct actions.  Workable but not a great UI metaphor.
    2. Putting the "right" action on the MouseDown.  Also workable, but since this doesn't actually prevent the MouseUp from firing, it creates confusing user experience if I there are problems that prevent form submission (and I am not clear if the launchURL in fact prevents the form submission or not).
    Are there any other workarounds?  Is there any wiggle room on the restriction about no script changes?  The script that changes the MouseUp action is defined in an application level javascript file, so I tried making it trusted but that did not seem to make a difference.  I feel like
    I have a similar, but less import case for a true submit button.  I want to also send email on form submission, but since I cannot the form submission on MouseUp, there is no way for me to only send mail when the form is submitted (i.e. all required fields filled in).  So, I am presently always sending the mail in MouseDown.

    It sounds to me like the same option. Perhaps it also applies to non-PostScript printers now. If the printer is capable of good colour management (many are not); and if the PDF is properly tagged with source profiles, no reason why results shouldn't be good.

  • Outline of After Effects CS4 scripting changes

    Here's a link to a blog post that provides information about the new and changed features in a sparse outline format:
    "After Effects CS4 scripting changes"

    > We use no compression because the LED signs will not take any file that is compressed. I assumed that meant there was no codec involved. Is there a codec applied in CS6, even though it is uncompressed?
    What Rick and I are getting at is: when you render from AE, in the Export Settings dialog there is a codec field; what do you set that to?
    Quick terminology lesson. Codec and compression are not the same thing. When you encode video, you are always using a codec. Most codecs use compression, but some do not. "None" or "Uncompressed" codecs do not use compression.
    After Effects does not add any compression other than what you specifiy in the Export Settings dialog. There should not be a significant difference between the files produced from AE CS4 and AE CS6. AVI, as a format, has not changed in many years. In other words, we know of no difference that would specifically cause this problem.
    If the LED sign software has a problem with an AVI from AE CS6, we need to know the requirements of the LED sign software and how that AVI is failing it. So far all you have told us is "other people say it doesn't work".

  • Problem changing address format

    I live in Japan, and therefore have lots of Japanese addresses. When I imported these addresses into Address book, it automatically put them in 'Japan' address format (although I have UK format specified in the preferences). Japan format is more or less the opposite of UK or USA format, with post code and city first, and street address last.
    However, Japan format is only used if the address is in Japanese script. Otherwise the addresses are written in UK format. Therefore, I set about changing the formats. However, when I change the format, Address Book automatically puts the words 'United Kingdom' in the country field. I then have to change it to 'Japan'. As I have about a thousand addresses, this is pretty infuriating.
    Is there anyway to change this behaviour, so that the country is not automatically inserted?

    Unfortunately you may have to clear out the country field before changing the format.

  • Conky - script output and formatting?

    Hi, i made a small script that is outputting text to my conky, used like this:
    ${execi 3600 ~/scripts/horoscope.pl scorpio}
    The problem is that the text doesn't seem to be formatted (it goes off the edge of the conky).
    How can i get the output text to "fit" within my conky's width and not go off the screen?
    Here is the script:
    #!/usr/bin/env perl
    use strict;
    use warnings;
    use LWP::Simple;
    my $sign = $ARGV[0];
    my @signs = qw(
    aries taurus gemini cancer leo virgo
    libra scorpio sagittarius capricorn
    aquarius pisces
    sub horoscope($)
    our $data = get(
    'http://my.horoscope.com/astrology/free-daily-horoscope-' . $sign. '.html'
    if ($data =~ m/(.+)\ id=\"textline\">(.+)<\/div>(.+)/)
    our $msg = $2 ."\n";
    return $msg;
    } else
    return "Error retrieving horoscope.";
    package main;
    for my $val (@signs)
    if ($sign eq $val)
    print horoscope($val)

    That won't work, as i change conky often. I _don't want_ a script outputting "hard-formatted" text that will only fit one kind of conky unfortunately.
    If that was what i wanted to do i would have done it that way already...
    PS; i don't need to be told to read documentation. I wouldn't have bothered posting if i hadn't looked beforehand. It's rather annoying when you spend several hours searching through doc's, misc forums and tutorials trying to find a solution and when you post a thread about it someone asks you to RTFM.....

  • How to print last page in sap script in ladscape format?

    Hi all,
    can any 1 tell me How to print last page in sap script in ladscape format?
    Thanks In advance.
    Pravin

    Hi Pravin Sherkar,
    we can do this in SAP Scripts.
    we need to create two pages, one of landscape and another of potrait.
    now after filling the data at last we need to call the page which is of format landscape using START_FORM  function module.
    You can use condition &PAGE& = &FORMPAGES&.
    Please check this link
    Printing Portrait/Landscape in sapscript
    Re: Landscape and potrait in same layout?
    http://www.sap-img.com/ts013.htm
    Best regards,
    raam

  • Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help

    Using Adobe Photoshop CS2 version 9 and have updated it, but when stacking photos, it comes up with PSD, whereas I want Jpeg, and I change the format to Jpeg and the box then comes up with cannot save as there is a program error. Be very grateful for help with this, please.

    jpg does not support Layers.
    Just to make sure, what exactly do you mean by "stacking photos" and what do you want to achieve thereby?

  • Changing date format at reporting level

    Hello,
    Will u plz tell me how can i change the date format at reporting level?
    I want to display date in dd/mm/yyyy, but by default its showing mm/dd/yyyy.
    Delta is already loaded in the system, so i don't want to disturb regular data loading.
    Is there any way so that i can change the format of date.
    Plz help me out.
    Thanks,
    Regards,
    Steve

    Hi steve
    There r so many postings on the same topic
    go through these previous threads
    date format
    Date format
    u can find solution
    regards
    Ravi Kiran

  • OAF changes Date Format

    Hi
    I need to store a date into a flexfield. We have enabled the Flexfield and there is NO value set attached to it.
    This attribute is already in the VO as a varchar, so we have just added a new column into the page as data type Date and link it to the flexfield column.
    In this page we have a table layout so the user can enter 10 rows before saving them. And this page it just used to punch data into a table, which means, once the user press apply the page saves and clears. The user can not query on that page.
    When entering the first row, we can open the Date picker and we can choose the date and then it populates the column as “DD-MON-YYYY”.
    The problem is:
    When we entering the second row after entering one column the pages changes the format of my date from the previous record to “YYYY-MM-DD”, then after entering any second column the pages clear the date from the previous row.
    Running the page from JDev it shows the following message before clears the flexfield:
    java.text.ParseException: 2011-01-28
    Note we have not extended the VO and not extended the controller.
    My questions are:
    1) Why the Self-Service is change the date format to YYYY-MM-DD even if the profile ICX: Date Format Mask (31-DEC-1999) and my preference is set to DD-MON-YYYY?
    2) How can I avoid this to happen? Is there any way to keep my date as DD-MON-YYYY?
    Thanks,
    Alex

    Alex,
    That was the update from Oracle support, when we raised it,
    But I did the following to handle that, I feel this is not the right way, since we had that issue as SEV1, I did that as a workaround,
    Check this this might help.
    package oracle.apps.xxper.selfservice.appraisals.webui;
    import com.sun.java.util.collections.HashMap;
    import java.io.Serializable;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.webui.*;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.apps.fnd.framework.webui.beans.form.OASubmitButtonBean;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageCheckBoxBean;
    import oracle.apps.per.selfservice.appraisals.ApprConstants;
    import oracle.apps.per.selfservice.arch.webui.PerOAControllerImpl;
    import oracle.apps.per.selfservice.common.webui.CommonCO;
    import oracle.apps.per.selfservice.compgaps.Constants;
    import oracle.apps.per.selfservice.appraisals.webui.MAFinalRatingsPageCO;
    import oracle.apps.fnd.framework.server.OADBTransaction;
    import oracle.apps.fnd.framework.OAViewObject;
    import java.sql.CallableStatement;
    import java.sql.ResultSet;
    import oracle.jbo.Row;
    import oracle.apps.fnd.framework.webui.beans.message.OAMessageDateFieldBean;
    import oracle.apps.per.selfservice.appraisals.server.AppraisalVORowImpl;
    public class XXPERMAFinalRatingsPageCO extends MAFinalRatingsPageCO
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processRequest(pageContext, webBean);
    writeLog("XXPER",pageContext,"Start PR XXPERMAFinalRatingsPageCO ");
    OAMessageDateFieldBean dateBean =(OAMessageDateFieldBean) webBean.findChildRecursive("DeliveryDateTime");
    if(dateBean !=null )
    String dateBeanValue = (String) dateBean.getValue(pageContext) ;
    writeLog("XXPER",pageContext,"dateBean Value "+dateBeanValue);
    if(dateBeanValue !=null)
    if(dateBeanValue.indexOf(".0") !=-1)
    dateBeanValue = dateBeanValue.substring(0,dateBeanValue.length()-2);
    writeLog("XXPER",pageContext,"dateBean Updated Value "+dateBeanValue);
    String dateMaskQry = "SELECT value FROM V$NLS_Parameters WHERE parameter ='NLS_DATE_FORMAT'";
    writeLog("XXPER",pageContext,"dateMaskQry "+dateMaskQry);
    String dateMask = (String) executeSql(dateMaskQry, pageContext, webBean);
    writeLog("XXPER",pageContext,"dateMask : "+dateMask);
    String dateConvertQry = "select to_char(fnd_date.canonical_to_date('"+dateBeanValue+"') ,'"+dateMask+" HH24:MI:SS') from dual";
    writeLog("XXPER",pageContext,"dateConvertQry "+dateConvertQry);
    String convertedDateValue = (String) executeSql(dateConvertQry,pageContext,webBean);
    writeLog("XXPER",pageContext,"convertedDateValue "+convertedDateValue);
    if(convertedDateValue == null )
    convertedDateValue = dateBeanValue;
    dateBean.setValue(pageContext,convertedDateValue);
    writeLog("XXPER",pageContext,"After set the value "+convertedDateValue);
    setAttribute3(pageContext, convertedDateValue);
    writeLog("XXPER",pageContext,"After set the VO value "+convertedDateValue);
    }else
    writeLog("XXPER",pageContext,"dateBean value is null from the bean Get the value from getAttribute3() method");
    dateBeanValue = getAttribute3(pageContext);
    dateBean.setValue(pageContext,dateBeanValue);
    }else
    writeLog("XXPER",pageContext,"dateBean is null ");
    writeLog("XXPER",pageContext,"End PR XXPERMAFinalRatingsPageCO ");
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    writeLog("XXPER",pageContext,"Start PFR XXPERMAFinalRatingsPageCO ");
    writeLog("XXPER",pageContext,"Event Param "+pageContext.getParameter(EVENT_PARAM));
    OAMessageDateFieldBean dateBean =(OAMessageDateFieldBean) webBean.findChildRecursive("DeliveryDateTime");
    if(dateBean !=null )
    String dateBeanValue = (String) dateBean.getValue(pageContext) ;
    if(dateBeanValue !=null)
    if(dateBeanValue.indexOf(".0") !=-1)
    dateBeanValue = dateBeanValue.substring(0,dateBeanValue.length()-2);
    writeLog("XXPER",pageContext,"dateBean Updated Value "+dateBeanValue);
    String dateMaskQry = "SELECT value FROM V$NLS_Parameters WHERE parameter ='NLS_DATE_FORMAT'";
    writeLog("XXPER",pageContext,"dateMaskQry "+dateMaskQry);
    String dateMask = (String) executeSql(dateMaskQry, pageContext, webBean);
    writeLog("XXPER",pageContext,"dateMask : "+dateMask);
    String dateConvertQry = "select to_char(fnd_date.canonical_to_date('"+dateBeanValue+"') ,'"+dateMask+" HH24:MI:SS') from dual";
    //String dateConvertQry = "select fnd_date.string_to_canonical('"+dateBeanValue+"','"+dateMask+" HH24:MI:SS') from dual";
    writeLog("XXPER",pageContext,"dateConvertQry "+dateConvertQry);
    String convertedDateValue = (String) executeSql(dateConvertQry,pageContext,webBean);
    writeLog("XXPER",pageContext,"convertedDateValue "+convertedDateValue);
    if(convertedDateValue == null )
    convertedDateValue = dateBeanValue;
    dateBean.setValue(pageContext,convertedDateValue);
    writeLog("XXPER",pageContext,"After set the value "+convertedDateValue);
    setAttribute3(pageContext, convertedDateValue);
    writeLog("XXPER",pageContext,"After set the VO value "+convertedDateValue);
    }else
    writeLog("XXPER",pageContext,"dateBean is null ");
    writeLog("XXPER",pageContext,"End PFR XXPERMAFinalRatingsPageCO ");
    super.processFormRequest(pageContext, webBean);
    writeLog("XXPER",pageContext,"End PFR XXPERMAFinalRatingsPageCO (After Super Call )");
    public void writeLog(String moduleName, OAPageContext pageContext, String diagText)
    if(pageContext.isLoggingEnabled(OAWebBeanConstants.STATEMENT))
    System.out.println(moduleName+" : "+diagText);
    pageContext.writeDiagnostics(moduleName,diagText,OAWebBeanConstants.STATEMENT);
    * Method to execute SQL.
    public Object executeSql(String pSqlStmt, OAPageContext pageContext , OAWebBean webBean)
    OADBTransaction tx = pageContext.getApplicationModule(webBean).getOADBTransaction();// (OADBTransaction)getOADBTransaction();
    Object lObject = null;
    // Create the callable statement
    CallableStatement lCstmt = (CallableStatement)tx.createCallableStatement(pSqlStmt, 1);
    ResultSet rs = null;
    try
    rs = lCstmt.executeQuery();
    while(rs.next())
    lObject = rs.getObject(1);
    catch (Exception e)
    //throw OAException.wrapperException(e);
    finally
    try {
    if(rs!=null)
    rs.close();
    if(lCstmt != null)
    lCstmt.close();
    catch(Exception e) {
    throw OAException.wrapperException(e);
    return lObject;
    } // executeSql
    public void setAttribute3(OAPageContext pageContext, String dateValue)
    OAApplicationModule rootAM = pageContext.getRootApplicationModule();
    OAApplicationModule apprAM = (OAApplicationModule)rootAM.findApplicationModule("AppraisalsAM");
    OAViewObject appraisalVO = (OAViewObject)apprAM.findViewObject("AppraisalVO");
    writeLog("XXPER",pageContext,"appraisalVO "+appraisalVO);
    if(appraisalVO !=null)
    AppraisalVORowImpl appraisalVORow = (AppraisalVORowImpl) appraisalVO.getCurrentRow();
    if(appraisalVORow !=null)
    int attrCount = appraisalVO.getAttributeCount();
    writeLog("XXPER",pageContext,"Attrbuute count "+attrCount);
    String[] attributeNames = appraisalVORow.getAttributeNames();
    appraisalVORow.setAttribute3(dateValue);
    public String getAttribute3(OAPageContext pageContext)
    OAApplicationModule rootAM = pageContext.getRootApplicationModule();
    OAApplicationModule apprAM = (OAApplicationModule)rootAM.findApplicationModule("AppraisalsAM");
    String attribute3Value = "N";
    OAViewObject appraisalVO = (OAViewObject)apprAM.findViewObject("AppraisalVO");
    writeLog("XXPER",pageContext,"appraisalVO "+appraisalVO);
    if(appraisalVO !=null)
    AppraisalVORowImpl appraisalVORow = (AppraisalVORowImpl) appraisalVO.getCurrentRow();
    if(appraisalVORow !=null)
    int attrCount = appraisalVO.getAttributeCount();
    writeLog("XXPER",pageContext,"Attrbuute count "+attrCount);
    String[] attributeNames = appraisalVORow.getAttributeNames();
    writeLog("XXPER",pageContext," AppraisalId :- "+ appraisalVORow.getAppraisalId());
    attribute3Value = (String)appraisalVORow.getAttribute3();
    String attribute1Value = (String)appraisalVORow.getAttribute1();//getAttribute2
    String attribute2Value = (String)appraisalVORow.getAttribute2();
    writeLog("XXPER",pageContext," attribute3Value :- "+attribute3Value + " attribute1Value "+ attribute1Value +"attribute2Value "+attribute2Value);
    }else
    writeLog("XXPER",pageContext," appraisalVORow is null ");
    }else
    writeLog("XXPER",pageContext," appraisalVO is null ");
    return attribute3Value;
    }

  • How to change the format of a cell in a web report

    Hello experts,
    Is it possible to implement this in a Web Report/BEx query?
    We have a list of products grouped into Company A and Company B. One key figure is for example Net Cost Price.
    We need to highlight the lowest net cost price in every company but with a different colour depending on the company assuming prices are sorted in ascending order.
    We have been recommended to use Web Design Api for Tables but we understand that in order to format a cell content we need to know the axis position of the cell but we don't know how many rows the query will display for every company. Is this kind of requirements only possible with "static" reports where we know exactly the number of rows and columns that are going to be displayed?
    This is an example.
    COMPANY      PRODUCTS    NET COST PRICE
    Company A    Product 1    <b>5€</b>
                 Product 2    10€
    Company B    Product 1    <b>10€</b>
                 Product 2    20€
    Any help would be very much appreciated.
    Thanks in advance,
    Inma

    Hi Inma,
      If you have already not solved your problem , you can try the following solution with table interface class.
    Table interface class generates HTML table row by row so it first process the charecterstics and then KFs .
    You define a  attribute(type public) in class and set that attribute to X (In CHARECTERSTIC menthod)when ever the company code changes.
    Then make use of that flag in DATA method to change the format of cell (Assuming you sorted by Ascending).
    hope this helps.
    Regards
    Madhukar

  • How can i change the Format of my DATE column?

    I need to change the date format for a whole column. At present i can do MM-DD-YYYY. I need to change this this to DD-MMM-YYYY.
    I know about the to_date function, i tried to apply it to change the format of my whole column by doing the following.....
    CREATE TABLE "IT220_DATEHOLIDAY"
    "DEPARTID" VarChar(2)NOT NULL ENABLE,
    "HOLCODE" VARCHAR2(2)NOT NULL ENABLE,
    "DEPARDATE" DATE,
    to_date('DATE','DD-MMM-YYYY'), <<<change DATE column to DD-MMM-YYYY
    CONSTRAINT "DATEHOLIDAY_PK" PRIMARY KEY ("DEPARTID") ENABLE
    ORA-00902: invalid datatype <<<<This was the error message i received.
    I am aware that the to_date function is supposed to be used to change strings into a certain format. I guess this means you cant do it with columns? Is there anyway i can format the whole column or do i have to do each string of data entered one by one?
    Thanks in advance!

    Hello Jay,
    I'm not sure you hit the right forum, as this doesn't seem to be a problem with APEX.
    Anyway:
    You can't use that function on a table like that, and as you already suggested, the to_date-function expects a string value.
    It seems you also have a misunderstanding of the basic datatypes in the database. DATE is such a datatype and is stored an internal format you don't need to care about. Each time your request the value, the database will give you a string representation according to either your locale or you give a certain formatting mask.
    The same applies to insert or update operations: you hand in either a variable of type DATE or use a function like to_date to create an "object" of type date.
    You may be interested in reading the documentation of the [url http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/toc.htm]Oracle Database Concepts. The section concerning datatype DATE can be found here:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e16508/tablecls.htm#CBBGJHJC
    An overview of formatting options can be found here:
    http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/sql_elements004.htm#SQLRF00212
    So to answer your question: You would format it as part of your insert operation, taking a string and convert it using to_date.
    -Udo

Maybe you are looking for

  • My apple id doesnt work (it wont let me log in) i need help

    The main reason i need to log into my apple id is because i bought a $50 itunes giftcard that i wanted to buy music with.  The problem with this is that when i went to go buy music on itunes, it told me i needed to verify my account by answering my s

  • Is it possible to upgrade a dv5 1234ca processor?

    I want to upgrade my HP dv5 1234ca laptop processor. Presently my laptop has a 2.00 GHz Intel Core 2 Duo Processor T6400. I was wondering if it was possible to remove the old processor to a faster Core 2 Duo processor? or i3 or i5 processor ?

  • HP LaserJet 1536dnf MFP on Windows 8

    I recently purchased this, and it worked fine on windows 7.  i am using windows 8 beta now and i cannot use the scanner and scanner drivers fail to load.  is there a workaround to this? Thanks Ali

  • Export to Excel in WAD

    Hi all, How to get an export to excel in WAD 3.5 and when i click it , it should export the data to excel and also a bookmark for the same? Please let me know the html which we needs to used to get the above functionalities and explain it Regards, pr

  • Automatic Storage Location determination based on Customer in SO Creation

    Hi Guru, We have the scenario where some customer goods need to be out from the bonded WH, and Some customer will always take the goods from General WH, can i know if there is a way to maintain the default storage location based on which customer? Th