Need to set WHO columns
I am trying to set WHO columns in an Oracle APPs custom form.
I tried fnd_standard.set_who
bit gives an error, cannot insert null into creation date;
i tried just setting it to USER
but gives pre insert error -ora06502
is there any other way to set WHO columns??
Please let me know asap.
Need it urgently.
If you are updating using an EO and the tables have columns such as created_by,creation_date, last_update_date etc, OAF will automatically populate these.
If you don't have these columns in your table, and get an error saying something like ' class must be declared abstract, setlastupdatelogin not defined', then implement empty methods to override this behavior.
Also, how are you trying to set the value to 'USER'? The error you see is because of a wrong datatype.
Similar Messages
-
I am trying to set WHO columns in an Oracle APPs custom form.
I tried fnd_standard.set_who
bit gives an error, cannot insert null into creation date;
i tried just setting it to USER
but gives pre insert error -ora06502
is there any other way to set WHO columns??
Please let me know asap.
Need it urgently.Please post this question in this forum: OA Framework
-
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.
ThanksYes, 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 -
Can we use WHO columns in Business Logic implementation
Hi,
Can we use WHO columns for business logic implementation..?
From one table I need to pick up the latest record. I have a ActionDate column in the table which stores the date of the action.
But on the same day there can be multiple action records. ie Multiple records have same ActionDate.
Select * from action_table where action_date=(maximum action_date)
The above query will return more than 1 record.
Now can I use the Creation_Date which is a WHO column to identify the latest record..?
Will it introduce any issues if I use creation_date WHO column?
Usage of WHO column in application logic, Is it against the Standards ?
Thanks a lot.I guess you are talking about populating the value using the history column creation_dt from EO.
If so, you can use then. We are using them in all our applications to populate WHO columns of our table.
Infact as far as I know, even Oracle application uses them.
They generally populate the timestamp, so you may need to format them when doing date comparisons.
Hope that helps.
Amit -
I need to set up an apple id for my IPad but my daughter is using my email address to purchase music for her IPOD and IPhone. How can she delete her apple ID so that I can use my own email account?
Try getting a credit card from the same people who issued the debit card. If I read the home sharing paper properly after your set it up with the credit card you can change the payment method back to debit.
-
I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be dependent on the customer type selection from the first list. Some examples would be: fund raising, gift planning, surveys, and others. The purpose of the trip would be dependent on the program type selected from the second list. Some examples of trip purposes would be: presentation, design, prospecting. Further, the purpose of trip selection from the third drop-down box would then have to determine the values of other fields by expense type: such as commission, airfare, hotel. etc. I've tried pop-up menu but can't figure out how to "select" from the final popup list and have it populate a field for the purpose of the trip. I've tried to look at the JavaScript examples for dependent drop-down boxes, but can't find any that quite fit what I'm trying to accomplish. I am very new to all of this. No training in writing Javascripts - just trying to wing it. The form has to be very simple for our consultants to use, but also give our office the detail we need to process through the correct account numbers. I would appreciate any detailed step-by-step instructions - kind of a javascript for dummies type of info. HELP!
An AcroForm is the name given to the type of PDF form that you create in Acrobat. An XFA form is the type of form that you create in LiveCycle Designer. Although they are both PDF files, they are very different structurally and have significant;y different scripting models. So pay attention to the information on AcroForms and ignore anything about XFA. Be sure to get the sample PDF forms so you can look at how it works and where the scripts are placed.
What you want to do will require scripting, and if you don't have the experience and are unable to use the information in the tutorials to create what you want, you might consider getting someone who has experience do this for you. I'll often suggest code if I can do so quickly, but what you want requires more than a few minutes. -
The site files are on our server and I can still access them. I was not the one who installed and set up Dreamweaver initially and don't know very much about the program Just enough to manage our simple site and keep it updated. Just need help setting it up so that it's back to managing our website.
Go to Site > New Site and define your site. See screenshots:
Servers: Enter your FTP log-in credentials and remote server's root directory. If unsure, check with your hosting provider for details.
Click on TEST button. If you're unable to connect, click the More Options triangle.
Nancy O. -
Dear SharePoint Developers,
Please help.
I need to know How to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx?
I think this is a "sealed column", whatever that is, which is shown in SPD 2013 as a column of content type "document, folder, MyCustomContentType".
I know when I set the column order in my custom Content Type settings page, it is correct.
But, when I load the NewDocSet.aspx page, the column order that I set in the settings page is NOT used for this "sealed column" which is bad.
Can you help?
Please advise.
Thanks.
Mark Kamoski
-- Mark KamoskiHi,
According to your post, my understanding is that you want to set the column order of a sealed column in a custom Content Type for the new item form NewDocSet.aspx.
Per my knowledge, if you have Content Type management enabled for the list or library (if you see a list of content type with the option to add more), the display order of columns is set for each content type.
Drill down into one of them and you'll see the option under the list of columns for that content type.
To apply the column order in the NewDocSet.aspx page, you need to:
Select Site Settings, under Site Collection Administration, click Content type publishing. In the Refresh All Published
Content Types section, choose Refresh all published content types on next
update.
Run two timer jobs(Content Type Hub, Content Type Subscriber) in central admin(Central Administration--> Monitoring--> Review timer jobs).
More information:
http://sharepoint.stackexchange.com/questions/95028/content-types-not-refreshing-on-sp-online
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
I have just recently brought the blackberry curve 8310 and i am not able to access the internet, MSN etc.
I rang my phone company(Crazy Johns) and they saif i cannot use the internet on this phone because they don't sell it anymore and i need a setting for it to work.
Can you please help me with this?
Thanks Matthew.Hello,
The services you listed in your post will require a data plan which is provisioned by your wireless provider. You may want to contact your wireless provider to see if you have the correct plan.
Cheers,
-FB
Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
Be sure to click Kudos! for those who have helped you.
Click "Accept as a Solution" for posts that have solved your issue(s)! -
Set the column name of a table in a list box
is there any code to set the column name of a table in a list box at oracle devloper 6i?
pls help.I dont want to go for pl/sql . It should work any table.You want Dynamic SQL without using PL/SQL? Tricky. I'm sure there's a possible way using some very complex and convoluted XML functionality of SQL but in reality you are asking for something that isn't natural to SQL queries, especially if you are expecting a dynamic number of columns to be produced for each row of data. SQL expects a table structure, including output formats, to be a defined number of columns with any number of rows, not a defined number of rows with any number of columns.
Perhaps if you explain why you need this sort of functionality then we may be able to offer a better solution.
;) -
Who Column - What is best way to put value in who columns
Hi,
I have a custom concurrent program that is inserting values in a custom database table. Now I have to update that table to enter *'who columns'*. I have updated table but now get confused when I need to enter values in those 'who columns'.
Now I have two option: 1) change package body used by concurrent program to insert values of who column. 2) put trigger on the table to put who columns values on insert/update
Now my question is that which is better and standard option in EBS and why????
Do we have already existing 'who trigger' in EBS that I can reuse???
Please help me to find answer.
Thanks,
FariedHi Faried,
It is always suggested to avoid triggers wherever possible. Its easy to implement the logic of updating who columns in the concurrent program and you will have one less thing (trigger) to maintain.
As far as a prebuilt who trigger is concerned, there isn't anything available for a pl/sql program. If you are coding a custom form through which you want to update a who column of a table, there is a standard api (FND_STANDARD.SET_WHO), that comes from template.fmb which takes care of updating the who columns. However, for a custom concurrent program, there isnt anything like that. You will just have to add these columns in your insert/update statements.
Thanks
Vijay -
How do I set the column content to automatic break lines
Hello Guys,
I have a problem with the column width and the column content of a standard report. Within the report are hugh entries which aren't interrupted by an space character. I set my column width to a special value by usingen "css style: display block; width: 300px;". Now the problem is that some of the column entries have a longer width than the column width is setted. So they overlock the entries of the column next to them.
My question is: How do I set the column content to automatic break lines after a certain count of characters?
After researching a couple of websites and discussion thread I found maybe a reference to the solution. I hope it help you to give me an answer.
COLUMN LAST_NAME FORMAT A4
regards
wderrWderr,
PDFs are another animal entirely. Try adjusting the width of the column under the Print Attributes tab of the report.
If that doesn't work you'll probably need to create custom XSL-FO layouts which, depending on the tools you have at your disposal, could take some time.
Regards,
Dan
Blog: http://DanielMcGhan.us/
Work: http://SkillBuilders.com/ -
How to Use COLUMN NOPRINT - need to exclude one column from Select *
Dear Friends,
I need to exclude one column from a SELECT * query. Everytime the column data type is BLOB, I dont' want it to be part of my SELECT. After googling I found some info about NOPRINT but it doesn't seem to be working in my case. May be I am using it incorreclty.
COLUMN FILE_DESC NOPRINT
SELECT * FROM FILES;
Where FILE_DESC is of BLOB datatype.Can I use it in my SELECT or it has to be used in Dynamic SQL? Is there any other option to achieve this?
Thanks in advance.Hi,
COLUMN FILE_DESC NOPRINT
affects all queries in the same SQL*Plus session (unless you cancel it with a COLUMN FILE_DESC PRINT command.) It doesn't matter if those queries are static or dynamic. As mentioned before, COLUMN is a SQL*Plus command. If you using a different front end, then it may have a different way to hide specific output columns.
Did you have a poroblem when you tried it? Post a complete test script that the people who want to help you can use to re-create the problem and test their ideas.
See the forum FAQ: https://forums.oracle.com/message/9362002 -
How to display WHO columns in oracle apps form
Hi all,
I have WHO columns in the Table and i need to add in the existing form and i have WNI trigger (execute_query) and i am trying to add columns in the Existing Database Block
After opening the Form(oracle apps form) i am not getting/populate any records on the Block
Please help and please give me the steps
ThanksHi ,
This community is to discuss Oracle Application Server specific issues, you can post this query in for better response:
Forms
Oracle Forms - EBS (MOSC)
Regards,
Prakash. -
Using CASE to return a set of columns
Good day all,
Many times I have used the CASE construct to return a value based on a set of conditions but now I have a need to return a set of columns based on a set of condition.
Look at this
A
=====
id
name
account
zip_code
status
B
=====
id
name
account
zip_code
C
=======
id
name
account
zip_code
D
======
id
name
account
zip_code
I want a query that would return
id - of A
name, - of A
beneficiary, - name column of either, A, B, C or D depending on the value of A's status (A, B, C, D)
account, - account column of either, A, B, C or D depending on the value of A's status (A, B, C, D)
zip_code - zip_code column of either, A, B, C or D depending on the value of A's status (A, B, C, D)
Can anyone help with construct that could achieve this with queries only. I don't feel like this warrants PLSQL.
regardsHi,
Is this what youa re looking for?
As Frank has said not sure what is the relationship between your tables and what Output you expect.
Sample Data used.Avoid using reserved words for column like ID and NAME
create table a (id1 varchar2(10),name1 varchar2(10),account1 varchar2(10),zip_code varchar2(10),status varchar2(10))
create table b (id1 varchar2(10),name1 varchar2(10),account1 varchar2(10),zip_code varchar2(10))
create table c (id1 varchar2(10),name1 varchar2(10),account1 varchar2(10),zip_code varchar2(10))
create table d (id1 varchar2(50),name1 varchar2(50),account1 varchar2(50),zip_code varchar2(50))
insert into A values (0, 'michael', '000000', '213401', 'A');
insert into A values (1, 'johnson', '63423', '093401', 'B');
insert into A values (2, 'fred', '23221', '203901', 'D');
insert into B values (1, 'brother', '1129812', '093083');
insert into B values (2, 'stuggard', '0093732', '087366');
insert into B values (3, 'jekins', '9009387', '329838');
insert into C values (1, 'mary', '009300', '093083');
insert into C values (2, 'lori', '112212', '654032');
insert into C values (3, 'helen', '909083', '938292');
insert into D values (1, 'mother & father', '093291', '329232');
insert into D values (2, 'Uncles & Aunties', '098762', '742326');
insert into D values (3, 'Grannies', '237643', '864433');
Query
select
case when a.status='A' then
a.id1
when a.status='B' then
b.id1
when a.status='C' then
c.id1
when a.status='D' then
d.id1
end ID1,
case when a.status='A' then
a.name1
when a.status='B' then
b.name1
when a.status='C' then
c.name1
when a.status='D' then
d.name1
end ID1
,case when a.status='A' then
a.account1
when a.status='B' then
b.account1
when a.status='C' then
c.account1
when a.status='D' then
d.account1
end account1,
a.status status,
case when a.status='A' then
a.zip_code
when a.status='B' then
b.zip_code
when a.status='C' then
c.zip_code
when a.status='D' then
d.zip_code
end zip_code
from a ,b,c,d
where a.id1=b.id1 and b.id1=c.id1 and c.id1=d.id1Cheers!!!
Bhushan
Maybe you are looking for
-
WBS Element wise settlement report
I require a report having the all WBS element code with settlement rule details the input shall be Project Deffinition. The report can be a standard report or from database table. Please suggest. I have already tried in the Table COBRB & COBRA. But i
-
Error while deploying entity!
hello, When I deploy entity on Oracle-standalone connection, it returns error below! Where is the problem? christian ---- Deployment started. ---- 2003.4.2 8:16:01 Wrote EJB JAR file to C:\Lokalno\EJB\Project\deploy\ejb2.jar Wrote EAR file to C:\Loka
-
what files are safe to put in the trash without messing up programs?
-
OSB Proxy service is not reachable
Hi OSB experts, The proxy service which is configured in weblogic OSB environment for the application running in Jboss is not reachble with the below stack trace.... Can anyone help me to infer it exactly....or let me know what the below stack trace
-
2013 Safari not auto filling password
Safari suddenly stopped auto filling userids and passwords. I rechecked all of my "Auto Fill" preferences and they are fine. It also is now saying that the password is changed and do I want to save the new one. If I say Not Now I get signed in so