How to populate who column values, when commiting the transaction?

Hi,
In Oracle forms we can populate who columns thru FND_STANDARD.SET_WHO;
How is it in OAF?. Standard setter methods are sufficient or do I need to code something to get the values.
Thanks

Yes, all Setter methods are in EOImpl object. After I commit the trasnaction, who columns are showing as null.
CreationDate
CreatedBy
LastUpdatedBy
LastUpdateDate
LastUpdateLogin
* Gets the attribute value for CreationDate, using the alias name CreationDate
public Date getCreationDate()
return (Date)getAttributeInternal(CREATIONDATE);
* Sets <code>value</code> as the attribute value for CreationDate
public void setCreationDate(Date value)
setAttributeInternal(CREATIONDATE, value);
* Gets the attribute value for CreatedBy, using the alias name CreatedBy
public Number getCreatedBy()
return (Number)getAttributeInternal(CREATEDBY);
* Sets <code>value</code> as the attribute value for CreatedBy
public void setCreatedBy(Number value)
setAttributeInternal(CREATEDBY, value);
* Gets the attribute value for LastUpdatedBy, using the alias name LastUpdatedBy
public Number getLastUpdatedBy()
return (Number)getAttributeInternal(LASTUPDATEDBY);
* Sets <code>value</code> as the attribute value for LastUpdatedBy
public void setLastUpdatedBy(Number value)
setAttributeInternal(LASTUPDATEDBY, value);
* Gets the attribute value for LastUpdateDate, using the alias name LastUpdateDate
public Date getLastUpdateDate()
return (Date)getAttributeInternal(LASTUPDATEDATE);
* Sets <code>value</code> as the attribute value for LastUpdateDate
public void setLastUpdateDate(Date value)
setAttributeInternal(LASTUPDATEDATE, value);
public Number getLastUpdateLogin()
return (Number)getAttributeInternal(LASTUPDATELOGIN);
* Sets <code>value</code> as the attribute value for LastUpdateLogin
public void setLastUpdateLogin(Number value)
setAttributeInternal(LASTUPDATELOGIN, value);
protected void updateRowWho()
OADBTransaction oadbtransaction = getOADBTransaction();
if(oadbtransaction.isLoggingEnabled(2))
oadbtransaction.writeDiagnostics(this, "Entering updateRowWho", 2);
oadbtransaction.writeDiagnostics(this, "Not updating WHO columns", 2);
oadbtransaction.writeDiagnostics(this, "Leaving updateRowWho", 2);
protected void createRowWho()
OADBTransaction oadbtransaction = getOADBTransaction();
if(oadbtransaction.isLoggingEnabled(2))
oadbtransaction.writeDiagnostics(this, "Entering createRowWho", 2);
oadbtransaction.writeDiagnostics(this, "Not updating WHO columns", 2);
oadbtransaction.writeDiagnostics(this, "Leaving createRowWho", 2);
Thanks

