Problem with Subform Instances at Form Opening

Hi All,
I have a fairly large complex form that has several subforms that I want to have zero instances the first time it is opened. Most of those subforms that I set the initial instances = 0 on the Object pallet do exactly that--they behave! However, I have one subform in particular that no matter what I do, it always starts with an instance. I really don't want to work-around this, as I have done in the past when this happens. I want to solve it.
I have tried
Unwrapping and the re-wrapping in a subform
Edited the <occur/> element in the XML for the subform.
repeatedly trying different combinations of min count, max and initial count values in the Object pallet--the initial count checkbox always reverts to unchecked and the count to blank--I actually see it un-checking itself and removing the "0", right after I return to Design View from the Preview. This even happens after I have manually set the values in the XML, double-checked the Object pallet to see that my edits are reflected there (they are) and then... upon returning from Preview, it reverts and my <occur/> edit vanishes.
I have searched for some offending script that might be causing this--but there is nothing that fires automatically tied to the instances of the subform. There are initialize, formReady and calculate scripts on objects in the subform, but nothing tied directly related to the instances of the subfom?
I have encountered this sort of thing before and used the "presence" property as a work-around. I will be exporting the XML data out of this form and I don't want a bunch of empty elements to deal with.
Any suggestions (besides "have you considered being a gardener?") are most welcome. I hope someone knows of a solution--I have spent way too much time on this.
Cheers,
Stephen

Hi All,
I have a fairly large complex form that has several subforms that I want to have zero instances the first time it is opened. Most of those subforms that I set the initial instances = 0 on the Object pallet do exactly that--they behave! However, I have one subform in particular that no matter what I do, it always starts with an instance. I really don't want to work-around this, as I have done in the past when this happens. I want to solve it.
I have tried
Unwrapping and the re-wrapping in a subform
Edited the <occur/> element in the XML for the subform.
repeatedly trying different combinations of min count, max and initial count values in the Object pallet--the initial count checkbox always reverts to unchecked and the count to blank--I actually see it un-checking itself and removing the "0", right after I return to Design View from the Preview. This even happens after I have manually set the values in the XML, double-checked the Object pallet to see that my edits are reflected there (they are) and then... upon returning from Preview, it reverts and my <occur/> edit vanishes.
I have searched for some offending script that might be causing this--but there is nothing that fires automatically tied to the instances of the subform. There are initialize, formReady and calculate scripts on objects in the subform, but nothing tied directly related to the instances of the subfom?
I have encountered this sort of thing before and used the "presence" property as a work-around. I will be exporting the XML data out of this form and I don't want a bunch of empty elements to deal with.
Any suggestions (besides "have you considered being a gardener?") are most welcome. I hope someone knows of a solution--I have spent way too much time on this.
Cheers,
Stephen

