BAM send its alert when inserting new record
Hi all
I create a tabular report, I have a requirement when a record was insert the bam alert sound, I've created a field calculate and I inserted the following code. Someone has an idea how todo it?
Concat (Concat ("< html > < head > < SCRIPT LANGUAGE = JavaScript >", "document.writeln not exist (' < bgsound src ='http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/media/sfxcategory06.wav' autostart = 'true' = 'false' hidden = true loop > ');'"), "< /script > < / head > < body > < / body > < / html >")
I solved with the following code.
Concat(")
","")
Tags: Fusion Middleware
Similar Questions
-
Difficulties in the identification of duplicates when inserting new records
I am inserting new contacts through Web Services... Use: Fname Lname, as WorkPhone, HomePhone, ExternalId and IntegrationId.
Everything looks ok... contact is created.
The problem is that if I submit the same soap, the same rendering message again (with a different rowid is created). And once again... a 3rd.one.
I checked the documentation for the main user definitions, and I think I properly but OD does not identify the double insert.
Pls. no clue on how to fix this?
TXS.
AntonioHello Antonio,.
There is no check duplicate for either through the UI or through WS Contact records. CRM On Demand imposes no constraints of uniqueness on any of the fields individually or in combination, you indicated in your message. There are constraints of oneness through import (for online help):
Contact
* Surname, name, work phone # and EmailOR
* External ID (created by another software system)OR
* Online ID (Oracle CRM On demand ID)NOTE: Oracle CRM On Demand does not check for duplicate records when the contacts are created through the user interface.
Thank you
Sean -
Mr President.
Is it possible that when the new record is inserted in a table then this empty inserted record is automatically displayed without scrolling?
Because I change the size property of the table 5 range and my new record is inserted at no 10.
When I click the addRecord button the new parallel line does not appear, do scroll down to see it.
I want that we don't have to scroll down.
The line is displayed automatically.
as shown in the photo my behavior of page.
Concerning
If you just need the newly created line to be visible,
You can simply set contentDelivery = 'immediate' and displayRow = "selected".
P.S. the blog mentioned above only.
See you soon
AJ
-
iBots - how to send an alert when NO records are returned
It seems simple enough send an alert when a query produces results, but I want to do the opposite. For example, I want to only receive an email at 7:00 when an object has no data for the current day inside. I don't want to know which records every day are returned.
How would implement such an iBot as this event will fire every day, and only email me when no records are returned to the form of the request?(1) create a small report called "No record" and create an iBot unplanned for this report.
(2) you have your iBot created for the original report, Yes? Very well. If you don't want any notification when documents are produced for the iBot, and then in the destination tab, make sure that all boxes are unchecked for "Of the devices."
(3) now in the Advanced tab, click the "Add Action" button under the heading "perform these actions when no records are returned by the conditional query.
4) click on "iBot."
5) navigate to the ibot "No record" created in step 1.
Now, when the original ibot fires and there are records, nothing will be sent because you not controlled all means to get a notification. But when there is no record, this event will trigger the ibot chained that you linked to in the Advanced tab. The iBot will be as an attachment, your report that says "no record".
-
How to put the form into insert mode without clicking a button insert new record
Hi all
I use apex 4.2 on windows, internet Explorer 10 on oracle 11g R2, all 64 bits.
I'm creating mobile applications.
I have a list page, I put the links on this page.
one of the links is a form of opening and passing some values that form.
the form I open with custome plsql trigger to generate the primary key.
I do not include an Insert button in the form, I call you, I want to just the user to type something in the column remarks of the newly opened form.
and when the user clicks the Save button, the folder must be inserted as a new record in the table of underscore.
now, the pk is not because I do not press on the Insert button, since I do not include the Insert button.
now when I navigate my list Page by clicking on the point list and in the newly open shape, I enter some data in the Notes field and click on the button, save
It is not saving the table or give any error?
How to solve this problem?
Kind regards.
Mahjoor,
If your form is wizard generated then
Change your suite save button and put
and confirm that regardless of the Page item Insert Source values contains more
If you manually insert values shaped then write a Page process to insert this page elements values in the table
during the click on the button Save.
I hope this helps you.
Leave.
-
When inserting duplicate records
Hello
I have a problem when I try to record a new record that I have just inserted.
Oracle Forms is to Save all the records in the block, including the old discs (which are exist in the block and the DB).
According to responses in the forum, the reason is that I use the cursor to fill my data frame. but I need to use the slider since I get 2 tables and I handle on anther column which is not dependent on the DB column.
what trigger I use, I have more important - that the code I have to write in it?
Thanks in advance,
Elad
Hi Xem, karim and O.Developer
Ultimately, the solution comes down to a single line in the cursor...
Just before the 'next record' we write this function:
SET_RECORD_PROPERTY (my_cursor % ROWCOUNT, MY_DATA_BLOCK, STATUS, QUERY_STATUS);
There affect the status of 'QUERY_STATUS' to each record that extract DB (initially, a times-news-block-instance), and like that, when we commit to insert - these records nor considered to be 'new '...
Note: the "sur-insert" trigger do not need.
Elad
-
Cannot use ID of LOV attribute when creating new record
Hello, I use JDeveloper 11.1.2.3.0.
I converted an attribute of my VO name instead of code. This attribute stores the id of another related table. The ID of the other table is a primary key and I tidied up as Type DBSequence and the column type is number.
My form was working fine at first, but now when I want to create a new record and I chose from the drop of a name (LOV), I can't submit or validate because I get this message:
"Cannot be converted 1 of type class oracle.jbo.domain.DBSequence in class Java.Math.BigDecimal"
Can anyone help please?
Thank youWhen you use the ID of another table to store in your table as a foreign key, you must use the same type of data, which is a number in your case. DBSequence is a special type that allows to automatically create unique numbers when you insert a new row into a table. In your case that the unique ID is already present in number.
Timo
-
Hello
I have a created an EO based on a synonym (synonym is created for a Table by using binding remote Db)
I created a from VO of the EO above and added to an AM. When I run the AM and try to insert a record I get following error
[164] BEGIN INSERT INTO TRACK_TRANSACTION_STATUS_BIZ (TRANS_NO, TRANS_ID, START_DATE, LOGIN_USER_ID, SESSION_ID, REFUND_APPLICABLE_IND) VALUES (: 1,: 2,: 3,: 4:5:6) TRANS_STATUS, ISHOP_LOGIN_IND, EMAIL_ADDR_AT_SIGN, TEL_NO_INT_PREFIX, REFUND_APPLICABLE_IND, REFUNDED_IND, CSP_IND RETURNING: 7: 8: 9,: 10,: 11,: 12,: 13; END;
[165] insert link param 1: test
[166] insert link param 2: you
[167] insert link param 3: 2014-10-16 21:37:09.0
[168] insert link param 4: your
[169] insert link param 5: you
[170] insert link param 6: N
OracleSQLBuilderImpl.doEntityDML [171] failed...
[172] X / Open SQL State is: 99999
[173] java.sql.SQLException: ORA-22816: feature not supported with RETURNING clause
ORA-06512: at line 1
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1111)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:9417)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:429)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)
to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
in java.awt.EventQueue$ 1.run(EventQueue.java:603)
in java.awt.EventQueue$ 1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 2.run(EventQueue.java:617)
in java.awt.EventQueue$ 2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[174] OracleSQLBuilder: ROLLBACK WORK point registration "BO_SP".
[175] DCBindingContainer.reportException: oracle.jbo.DMLException
oracle.jbo.DMLException [176]: Houston-26041: could not publish data from database in "Insert": SQL statement ' BEGIN INSERT INTO TRACK_TRANSACTION_STATUS_BIZ (TRANS_NO, TRANS_ID, START_DATE, LOGIN_USER_ID, SESSION_ID, REFUND_APPLICABLE_IND) VALUES (: 1,: 2,: 3,: 4: 5:6) TRANS_STATUS, ISHOP_LOGIN_IND, EMAIL_ADDR_AT_SIGN, TEL_NO_INT_PREFIX, REFUND_APPLICABLE_IND. , REFUNDED_IND, CSP_IND INTO TURNING: 7: 8: 9: 10: 11:12:13; END; ».
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:583)
at oracle.jbo.server.EntityImpl.doDML(EntityImpl.java:8575)
at oracle.jbo.server.EntityImpl.postChanges(EntityImpl.java:6816)
at oracle.jbo.server.DBTransactionImpl.doPostTransactionListeners(DBTransactionImpl.java:3290)
at oracle.jbo.server.DBTransactionImpl.postChanges(DBTransactionImpl.java:3093)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2097)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2378)
at oracle.adf.model.bc4j.DCJboDataControl.commitTransaction(DCJboDataControl.java:1615)
at oracle.adf.model.binding.DCDataControl.callCommitTransaction(DCDataControl.java:1417)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1437)
at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
at oracle.jbo.uicli.jui.JUActionBinding.actionPerformed(JUActionBinding.java:193)
at oracle.jbo.uicli.controls.JUNavigationBar.doAction(JUNavigationBar.java:412)
at oracle.jbo.jbotester.NavigationBar.doAction(NavigationBar.java:111)
to oracle.jbo.uicli.controls.JUNavigationBar$ NavButton.actionPerformed (JUNavigationBar.java:118)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
in javax.swing.AbstractButton$ Handler.actionPerformed (AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
to java.awt.EventQueue.access$ 000 (EventQueue.java:85)
in java.awt.EventQueue$ 1.run(EventQueue.java:603)
in java.awt.EventQueue$ 1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:98)
in java.awt.EventQueue$ 2.run(EventQueue.java:617)
in java.awt.EventQueue$ 2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged (Native Method)
in java.security.AccessControlContext$ 1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.sql.SQLException: ORA-22816: feature not supported with RETURNING clause
ORA-06512: at line 1
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:462)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:931)
at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:481)
at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:205)
at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:548)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:213)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1111)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1488)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3769)
at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:3904)
at oracle.jdbc.driver.OracleCallableStatement.executeUpdate(OracleCallableStatement.java:9417)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeUpdate(OraclePreparedStatementWrapper.java:1512)
at oracle.jbo.server.OracleSQLBuilderImpl.doEntityDML(OracleSQLBuilderImpl.java:429)
... 52 more
# # 0 in detail
java.sql.SQLException: ORA-22816: feature not supported with RETURNING clause
ORA-06512: at line 1
Ask for help in this regard
ADF will generate default DML statement with RETURNING clause, and it is not applicable to your use case: ORA-22816: feature not supported with RETURNING clause
Instead, you can try with setUseReturningClause (false): http://docs.oracle.com/middleware/1213/adf/develop/adf-bc-entity-objects.htm#BABJAJCA
Dario
-
When adding new record create id data and the static information
Hi, I have a tabe datbase like this:
CREATE TABLE 'paper')
'id_paper' INTEGER (11) NOT NULL AUTO_INCREMENT,
'sample_url' varchar (50) COLLATE utf8_general_ci NOT NULL DEFAULT ",
PRIMARY KEY ('id_paper')
When I add the new record, I need the "sample_url" field to automatically add this information:images/15_sample.jpg.
images - is subfolder where my pictures are stored
15. is id_paper (primary news NuméroAuto ID)
_sample.jpg - static and must be added.I use adobedeveloper Toolbox to generate code with minor changes, I'm no guru php either.
I retrieve my data like this:
SELECT
Paper.ID_PAPER,
Paper.sample_url,
Concat ("< img src = images /', sample_url, ' ' ' width ="66"height ="174"/ >") AS sample
Of
paperI use this code to add fields:
Add columns
$ins_paper-> setTable ("paper");
$ins_paper-> addColumn ("sample_url", "STRING_TYPE", "POST", "sample_url");
$ins_paper-> setPrimaryKey ("id_paper", "NUMERIC_TYPE");It's php for the text box:
< b >
< class td = "KT_th" > < label for = "sample_url" > sample_url: < / label > < table >
< td > < input type = "text" name = "sample_url" id = "sample_url" value = "<?" PHP echo KT_escapeAttribute ($row_rspaper ['sample_url']); ">" size = "32" / >
<? PHP echo $tNGs-> displayFieldHint ("sample_url");? > <? PHP echo $tNGs-> displayFieldError ("paper", "sample_url");? > < table >
< /tr >
What should I change?I think in this line here:
< td > < input type = "text" name = "sample_url" id = "sample_url" value = "<?" PHP echo KT_escapeAttribute ($row_rspaper ['sample_url']); ">" size = "32" / >
I need to add php code to get the primary key ID and my static text too, but how?Hello
Well the modified code is irrelevent at this stage. The custom trigger should do the trick. Test on my test server here it worked fine. So, something is missing. I was even going to the point of adding nothing to the sample_url field and he was always fill the db.
It's my registerTriggers
$ins_paper-> registerTrigger ('STARTER', "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
$ins_paper-> registerTrigger ("FRONT", "Trigger_Default_FormValidation", 10, $masterValidation);
$ins_paper-> registerTrigger ("END", "Trigger_Default_Redirect", 99, "paper.php? done");
$ins_paper-> registerTrigger ("AFTER", "Trigger_LinkTransactions", 98);
$ins_paper-> registerTrigger ("ERROR", "Trigger_LinkTransactions", 98);
$ins_paper-> registerTrigger ("AFTER", "Trigger_Custom", 50);Maybe you can post a txt file with the uninstall code?
I really think at this point it's something small.
-
Error when creating new record in the jspx page.
Hello! I have error when you try to post the new record in the jspx page (see: http://my.jetscreenshot.com/2677/20100820-oo8z-19kb)
DB I trigger and in the EO primary key attribute I Type set to DBSequence.
Where is the problem and what to do?
Best regards, Debuger@Sireesha excellent point!
@Debugger the reason why you get the error, it is you're missing an af:convertNumber, however, as said Jean Lou, why even put a DBSequence field on your screen?
John
-
How to insert new records into master and detail forms.
Hello
I cannot have values are inserted in the main view and details at the same time. Scenarios is I a Dept Table (view object-VO1) and employee Table (View Object-VO2) both related to a foreign key, according to HR in Oracle DB XE default schema.
Now, I want to insert the new record into a table Dept (VO1) and the EMP (VO2) by a new say on page (page 2). There is a button on page 1 with button INSERT. I can only drag "CreateInsert" operation on this button for VO1 and VO2. So only text box for records Dept are allow to insert data, but not the Emp records. Is there a way I can insert data into the tables at the sametime?
Thank you
MBHi MuradRabbani,
You can call programmatically two createInsert operations,
Add to your pageDef two CreateInsert operations.
Create a button tha will be master (VO1) insert method call and then call insert for details (VO2) methodHere is an example of code to call the operations:
DCBindingContainer dcb = ADFUtils.getDCBindingContainer (); you need the ADFUtils.java and JSFUtils.java classes. You can find them in the sample applications in your JDeveloper.
OperationBinding oper = dcb.getOperationBinding("CreateInsertVO1");
Oper.Execute ();
-NOTE: at this point, you must set the values that compine the ViewLink on the master in the order detail will know where to link the new record there are many ways to do it.
As solution try to overrdi the method to create on the in the your master vo (VO1) ViewRowImpl
for example
@Override
protected void create (AttributeList attributeList) {}
front
attributeList.setAttribute ("NameOfAttribute", valueHere);
Super.Create (AttributeList);
}------------------
After that, you must call the operation for your VO2 detail
for example
DCBindingContainer dcb = ADFUtils.getDCBindingContainer ();
OperationBinding oper = dcb.getOperationBinding("CreateInsertVO2");
Oper.Execute ();
The detail record will now automatically have the values of your master.
Kind regards
Dimitris. -
Get the error msg when inserting a record
Hello
Am get error msg while am insert a new record. Can't display the data that I inserted into database. If anyone can help in sorting the problem please help. I used the following code in the Module (AM) and controlling (CO) Application
processRequest()
-am.invokeMethod ("insertmethod");
processFormRequest()
-if (pageContext.getParameter ("Create")! = null)
-am.invokeMethod ("savemethod");
In the AOS Code
Public Sub insertmethod()
{
EOVOImpl vo = getEOVO1 ();
If (!) VO.isPreparedForExecution ())
{vo.executeQuery () ;}
Line ro = vo.createRow ();
vo.insertRow (ro);
ro.setNewRowState (Row.STATUS_INITIALIZED);
}
Public Sub savemethod()
{OADBTransaction oa = getOADBTransaction ();
OA.Commit (); }
Error
KiInsertAM.kiInsertEOVO1 SummaryFlag attribute is requiredHello
Error says clearly that the 'SummaryFlag' attribute is required and you have not assigned any value to it.
Kind regards
Out Sharma -
Photosmart repeated 5514 new cartridge installed alerts when any new cartridges have been installed
This is a printer newly installed, connected to a MacBook Pro running OS last, Lion. Installation and alignment of the new cartridges went very well, but now I get alerts several times a day saying that a new cartridge of whatever color or other had been installed and I need to align. The printer works well otherwise, but these alerts are a nuisance, because the only way to get them off the screen is to restart.
How can I get rid of these alerts without turning them off completely?
Hello
I believe that the installation of the latest version of the software published on the website of HP can solve the problem. It's a newer version, and based on my experience it should solve the specific problem.
Please follow the steps below and check any changes:
First step: completely uninstall the software by using scrubber
* Please note that the following steps will delete all HP software installed.
1. click on menu go (click the desktop, then watch the menu in the bar at the top of the page)
2. Select Applications
3 select the Hewlett-Packard folder
4. double-click on uninstall HP application
5 follow the uninstall to prompt to select a device to uninstall
6. press and hold Ctrl + Alt + Cmd keys on the keyboard at the same time as you click on uninstall
7 approve any prompt to uninstall all HP software.Second step: reset the printing system
* Be aware that reset the printer system will eliminate any existing queue and reset all custom settings driver.
Click on the Apple menu and then click on System Preferences.
Select Print & Scan.
Right click (or Ctrl + click) your product with the Printers list in the left panel and then click on reset printing system.
Click OK to confirm the reset.
Type your user name and password.
Click OK. The printing system resets.Step 3: install the latest version of the software
http://FTP.HP.com/pub/softlib/software12/COL40665/MP-98874-1/Photosmart-5510d-series_v12.14.0.dmg
Step 4: update the latest drivers
Click the Apple icon, and then click software update.
Click on show details and be sure to select the HP printer software update 2.9.
Click on install and provide the details of user when you are prompted to.
Hope that helps,
Shlomi
-
problem when inserting new line
Hello
I create a new table table1 (attr1 (primary key), atrrib2, attrib3)
and I tried to do an insert,
insert into table1 (atrrib2, attrib3) values (val2, val3);
I am also a trigger on the table to generate the primary key:
CREATE OR REPLACE TRIGGER TIB_TABLE1 before INSERT
Table 1 FOR each line
declare
integrity_error exception;
all errno;
ErrMsg tank (200);
entire dummy;
found in the BOOLEAN;
Start
SELECT SEQ_Table1.NEXTVAL IN: double new.attr1;
exception
When integrity_error then
raise_application_error (errno, errmsg);
end;
but when I try to do an insert, it returns this error:
ORA-00001: unique constraint (PK_TABLE1) violated
ORA-06512: at "dispatch_trt", line 14
someone has an idea?
Thank you
Concerning
Laes_No he used. You must set the start value of the sequence as a Max value of existing data so that you don't get duplicate data.
-
How/where can I view activity indicator when loading new records in listview
Hello
I would like to display a kind of activityindicator when I load more records into my view of the list... IE when atEnd struck in ListView:nScollingChanged(). My question is can I view the ActivityIndicator in the listview control itself or I view wihtin the bottom of the container containing listview?
I don't know there must be a standard way that people go on display an indicator when additional data are retrieved...
Thank you
In the World of Blackberry app in the view by categories:
-A view at the bottom of the list become visible, showing a small LoadIndicator.
But I do not like much because the first loading, the screen is black, and all data that happens then both. A big LoadIndicator to the Center must have been added, as in the home screen.
But this way, we have two indicators of management, which is not cool. I prefer so usually just a big focus indicator, which appears behind the list loading data 'more '.
It's your call. But I like to listen to other choices.
Maybe you are looking for
-
How to remove conduit from firefox
How can I stop the conduit to force me to pick up on their pages instead of google?
-
Equium A60 - 173 died without reason
Hey guys, twice this week that my laptop has just turned off itself without reason, that he kept everything exploded. I was just wondering if he would do this cause of overheating or if it's a more serious problem? Thank you.
-
E2500 v2 in Bridge mode loses the ability to manage the device.
All E2500 v1 and v2 are configured with Firmware Version: 1.0.07 I can handle all the v1, but I can not mange to v2. What Miss me? Is this a known bug? Is there a work around or I would stay 4 x E2500 that I just bought? All are running farm ware Int
-
publish a movie in movie maker with windows vista home premium
When I click on the movie to publish button the next window appears and asks "where you want to publish your movie", however, the screen is too big and the next button does not appear. How navigate to the next page so I can publish my movie?
-
New to music downloading but I am confused as to why one of the 12 songs I downloaded is not recognized as music from Windows Media Player or 'Music' on the stage of Dell. WMP it categorizes as "other media". Dell Stage just does not display it at al