Similar Messages

  • How to populate a column value dynamically based on org id value

    Hi,
    I have two columns in a table program_id and org_id,
    I need to populate program_id = 1 for org_id = 100
    I need to populate program_id = 2 for org_id = 101
    for populating org_id i am using "fnd_profile.value('ORG_ID')". This is working fine. But when i decode doe program_id it is not working.
    below is the samle control fille i am using.
    into table ap_credit_card_trxns_all
    when (1) = '1' and (431:432) <> 'CA' and (431:432) <> '04' and (431:432) <> '03' and (431:432) <> '01' and (431:432) <> 'NF'
    trx_id                    "ap_credit_card_trxns_s1.nextval",
    validate_code               constant 'N',
    payment_flag               constant 'N',
    card_program_id          "decode(:org_id,82,10000,83,10001,null)", --
    org_id           "fnd_profile.value('ORG_ID')"
    I tried all possible ways but still not working. Can any experts please help me on this.
    Thanks,

    Pl post details of OS, database and EBS versions.
    AFAIK, you cannot use multiple WHEN clauses in your control file.
    >
    when (1) = '1' and (431:432) 'CA' and (431:432) '04' and (431:432) '03' and (431:432) '01' and (431:432) 'NF'
    >
    Srini

  • How to update zero to a column value when record does not exist in table but should display the column value when it exists in table?

    Hello Everyone,
    How to update zero to a column value when record does not exist in table  but should display the column value when it exists in table
    Regards
    Regards Gautam S

    As per my understanding...
    You Would like to see this 
    Code:
    SELECT COALESCE(Salary,0) from Employee;
    Regards
    Shivaprasad S
    Please mark as answer if helpful
    Shiv

  • How do I maintain column formatting when converting from PDF to Excel?

    How do I maintain column formatting when converting from PDF to Excel? All info is no longer on the lines or in the columns they started out being in? Any help would be appreciated.

    Sara,
    Perhaps I am expecting too much from Adobe ExportPDF. The reason I subscribed to this service, for which I pay a yearly fee, was that I need a way to  convert scanned and digital documents to Word &/or Excel. I read the link you included but to be candid the more I tried to understand what was written the more confused I got. The process should not be this difficult. Currently I am using a NEAT scanner to create PDF documents of whatever I scan. After I changed the OCR setting on Adobe ExportPDF the output was much better but not to the point it was usable as it was. Information that appears to be lines and columns are sometimes not recognizing two columns and just putting them together in one. Obviously not usable. The other thing it does is bunch numbers that appear in a column that are just a bunch of numbers that I have no way of fixing. 
    Please let me speak to someone who can help me. Right now I not getting anything of value in my paid subscription.

  • How to resolve unresolved column error when we change column name in BMM Layer and removed alias in presentation layer

    how to resolve unresolved column error when we change column name in BMM Layer and removed alias in presentation layer

    Looks like the presentation column got Alias before your BMM changes, so in your case renaming logical column and deleting alias is not good to go.
    Keep Alias

  • Missing column value when logged on to windows with user id other then admi

    I am using crystal report 10 with oracle 10g database. Application is is developed on vissual studio.net 2005 (vb.net). Reports are launched from vb.net application.
    My report runs fine when I logon to windows as administrator and launch vb.net application. When I logeed on to windows with userid other then administrator my application works fine except one of the column value is missing a value in the report.  When I launch my vb.net application my oracle userid is same. Only difference is windows userid.  My application has no referance to windows userid. Why crystal report viewer is missing one column value when loged on to windows as user(xxxx)?

    CR 10.2 bundles with .NET 2005. If you do not see the CR assemblies of version 10.2.3600 in GAC, try to do a custom install of .net 2005, choosing just Crystal Reports. Note that Crystal Reports does not bundle with all versions of .NET (for example it does not ship with .NET Express - I believe...). Alternatively, you can upgrade to CR 2008 which is the latest sipping version of Crystal Reports. You can obtain a copy by calling sales at 866-681-3435, or go to this link:
    www.businessobjects.com/product/catalog/crystalreports
    An eval copy of CR 2008 can be downloaded from here:
    http://www.businessobjects.com/forms/default.asp?id=701600000009BXP
    Ludek

  • How to update a column value by comparing old value by using DML Handler...

    Hi Can anyone post the DML Handler code for updating a column value by comparing the old value.
    Thanks,
    Ray

    Hi,
    Here is an example of a DML handler.
    BEGIN
    DBMS_APPLY_ADM.SET_DML_HANDLER(
    object_name => 'scott.emp',
    object_type => 'TABLE',
    operation_name => 'UPDATE',
    error_handler => false,
    user_procedure => 'strmadmin.update_column',
    apply_database_link => NULL,
    apply_name => 'MY_APPLY');
    END;
    This DML handler which will send any LCR matching the specified conditions to the strmadmin.update_column for customised processing.
    You can write the strmadmin.update_column procedure so that it extracts the old values from the LCR. You can then use the old values from the LCR to identify the row in the table. Once you identify the row, you can update it as you want.
    I haven't really tried to do any customised processing using DML handlers, but this should work.
    Hope this is of help.
    Sujoy

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • How to retrieve multiple columns using "returning" in the Insert query.

    hi,
    wanted to know how to retrieve multiple columns using "returning" in the Insert Query.
    For retrieving one column we write the query as follows:
    Insert into TABLE values(1,2,3,4) returning COLUMN1 into PARAMETER
    But can we retrive multiple columns in the same query?
    am using oracle 10g and coding in .NET

    Hi,
    You can definetely get multiple values from a single query using the 'returning' clause.
    Eg : insert into emp (empno, ename, job, deptno) values (7324,'ADAM','MARKETING',30) returning ename, deptno into var1, var2; PN : var1 & var2 to be declared as varchar2 & number respectively.
    More insight into the 'RETURNING' clause in this link.
    http://www.samoratech.com/PLSQL/swArtPLSQLReturn.htm
    Regards,
    Bhanu.

  • Error When Opening the Transactions/Transactions Window

    Hi All,
    in Oracle E-Business Suite R12 Version
    Error When Opening the Transactions/Transactions Window
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "APPS.AR_MO_GLOBAL_CACHE", line 55
    ORA-06512: at "APPS.ARP_STANDARD", line 2912
    ORA-06512: at "APPS.ARP_GLOBAL", line 282
    FRM-40735: PRE-FORM trigger raised unhandled exception ORA-06502
    Can any body help about the error
    Thanks in advance.

    Did you go through the below notes:
    Note:125204.1, Note:153207.1 and Note:191306.1.

  • HT1918 still cant save the change i did in the billing information. how do i contact itunes support to complete the transaction?

    still cant save the change i did in the billing information. how do i contact itunes support to complete the transaction?

    http://www.apple.com/support/contact/

  • How to maintain open change request control for the transaction MM02 & CS02

    hi all...
    can any one please let me know that, is there any BADI or Enhancement spot
    where i can code for my desired functionality...
    how to maintain open change request control for the transaction MM02 and CS02.
    Desired Functionality:
    • The user wants to maintain a material, bill of material or a document.
    • On the initial screen of the respective transaction (MM02, CS02)
      user enters a change request number.
    • The system checks whether the object record that the user wants to maintain
      is already assigned to other change request numbers.
    • If this is the case, the system displays a warning, stating that there are
      other open change requests for this master data record.
    • In addition, the system lists the relevant change request numbers.
    • The user can continue the maintenance or leave the transaction and first check
      the mentioned change requests.

    hi satish thanks for reverting back
    but sorry yaar given enhancement is not triggering...
    but my requirement is:
    - after executing the transaction MM02 & CS02.
    - user inputs the data for Material Number and then he enters the Change Number.
    - if the given Change Number is not maintained with the Material (i dont no
      where/how this two fields are maintained internally), then it has to raise a
      warning and it should list the existing Change Numbers for that perticular
      Material.

  • How to change 'Modified By' column value when a new file is uploaded in SharePoint 2013 using Client Object Model?

    I want to change 'Modified By' column value of a file that is being uploaded using Client Object Model in SharePoint 2013. The problem is that the version of the file is changing. Kindly help me. The code that I am using is:
    using (System.IO.Stream fileStream = System.IO.File.OpenRead(m_strFilePath))
        Microsoft.SharePoint.Client.File.SaveBinaryDirect(m_clientContext, str_URLOfFile, fileStream, true);
        Microsoft.SharePoint.Client.File fileUploaded = m_List.RootFolder.Files.GetByUrl(str_URLOfFile);
        m_clientContext.Load(fileUploaded);
        m_clientContext.ExecuteQuery();
        User user1 = m_Web.EnsureUser("User1");
        User user2 = m_Web.EnsureUser("User2");
        ListItem item = fileUploaded.ListItemAllFields;
        fileUploaded.CheckOut();
        item["UserDefinedColumn"] = "UserDefinedValue1";
        item["Title"] = "UserDefinedValue2";
        item["Editor"] = user1;
        item["Author"] = user2;
        item.Update();
        fileUploaded.CheckIn(string.Empty, CheckinType.OverwriteCheckIn);
        m_clientContext.ExecuteQuery();

    Hi talib2608,
    Chris is correct for this issue, when calling update using ListItem.update method, it will increase item versions, using SystemUpdate and UpdateOverwriteVersion will update the list item overwrite version.
    these two methods are not available in CSOM/REST, only server object model is available for this.
    Thanks,
    Qiao Wei
    TechNet Community Support

  • How to set a column value in a tabular form via button

    Hi All,
    I am using Apex 3.0.1. And to create the form I am using the APEX interface tool
    I have tabular updateable report. In the same page I have a LOV field where I can choose some possible results.
    I want to have a button so I can select a value in the LOV, take this value and populate the column value to the LOV value for all rows in the tabular form.
    The LOV and the buttons are done.. to update the column I tried creating a pl/sql that is executed when the button is pressed and has the following update in a loop for each element:
    begin
    for i in 1..APEX_APPLICATION.g_f01.count loop
    APEX_APPLICATION.G_F02(i) := :P1_MY_LOV_VALUE;
    end loop;
    commit;
    end;
    When I press the button, the page refreshes but nothing happens. I don't see any changes in the Values for the column I am trying to update
    Thanks

    Hi user477501,
    If you are doing this after a SUBMIT, then try updating your data table instead of the g_f02 array. When you page is re-rendered, it should re-query your data table.
    If you do not want to submit the page, then try your hand at JavaScript.
    A good reference for this is Mike Hichwa's article at:
    http://www.oracle.com/technology/oramag/oracle/06-nov/o66browser.html
    Be sure to download the example application, it is very helpful.
    I hope this helps.
    Patrick

  • How to refer a column value of a single row in conditional column display?

    Hello,
    does anybody have an idea, how i can refer a column value of a single row in conditional display of a column?
    So my idea is, that a report has a column, which value is only displayed, when another column value of this row has a specific value.
    I want to solve this problem with condition type: PL/SQL Function Body returning a boolean.
    But I do not know how to refer the column value of each single row!
    Thank you,
    Tim

    Here's a solution that, to me, seems easier to implement but, that's, of course, in the eye of the implementer.
    Rather than using APEX to generate a link column for you, actually create the link as part of your SQL.
    select '<a href="f?p=102:3:491847682940364::::P3_CONTACT_ID:' || CONTACT_ID || "><img src="/i/themes/theme_1/ed-item.gif" alt="Edit"></a>' CONTACT_LINK, ...
    etc.
    Test this out. You'll see that it works just like making a column a link using the column attributes.
    Next, we'll change the SQL to use a DECODE statement to either display the link or nothing depending on what your criteria is. For example, let's assume you only want a link for active contacts.
    select Decode( CONTACT_STATUS, 'A', '<a href="f?p=102:3:491847682940364::::P3_CONTACT_ID:' || CONTACT_ID || "><img src="/i/themes/theme_1/ed-item.gif" alt="Edit"></a>', NULL ) CONTACT_LINK, ...
    etc.
    This will not display the link in any rows in which the CONTACT_STATUS is not active, i.e. "A"
    -Joe

Maybe you are looking for

  • Trying to network HP Envy 4500 all in one with OSX 10.9.4

    First time installation of HP Envy 4500 all in one was going well on Mac with OSX 10.9.4.  However I can only get the printer to work with cable. HP instructions were to re-insert CD and follow instructions for 'reconfiguring without cable' however t

  • Core dump:HotSpot Virtual Machine Error : 11

    hi i got the core dump with "HotSpot Virtual Machine Error : 11" error in the "log file" while running a j2ee application on solaris platform. could any one help me on this . the following log is part of the error. [08/Feb/2005 15:42:00:7] info: REQ-

  • How long a wait is it for tv show availability on iTunes?

    I bought a seasons pass on iTunes, and episodes that aired days ago on tv still aren't on iTunes. How long does it usually take for an episode to get onto iTunes?

  • Making a program executeble

    Hello, How can I make a Java program extecuteble? I want to have a .exe file so I can show my programs to other people without installing java on their computer. Thanks

  • Error in generating infosets - SQ02

    Hello Experts, I was trying to create an infoset based on multiple tables. I get error "In Unicode programs, the "(" character cannot appear in names, as it does here in the name "TEXT5()".", after I add tables and try to generate the infosets. I saw