Similar Messages

  • Problem with Subform Instances at First Opening

    Hi All,
    I have a large, complex form that has several subforms that I need to have zero instances the first time the form is opened. Most of those subforms that I set the initial instances = 0 on the Object pallet do exactly that--they behave and open with zero instances! However, I have one subform that always starts with an instance (1 instance instead of zero instances). I really don't want to work-around this, as I have done in the past when this has heppened. I want to solve it.
    I have tried
    Unwrapping the subform and the re-wrapping in a new subform
    Manually editing the <occur/> element in the XML for the subform.
    repeatedly trying different things in the Object pallet--the initial count checkbox always reverts to unchecked and the count to blank--I actually see it un-checking itself and removing the "0", right after I return to Design View from the Preview. This even happens after I have manually set the values in the XML. I double-check the Object pallet to see that my edits are reflected there (they are) and then... upon returning from Preview, it reverts and my <occur/> edit vanishes.
    I have looked for scripts that might be causing this--without any luck.
    I have encountered this sort of thing before and finally gave up and used the "presence" property as a work-around. The subforms don't always get utilized by the user and they should only exist when the user needs them. I will be exporting the XML data out of this form and exporting a lot of empty elements just presents another problem I'd like to avoid.
    Any suggestions are most welcome. I hope someone knows of a solution--I have spent way too much time on this.
    Cheers,
    Stephen

    Hi,
    Thanks kjaeggin and Bruce,
    I have the checkBoxes unchecked and the occur element is <occur min="0" max="-1"/> .
    Actually, this is the way the checkBoxes and XML have been all along and the results are what what I have previously described.
    One of my attempts to fix this was manually adding the "initial" attribute to the <occur/> element (by directly editing since it won't stick in the Object pallet)
         <occur min="0" max="-1" initial="0"/> that the edit reverts to <occur min="0" max="-1"/>.
    Also I have tried
         <occur min="0" max="1" initial="0"/> this is what I really want (max="1") and it reverts to <occur min="0" max="-1"/> as well
    And
         <occur min="0" max="1"/> reverts to <occur min="0" max="-1"/>
    The documentation for scripting the "initial" property of an object says:
         "This property should be used only for printed and static forms."
    This doesn't make sense to me because static forms don't have repeating containers, so why would you need/use it?
    Finally, to rule out that there is a script or property within mySubform causing this, I have set the presence property for all the subforms contained within mySubform to Inactive (Exclude from form processing) leaving only a single static object to be rendered if there is an instance of mySubform. (Bruce, I am not sure you have this on LCD 9. It is in ADEP Designer 10 and is supported by the target version). The result is the same--I see the first static object GrandParent.Parent.mySubform.staticObject but when I add a GrandParent I see GrandParent.Parent.nothingElse -- the added GrandParent doesn't have a mySubform. So it only misbehaves when the form is first opened, not when a GrandParent is added.
    I have removed global bindings from the few objects in mySubform that have them--no change. I have commented out the 1 script in mySubform that runs at form:ready--no change. I am going to look at scripts outside mySubform that get values from objects within mySubform, to see if somehow that is where the answer is. I would think that scripts would impact new instances of GrandParent, as well. I've looked at all other form:ready scripts and none interacts with or get values from mySubform.
    I think I may just have to settle for a work-around. Sure would like to know whats going on here, though.
    Thanks,
    Stephen

  • Problems with filling out PDF forms

    We have problems with filling out PDF-forms. Aotomatic filling of forms is deactivated and we use the Adobe Reader 11.0.05. The problem is: After some time the inputs are wrong put down in the form. For example: I write 120 and in the form stands 125. We have already extinguished the cache. Thanks for your help in advance.

    You will get that first message when the document has been changed in a way that invalidates the internal digital signature that's applied when a document is Reader-enabled. Certain changes are allowed (e.g., filling fields, commenting, signing) and will not invalidate the signature, but others are not. The exact cause of the change is often hard to track down, but it can be due to font problems, some type of file corruption, or something that Acrobat/Reader attempts to correct when the file is opened/saved. You will also get the message if the users system time is not correct and is currently set to some time before the document was Reader-enabled. It seems best to use the most recent version of Acrobat to enabled the documents and recent versions of Reader to work with them.
    It problem is probably not related to the user using anything in the Sign pane.

  • Problem with subform set

    Hi all ,
    I am facing a problem with subform set. When i use two subform sets with same set of conditions in a form, only the first subform set works while the second one does nothing. Did any of you faced the same problem ? If so Please let me know the solution you came up with. Thanks.
    SrPrabhu

    Hi scott,
    The problem is with subform set and not subform. In subform set, we can give conditions to make only one subform visible at a time that satisfies the condition. First create a subform set having more than one subform. Now apply the conditions to that subform set. Check if it works. I m sure it wil work. Now just make a duplicate copy of the same subform set. Place it in the same form so that now two subform sets are available. Now preview the form. U wil fine only one subform set working and the other one doesnt.
    We can use any number of subform set within a form. If different conditions are applied to each subform set , it works fine.
    i wonder now wat wud u do in case if we are in need of two subformset having the same condition in a form ?
    Thanks,
    Sr Prabhu

  • Problem with internet. When i open System preferences, Network, message drops down: 'your network settings have been changed by another application'. I click OK, but it drops a message again and again, preventing me to do anything about the setting.

    Problem with internet. When i open System preferences, Network, message drops down: 'your network settings have been changed by another application'. I click OK, but it dropps the message again and again, preventing me to do anything about the setting.

    A Fix for "Your network preferences have been changed by another application" Error 
    In the Library/Preferences/SystemConfiguration/ folder delete the following:
    com.apple.airport.preferences.plist
    NetworkInterfaces.plist
    preferences.plist
    com.apple.nat.plist
    You will have to re-configure all your network settings since deleting.
    (10.4.10)
    Use Software Update to update your OS to last version of Tiger.  Install all the other updates that goes along w/it.

  • TS4040 I assumed this would help my problem with not being able to open apps like Preview or TextEdit since I installed Mountain Lion. Instead, first I'm prompted to enter a password, then once I do that, I get an error box telling me the Library needs re

    I assumed this would help my problem with not being able to open apps like Preview or TextEdit since I installed Mountain Lion. Instead, first I'm prompted to enter a password, then once I do that, I get an error box telling me the Library needs repairing. So I click on Repair, and once again I'm prompted for a password, which I enter, then the same error box opens, and so it goes. Can anyone help me with this problem? I'd greatly appreciate it.
    Thor

    Back up all data. Don't continue unless you're sure you can restore from a backup, even if you're unable to log in.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -Rh $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    Step 1 should give you usable permissions in your home folder. This step will restore special attributes set by OS X on some user folders to protect them from unintended deletion or renaming. You can skip this step if you don't consider that protection to be necessary, and if everything is working as expected after step 1.
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    res
    Press the tab key. The partial command you typed will automatically be completed to this:
    resetpassword
    Press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • Problem with PJC (Print Dialog) - Forms 10g

    I have a problem with my PJC for Forms 10g r2. When I try to connect and run my PJC (raise Print dialog and put printer name in some text item) I get following message:
    oracle.forms.net.ConnectionException: Forms session <2> aborted: unable to communicate with runtime process.
         at oracle.forms.net.ConnectionException.createConnectionException(Unknown Source)
         at oracle.forms.net.HTTPNStream.getResponse(Unknown Source)
         at oracle.forms.net.HTTPNStream.doFlush(Unknown Source)
         at oracle.forms.net.HTTPNStream.flush(Unknown Source)
         at java.io.DataOutputStream.flush(Unknown Source)
         at oracle.forms.net.StreamMessageWriter.run(Unknown Source)
    When I started application, on Java console I saw this message, so I think the server configuration is fine (I change everything I need in Default.env and FormsWeb.cfg files):
    Loading http://devsrv/forms/java/jESPrintDialog.jar from JAR cache
    What can I change with server configuration or deploying my project to this PJC can work normaly?
    Thanks....

    Hi and thanks!
    I resolve one part of my problem. Tt was about diferent compiler (in JDeveloper 10.1.3 compiler is 1.5 and in my oc4j server JRE is earlier version, so it can`t work normaly).
    I comiled PJC in 1.4 version of compiler and now I can start and run my PJC.
    But, there is another problem:
    this is my part of java code (note: everything work fine except one line when I want to get printer name from select printer dialog):
    try {
    boolean b;
    PrinterJob job = PrinterJob.getPrinterJob();
    b = job.printDialog();
    try {
    return job.getPrintService().getName();
    catch (Exception e) {
    System.out.println("Error: "+e.getMessage());
    return "My error:";
    } catch (Exception e) {
    System.out.println("ERROR: " + e.getMessage());
    return "Problem with PJC [esoft]";
    So, when pjc want to get back printer name
    return job.getPrintService().getName();
    i get following error (on Java console):
    java.lang.NoSuchMethodError
         at happypjc.PDialog.getProperty(PDialog.java:50)
         at oracle.forms.handler.UICommon.onGet(Unknown Source)
         at oracle.forms.engine.Runform.onGetHandler(Unknown Source)
         at oracle.forms.engine.Runform.processMessage(Unknown Source)
         at oracle.forms.engine.Runform.processSet(Unknown Source)
         at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
         at oracle.forms.engine.Runform.onMessage(Unknown Source)
         at oracle.forms.engine.Runform.processEventEnd(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
         at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Can you give me some hint about it. Everything is OK now, except this (very important) peace of code!
    best regards
    mret

  • HT4623 I downloaded the ios 6 on my iphone. I'm having problems with applications. When I open any application, in seconds then closes and returns to the home screen. What could be happening?

    I downloaded the ios 6 on my iphone. I'm having problems with applications. When I open any application, in seconds then closes and returns to the home screen. What could be happening?

    Did you change any AppleID accounts or anything?  I've seen this happen when changing accounts or certain restore situations.
    If you are using iCloud you should be able to reset your phone to Factory Defaults and restore from iCloud, but it always makes me nervous.

  • Hi, I have a Macbook Air 13 "and I have a problem with it starting when I open it and the logo appears below a cerculer that spins and nothing else. Still not opening up

    Hi, I have a Macbook Air 13 "and I have a problem with it starting when I open it and the logo appears below a cerculer that spins and nothing else. Still not opening up

    Hi aysha13
    Do check the article provided by BGreg. If it's not a h/w issue, you will be able to resolve it.
    Good Karma.
    Holydevil.

  • Problem: Adding subform instances

    Hello,
    I'm trying to add some instances of a subform.
    Therefor I added the Instance Control Button to my form.
    I customized it to my form and tested it.
    But when I click the Button, nothing happened. After 5 times, a message opened, that I have reached the limit of instances. But no instance is visible.
    What could be the problem?
    Alternative: Can I programmatically change the minimum count of repeats of the subform? It's possible that I could calculate, how much lines I need. So that is the second chance.

    I solved my problem.
    The reason that instances that were added did not show is because there were positioned subforms below where I was adding instances and they covered up new instances because they did not move.
    I solved the problem by re-organizing the form.
    1. All objects were put in a positioned sub-form. Some of them were in a subform by themselves.
    2. Each positioned subform was wrapped in a flowed subform with flow direction Western Text. The flow direction probably doesn't matter here because the flowed subform has only one object in it.
    3. The page-level subform was made flowed, direction western text.
    4. The form must be saved as a dynamic form.
    When I added instances, everything moved down correctly.
    You can probably not wrap everything in positioned subforms first, but you have to account for LiveCycle left-justifying everything in flowed subforms by putting blank text boxes to act as spacers to keep fields in place.

  • Problem with Grouping in Interactive Forms by Adobe

    Hey Guys!
    I have a problem using the group function for a table in Interactive Forms by Adobe and I have not found a solution yet, so I hope anybody can help me.
    I've created the table in the LiveCycle Designer using subforms and I want to use the group function for a specific field of my table. Now the problem is that the entries of the table are not shown grouped for the same values of my specific field but there is still one row for each entry. How do I have to edit binding, flow etc. for the subforms of a group?
    I hope anybody can help me or provide me a better solution.
    Thanks in advance.
    Martin

    Hi Otto,
    thanks for your reply.
    I'm sorry the 'grouping function' I've announced is called 'control levels' in English I can set this function for a field of a table in the context of the form in the transaction SFP in SAP. Then in the hierarchy the field is displayed above the group of the other fields of the table. Usually in the form this should lead to a 'grouping' for the specific field so if you have identical values there is just one entry in the form and all the rows that have this value should appear behind. My problem is that there is still one entry in the form for every row.
    Right now I'm using the solution you mentioned with the nested tables but i have some problems with the layout and page breaks (pagination).
    Thanks for your help.
    Martin

  • Problems with Apple Preview filled forms and compatibility with Windows?

    Anyone else having problems with Apple Preview filled out forms and compatibility with Microsoft Windows after Lion?
    I've had it happen recently with two different people, where the data I had entered on a fillable PDF form could not be seen by Microsoft Windows, but I saw my data just fine.
    I don't know what version of Adobe Acrobat they were running.
    Thanks,
    kt

    You will get that first message when the document has been changed in a way that invalidates the internal digital signature that's applied when a document is Reader-enabled. Certain changes are allowed (e.g., filling fields, commenting, signing) and will not invalidate the signature, but others are not. The exact cause of the change is often hard to track down, but it can be due to font problems, some type of file corruption, or something that Acrobat/Reader attempts to correct when the file is opened/saved. You will also get the message if the users system time is not correct and is currently set to some time before the document was Reader-enabled. It seems best to use the most recent version of Acrobat to enabled the documents and recent versions of Reader to work with them.
    It problem is probably not related to the user using anything in the Sign pane.

  • Problem with ESB instances:

    Hi Gurus,
    I am facing a problem with ESB Console, wherein it doesn't show esb instances.
    When I checked the log file, I've got the following error:
         Activity monitor manager received an unexpected exception while processing the activity messages. Due to the error "[POL-5205] column SEQ not found", the activity message could not be stored.
    I am using 10.1.3.3.1 version of SOA Suite. Applied MLR# 6869621 on top of 10.1.3.3.0.
    The detailed message is as follows:
    <MESSAGE>
    <HEADER>
    <TSTZ_ORIGINATING>2008-05-06T16:06:56.859+05:30</TSTZ_ORIGINATING>
    <COMPONENT_ID>tip</COMPONENT_ID>
    <MSG_TYPE TYPE="ERROR"></MSG_TYPE>
    <MSG_LEVEL>1</MSG_LEVEL>
    <HOST_ID>ashdesai</HOST_ID>
    <HOST_NWADDR>9.182.199.114</HOST_NWADDR>
    <MODULE_ID>esb.server.dispatch.agent</MODULE_ID>
    <THREAD_ID>19</THREAD_ID>
    <USER_ID>Administrator</USER_ID>
    </HEADER>
    <CORRELATION_DATA>
    <EXEC_CONTEXT_ID><UNIQUE_ID>9.182.199.114:90002:1210062110000:290</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
    </CORRELATION_DATA>
    <PAYLOAD>
    <MSG_TEXT>Failed to process deferred message</MSG_TEXT>
    <SUPPL_DETAIL><![CDATA[oracle.tip.esb.server.common.exceptions.BusinessEventRejectionException: Error occured while handling monitor message dequeued from monitor topic.  Message text is "<activityMessages><activityMessage order='1' type='0'><flowId>1lMVVkCFCZpxR7sy6ulOtw==</flowId><subFlowId>1210070214437</subFlowId><source>C7797ED01B4311DDBF5435914A58A53E</source><sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN</sourceQName><timestamp>1210070214468</timestamp><operationGUID>C77BEFD01B4311DDBF5435914A58A53E</operationGUID><operationQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN_RS.Read</operationQName><source>C7797ED01B4311DDBF5435914A58A53E</source><sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN</sourceQName><timestamp>1210070214468</timestamp></activityMessage><activityMessage order='2' type='8'><flowId>1lMVVkCFCZpxR7sy6ulOtw==</flowId><subFlowId>1210070214437</subFlowId><source>C77BEFD01B4311DDBF5435914A58A53E</source><sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN_RS.Read</sourceQName><timestamp>1210070214468</timestamp><operationGUID>15D3A1A11B4411DDBF5435914A58A53E</operationGUID><operationQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestFileWriteOUT.Write</operationQName><routingRuleOutputStatus>4</routingRuleOutputStatus><source>C77BEFD01B4311DDBF5435914A58A53E</source><sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN_RS.Read</sourceQName><timestamp>1210070214468</timestamp></activityMessage><activityMessage order='2' type='15'><flowId>1lMVVkCFCZpxR7sy6ulOtw==</flowId><subFlowId>1210070214437</subFlowId><timestamp>1210070214468</timestamp><timestamp>1210070214468</timestamp></activityMessage></activityMessages>"
         at oracle.tip.esb.monitor.manager.ActivityMessageReceiver.handleMessage(ActivityMessageReceiver.java:96)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.process(ESBWork.java:180)
         at oracle.tip.esb.server.dispatch.agent.ESBWork.run(ESBWork.java:134)
         at oracle.j2ee.connector.work.WorkWrapper.runTargetWork(WorkWrapper.java:242)
         at oracle.j2ee.connector.work.WorkWrapper.doWork(WorkWrapper.java:215)
         at oracle.j2ee.connector.work.WorkWrapper.run(WorkWrapper.java:190)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:814)
         at java.lang.Thread.run(Thread.java:595)
         Caused by: oracle.tip.esb.monitor.MonitorException: Due to the error "[POL-5205] column SEQ not found", the activity message could not be stored.
         <activityMessage order="1" type="0">
         <flowId>1lMVVkCFCZpxR7sy6ulOtw==</flowId>
         <subFlowId>1210070214437</subFlowId>
         <source>C7797ED01B4311DDBF5435914A58A53E</source>
         <sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN</sourceQName>
         <timestamp>1210070214468</timestamp>
         <operationGUID>C77BEFD01B4311DDBF5435914A58A53E</operationGUID>
         <operationQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN_RS.Read</operationQName>
         <source>C7797ED01B4311DDBF5435914A58A53E</source>
         <sourceQName>TestESBSampleRoutingSys.TestESBSampleRoutingSG.TestSampleReadIN</sourceQName>
         <timestamp>1210070214468</timestamp>
         </activityMessage>
         at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.persistMessage(DBActivityMessageStore.java:340)
         at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.store(DBActivityMessageStore.java:128)
         at oracle.tip.esb.monitor.manager.ActivityMessageReceiver.handleMessage(ActivityMessageReceiver.java:83)
         ... 7 more
         Caused by: java.sql.SQLException: [POL-5205] column SEQ not found
              at oracle.lite.poljdbc.LiteThinJDBCConnection.thinSQLError(Unknown Source)
              at oracle.lite.poljdbc.LiteThinJDBCStatement.thinSqlPrepare(Unknown Source)
              at oracle.lite.poljdbc.LiteThinJDBCPreparedStatement.prepare(Unknown Source)
              at oracle.lite.poljdbc.POLJDBCPreparedStatement.<init>(Unknown Source)
              at oracle.lite.poljdbc.POLJDBCPreparedStatement.<init>(Unknown Source)
              at oracle.lite.poljdbc.OraclePreparedStatement.<init>(Unknown Source)
              at oracle.lite.poljdbc.POLJDBCConnection.prepareStatement(Unknown Source)
              at oracle_lite_poljdbc_OracleConnection_Proxy.prepareStatement()
              at oracle.tip.esb.monitor.manager.database.DBActivityMessageStore.persistMessage(DBActivityMessageStore.java:185)
              ... 9 more
    ]]></SUPPL_DETAIL>
    </PAYLOAD>
    </MESSAGE>
    Kindly let me know what is missing here.
    Thanks in advance for any help you can provide.
    Ashish.

    Hi Sebastien V,
    I am using the below function to open popUp ...I am calling this function from another mxml file...
    private function comparePlans(result:*):void
        var planCompPopUp:PlanComparisonPopUp = new PlanComparisonPopUp();
        //PopUpManager.addPopUp(planCompPopUp, Application.application as DisplayObject, true);
        planCompPopUp = PlanComparisonPopUp(PopUpManager.createPopUp(Application.application as DisplayObject,PlanComparisonPopUp,true));
        planCompPopUp.dataProvider = new BAllBenefits().getBenefitTypeData(result as BAllBenefits);
        PopUpManager.centerPopUp(planCompPopUp);
    And my component file which is being opened in PopUp is as below:
    PlanComparisonPopUp.mxml (My Main component....)
    <mx:VBox>
         <comp:Component1  />
         <comp:Component2  />
         <comp:Component3  />
         <comp:Component4  />
         <comp:Component5  />
         <comp:Component6  />
         <comp:Component7  />
    </mx:VBox>
    So I am talking about the dataproviders and ArrayCollection in my components Component1 , Component2, Component3 etc..; So when I try to debug after closing the PopUp and opening it again at the first instance the values should be null since these have not yet been instantiated...but it is showing me the previous value pouplated when I opened the PopUp first time...
    I am having the event listeners from withing the components  Component1 , Component2, Component3 etc..;  but how do I remove them when I am trying to close the PopUp which is opened from other file...???
    Also I scoped my planCompPopUp instance local to the function so there should be no question of setting to null as you mentioned in your last point...
    Although I had set it to null when I first decalred the instance as global but no use...the problem still persists...
    Thanks & Regards,
    Bhaske Chari

  • Problem with freeze on Document forms

    Hi all,
    i've a problem with freeze on document's forms (like invoice) when i make changes on matrix.
    For example i've an addon that calculate discounts for items and update the information in the matrix. But when I update the info in the Matrix I see the cursor run across the matrix.
    This create two problems. The first one is the orrible aspect that the operation assume, the second is that sometimes some cells turn to black and remain ofthis color.
    Can someone help me?
    Here I post a piece of my code:
        Dim oForm As SAPbouiCOM.Form = SBOApplication.Forms.Item(FormUID)
        Dim oMatrix As SAPbouiCOM.Matrix = oForm.Items.Item("38").Specific
        Dim oRefLine As Integer = 0
        oForm.Freeze(True)
        Dim Cnt As Integer = 1
        Try
          While Cnt <= oMatrix.RowCount
            If oMatrix.Columns.Item("U_RefLineId").Cells.Item(Cnt).Specific.Value <> "" Then
              Dim apDouble As Double = oMatrix.Columns.Item("15").Cells.Item(Cnt).Specific.Value.ToString.Replace(".", ",")
              If apDouble <> 100 Then
                SetMatrixValue(oMatrix, "U_RefLineId", Cnt, "")
                SetMatrixValue(oMatrix, "11", Cnt, oMatrix.Columns.Item("U_OrigQtyMN").Cells.Item(Cnt).Specific.Value)
                SetMatrixValue(oMatrix, "U_OrigQtyMN", Cnt, 0)
                Cnt = Cnt + 1
              Else
                oMatrix.Columns.Item("15").Cells.Item(Cnt).Click()
                SBOApplication.ActivateMenuItem("1293")
              End If
            Else
              SetMatrixValue(oMatrix, "15", Cnt, 0)
              Cnt = Cnt + 1
            End If
          End While
        Catch ex As Exception
          SBOApplication.StatusBar.SetText("Error: " & ex.Message, SAPbouiCOM.BoMessageTime.bmt_Short, SAPbouiCOM.BoStatusBarMessageType.smt_Error)
        End Try
        oForm.Freeze(False)

    Hi Daniele,
    I use a little different approach because the Freeze on a Form is like parenthesis on formula. You must be sure that the Freeze(true) are balanced by a Freeze(false).
    So my pattern is:
    Try
        oForm.Freeze(True)
        ' the operation you need to do with the freezed form
    Catch Ex as Exception
        ' Menage the errors here
    Finally
        oForm.Freeze(False)
    End Try
    The Finally statement is executed in both case when an Exception is raised or when the code is right executed.
    But I think this is not the problem in your code.
    If you still having problem, probably we need to examine your sub-routine "SetMatrixValue".
    It is also important to know your SAP Business One version because in the past there was a version with a problem in the refresh of matrix.
    I use SAP Business One 2007A SP01 PL06 HF1 and I do not have problem with the freezing.
    Hope it helps.
    Carmine

  • Problem with custom Reports and forms in R12

    Hi All,
    we are upgrading from 1103 to R12. In R12 we are facing a peculiar problem with Reports. All seeded reports are running perfectly. But no data is coming while running the custom reports. The operating unit field in the SRS window is getting populated automatically while running the seeded reports but getting greyed off while running custom reports.
    We are facing the same problem with forms even, data is not getting retrieved in custom forms. Can any one suggest wether there is any profile option which is being missed out by us. ..
    Thank you,
    Regards
    Raj

    Add SRW.USER_EXIT('FND SRWINIT') in the afterPForm trigger.
    This will set the org context for reports.
    ~Sukalyan Ghatak

Maybe you are looking for