The UID of the first layer of a document is always the same?

I am trying to find a reliable way to identify the default layer in a document; that is, the layer has when the document is created. Experience gives that UID of the layer is always the same for each document:

169 for CS3 on PC

170 to CS3 on Mac

182 for CS4, the two platforms


Anyone know if this correct?

Do not make any assumptions about the UID in a document or other data bases.

Think of a document based on a template. The document template could be created with a previous version of InDesign.

What do you offer if you are working with a document on the PC that was created on Mac?

Markus

Tags: InDesign

Similar Questions

  • Cannot isolate the first layer without the second layer: Ai CS4

    I add the second layer and draw randomly of the paths, I then use curvilinear tool selection but it always activates the first layer, even if it is not highlighted.

    The only method that seems to work is if I turn off the first complete layer using "eye" icon, which is very time consuming.

    I just found that CS5 will be released April 12: he will address the issues that I am experiancing and qualify free update (I bought it a month ago, but have not yet registered)?

    function() {return A.apply (null, [this] .concat ($A (arguments)))}

    The only method that seems to work is if I turn off the first complete layer using "eye" icon, which is very time consuming.

    Do not hide the layer; You can only lock it. Alternatively, you can select the Mode of insulation enter the context menu of the layers.

    But your feature request is legitimate. Other programs provide a framework to activate only the active layer.

    JET

  • Economy twice during an action as the same file extension possible with Photoshop without overwriting the first backup?

    Hello, first time submit a question to the Adobe communities.

    I would like to be able to record twice during an action with the same file extension; How is that possible? I tried a number of methods such as: save a JPEG as a copy, renaming jpeg in jpg format, adding a line to underscore the SMALL Word after it, etc., and it keeps overwriting my first recording. I'm still not recording "in copy" feature when saving a jpeg file. Sometimes it does, sometimes it doesn't. I think that if this box is not grayed out on my second record I would be able to add the copy at the end of my file name that would create my second jpeg.

    I need this is because when I save the little and the big jpeg for our company store, I would just create an action that saves as two different sizes and then closes the file to move to another. The site on what I download is Four51 and they take a reorganization of the files, so a single method, I tried was to save the second time into action as a png but it makes it transparent and I need a white Uni.

    Tried to go into the options and disabling transparency PNG but that only works with quick export that will not register within an action (even abroad). It is a dilemma for some time, and my only way to work around it is to create the action doesn't follow: resize to 300 px wide > save as Jpeg > end of action. I play action and hit the command option I have change my size to 100 px wide for the thumbnail, then click on control shift s to record success and right arrow to add details and then save, order q, tab, space.

    If it makes no sense to anyone, I would be grateful for your advice. The only thing I can think that I have not tried is to change my background from transparent to white and then create this action: command option I have 300 px wide > order s (jpeg) > command option I have 100 px wide > command shift s (png) > w command

    I guess the only way to change your default background to white instead of transparent is to create a new document and put in place without transparent background then go further, my new documents will have white backgrounds. Do not see under my preferences?

    Thank you

    Something like the following action could work.

    A couple of notes:

    Image adjustment is under file > Automate > Fit Image and resizes the image to fit the specified size.

    For example, if you enter 300 in the two fields, photoshop resizes the longer side at 300 and the other dimension including the size proportionally as when you use Image > Image size to maintain Proportions checked.

    Photoshop uses the copy to JPEG files if the image of your savings has one or more layers or is not 8-bit/channel, because do not support JPEGs of layers or say 16 bits/channel.

    If you have only a background layer, then photoshop uses a copy when saving a jpeg file

    Thus, during the recording of the action you probably want that one-step flatten so save the first does not include copy in the name.

    To get the action record adding copy to name, open any image, add a layer, and then record save as jpeg for copy adds the jpeg save as step

    Created the snapshot of the original image open, so the second resizing using the original instead of resizing the image already resized.

  • First New - VM: an element with the same key has already been added.


    I get a strange error that I have seen a few other posts, but with no resolution (or at least one that I can find).  When you try to create a new virtual machine using the cmdlet New - VM, I get the error "an item with the same key has already been added."

    Now, here's the key that I've not seen many others to mention.  This ONLY happens on the first attempt for each new connection with Connect-VIServer.  I can create as many of the same machines that I want after that first mistake with the same settings (new name of course).  If I disconnect and reconnect again, the error appears for the first time.

    Normally with PowerShell, I have just to catch the error and be on my way.  However, in this case I use the parameter - RunAsync, so that I can capture the task that is returned in a variable.  From there, I use Wait-task until the virtual machine is complete before moving on with the script.  Everything works fine when the error occurs, but when it happens that the object of the task is not returned and the rest of her vomit script errors.

    I am running the latest version of PowerCLI and I tried this on PowerShell v2.0 and v3.0 and get the same results.  I tried different models and guests without success.  I also tried this with and without assistance - AllLinked on Connect-VIServer-bound mode.  I should mention that I am cloning model, by specifying a spec customization and host cluster data store.  Again, the only common denominator repeatable here is that this ONLY happens on the first attempt to use New - VM session to vCenter.

    Any ideas or suggestions?

    If this is useful at all, here are the details of the output on the exception:

    PS C:\ > $Error [0]
    New - VM: 05/06/2013-09:49:22 new-VM an element with the same key has already been added.
    On line: 1 char: 11
    + $VMTask = new-VM-name "NEWTEST20" - model 'Template' - OS...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo: NotSpecified: (:)) [new-VM], VimException)
    + FullyQualifiedErrorId: Core_BaseCmdlet_UnknownError, VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM

    PS C:\ > $Error [0]. Exception | Select *.


    ErrorId: Core_BaseCmdlet_UnknownError
    ErrorCategory: NotSpecified
    TargetObject:
    RecommendedAction:
    SessionId:
    Login ID: /VIServer=USERNAME@SERVER:443/
    Severity: error
    Message: 05/06/2013-09:49:22 new-VM an element with the same key has already been added.
    Data: {ParameterValues}
    InnerException: System.ArgumentException: an item with the same key has already been added.
    to System.Collections.Generic.Dictionary'2.Insert (TKey key, TValue value, Boolean add)
    at VMware.VimAutomation.ViCore.Impl.V1.Service.StaticDataServiceImpl.PopulateTaskDescriptionDict
    ionary()
    at VMware.VimAutomation.ViCore.Impl.V1.Service.StaticDataServiceImpl.GetTaskDescription (String
    taskDescriptionId)
    at VMware.VimAutomation.ViCore.Impl.V1.Task.TaskImpl.Create (ManagedObjectReference moRef,
    Customer VimClient, accessories 2 dictionary, extensionData object)
    to VMware.VimAutomation.ViCore.Impl.V1.Task.ViCoreTaskCoreServiceProviderImpl. < GetTaskListForCli
    ENT > d__7.MoveNext)
    System.Collections.Generic.List to ' 1.InsertRange (Int32 index, 1 IEnumerable collection)
    at VMware.VimAutomation.ViCore.Impl.V1.Task.ViCoreTaskCoreServiceProviderImpl.GetTaskList (IEnume
    uidList Maple 1, IEnumerable 1 connectionUidList)
    to VMware.VimAutomation.Sdk.Impl.V1.Task.CoreTaskServiceImpl.GetTaskList (IEnumerable 1 uidList,
    IEnumerable 1 connectionUidList)
    to VMware.VimAutomation.ViCore.Impl.V1.Service.TaskServiceImpl.GetTaskCore (Nullable State 1,)
    IList 1 connectionUidList)
    to VMware.VimAutomation.ViCore.Impl.V1.Service.TaskServiceImpl.GetTask (Nullable State 1,)
    CmdletTaskInfoProvider cmdletTaskInfoProvider)
    at VMware.VimAutomation.ViCore.Impl.V1.Service.TaskServiceImpl.GetTaskById (String uid,
    CmdletTaskInfoProvider cmdletTaskInfoProvider)
    VMware.VimAutomation.ViCore.Impl.V1.Service.VmServiceImpl.NewVM (model TemplateInterop,
    VMHostInterop vmHost, string name, resourceContainer, FolderInterop location VIContainerInterop,.
    StorageResourceInterop data store, Nullable 1 diskStorageFormat, OSCustomizationSpecInterop
    customization, Boolean, Boolean, string 1 Nullable description isRequestedAsync allowNested
    Nullable, 1 haIsolationResponse, Nullable 1 drsAutomationLevel, haRestartPriority, [AdvancedOption]
    options)
    to VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM.DoWork (customer VIAutomation, moList list 1)
    at VMware.VimAutomation.ViCore.Util10Ps.BaseCmdlet.BaseCmdlet.DoWork (VIConnection connection,
    MoList list 1)
    at VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.BaseCmdlet.DoWorkEx (VIConnection connection,
    MoList list 1)
    to
    VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.ConnectionDispatchHelper.ExecuteRunlist (dictionary 2
    runlist, DoWorkDelegate doWorkDelegate, UidDispatchHelper uidDispatchHelper, result of list 1)
    TargetSite:
    StackTrace:
    HelpLink:
    Source:

    PS C:\ > $Error [0]. Exception.InnerException | Select *.


    Message: An element with the same key has already been added.
    ParamName:
    Data: {ConnectionId}
    InnerException:
    TargetSite: Void Insert (TKey, TValue, Boolean)
    StackTrace: At System.Collections.Generic.Dictionary'2.Insert (TKey key, TValue value, Boolean add)
    to
    VMware.VimAutomation.ViCore.Impl.V1.Service.StaticDataServiceImpl.PopulateTaskDescriptionDictionary)
    at VMware.VimAutomation.ViCore.Impl.V1.Service.StaticDataServiceImpl.GetTaskDescription (String
    taskDescriptionId)
    at VMware.VimAutomation.ViCore.Impl.V1.Task.TaskImpl.Create (ManagedObjectReference moRef,
    Customer VimClient, accessories 2 dictionary, extensionData object)
    to VMware.VimAutomation.ViCore.Impl.V1.Task.ViCoreTaskCoreServiceProviderImpl. < GetTaskListForClient
    > d__7.MoveNext)
    System.Collections.Generic.List to ' 1.InsertRange (Int32 index, 1 IEnumerable collection)
    to
    VMware.VimAutomation.ViCore.Impl.V1.Task.ViCoreTaskCoreServiceProviderImpl.GetTaskList (IEnumerable 1)
    uidList, IEnumerable 1 connectionUidList)
    to VMware.VimAutomation.Sdk.Impl.V1.Task.CoreTaskServiceImpl.GetTaskList (IEnumerable 1 uidList,
    IEnumerable 1 connectionUidList)
    to VMware.VimAutomation.ViCore.Impl.V1.Service.TaskServiceImpl.GetTaskCore (Nullable State 1,)
    IList 1 connectionUidList)
    to VMware.VimAutomation.ViCore.Impl.V1.Service.TaskServiceImpl.GetTask (Nullable State 1,)
    CmdletTaskInfoProvider cmdletTaskInfoProvider)
    at VMware.VimAutomation.ViCore.Impl.V1.Service.TaskServiceImpl.GetTaskById (String uid,
    CmdletTaskInfoProvider cmdletTaskInfoProvider)
    VMware.VimAutomation.ViCore.Impl.V1.Service.VmServiceImpl.NewVM (model TemplateInterop,
    VMHostInterop vmHost, string name, resourceContainer, FolderInterop location VIContainerInterop,.
    StorageResourceInterop data store, Nullable 1 diskStorageFormat, OSCustomizationSpecInterop
    customization, Boolean, Boolean, string 1 Nullable description isRequestedAsync allowNested
    Nullable, 1 haIsolationResponse, Nullable 1 drsAutomationLevel, haRestartPriority, [AdvancedOption]
    options)
    to VMware.VimAutomation.ViCore.Cmdlets.Commands.NewVM.DoWork (customer VIAutomation, moList list 1)
    at VMware.VimAutomation.ViCore.Util10Ps.BaseCmdlet.BaseCmdlet.DoWork (VIConnection connection,
    MoList list 1)
    at VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.BaseCmdlet.DoWorkEx (VIConnection connection,
    MoList list 1)
    to
    VMware.VimAutomation.Sdk.Util10Ps.BaseCmdlet.ConnectionDispatchHelper.ExecuteRunlist (dictionary 2
    runlist, DoWorkDelegate doWorkDelegate, UidDispatchHelper uidDispatchHelper, result of list 1)
    HelpLink:
    Source: mscorlib


    I was informed that this is actually a "known" bug and a fix has already been planned for the release of the future code.  After getting the access to a beta version, it does not seem to be fixed in the next release.

  • red dots show different colors on the same layer?

    Hi, quick question...

    I have 2 items that are red in a poster of the Illustrator. They are both on the top layer, under layer has a transparency of a burst of Sun through posters.

    The first red item is a logo that I have to copy/paste from file .ai - East native here (just a name of company (converted to outlines) red text).

    The second red element is a text that I wrote directly in my poster (on the same layer as the 1st element) is the same cmyk Red

    The problem: whenever I have save the poster as a jpg (model for the client), the 2 shows different reds? When I look at the file in the OVERPRINT PREVIEW it shows the reds as different shades, so that I have to correct something.

    Interestingly, the file records in PDF format, (red look alike)- but I don't want the file in PDF format. How can I fix this for a correct visualization as a jpg?

    Thank you kindly,

    Chemol

    Something to overprint fill activated in Control Panel.

  • If someone checks the mail from yahoo to my computer, their code is displayed if the first letter from my ID is the same with theirs. How can I delete their history on my computer?

    If someone checks the mail from yahoo to my computer, their code is displayed if the first letter from my ID is the same with theirs. How can I delete their history on my computer?

    Hey ioanaatc,

    Go in Tools > Options > Security tab click on passwords saved. This will give you a list of sites that you have saved passwords yahoo just find and delete other connections

    There are a lot of useful information in this article on the Firefox Password Manager. He should answer any other questions you might have.

    It can be saved as Auto form fill data. If this is the case, the article I just linked will show you you how to remove these entries as well.

    Hope this helps!

  • I sent 2 SMS to the iPhone even from the same location 1 hour out. Why I was charged for the second message, but not the first?

    I sent 2 SMS on the phone even in the same place 1 hour apart. I was charged for the second message, but not the first. Why charge me? I was under the impression that the messages sent between iPhones are free?

    I was under the impression that the messages sent between iPhones are free?

    It's a little more complicated than that.

    If the message is sent as an iMessage (blue) uses the data that could be part of your cellular data allowance or WiFi depending on what you are connected to. If it is sent as SMS (green) it takes however your carrier charges you for SMS.

    For a message to be sent in an iMessage, both parties need to have a device capable of iMessage (e.g., iPhone, iPad, Mac), iMessages allowed to have (settings > Messages > iMessage > on) and be connected to the data (Wifi or cellular).

  • 'My card' when contact is not me, and it won't let me change it or delete the info. for the person mentioned (which is having the same first name as I do). Any ideas?

    'My card' when contact is not me, and it won't let me change it or delete the info. for the person mentioned (which is having the same first name as I do). Any ideas?

    iPhone OS 9.2 6.

    I already tried to delete information about the person identified as "my card". Because the phone think it is 'my card' delete the contact and/or modify the information. does not work.

    Create a new contact with your correct information, who like 'My card' to:

    Settings > Mail, Contacts, calendars > Contacts > my info

  • When you use Excel or my Peachtree Accounting program, entered digital as "$152(32 in the accounting package or the same number with a square symbol as the decimal point in Excel.)". No idea what I should check first?

    When you use Excel or my Peachtree Accounting program, entered digital as "$152(32 in the accounting package or the same number with a square symbol as the decimal point in Excel.)".  No idea what I should check first?

    Thank you for visiting the website of Microsoft Windows Vista Community. The question you have posted is related to Office Excel and would be better suited to the office community. Please visit the link below to find a community that will support what ask you

    http://www.Microsoft.com/Office/Community/en-us/default.mspx?d=1

    Mike - Engineer Support Microsoft Answers
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • In Windows Mail when I drop an email into a subfolder change all emails in that folder to be the same as the first?

    Folder Windows Mail system replaces the text by e-mail

    In Windows Mail when I drop an email into a subfolder change all emails in that folder to be the same as the first? How can I stop this please? It of weird and happens most of the time but not all the time, I read the email in the Inbox, drag it to the subfolder and when I open it in the subfolder is a completely different email and then when I check the rest in the subfolder they are all the same as the first on in the folder. ?

    Search for antivirus interference.  This is what it sounds like.  See www.oehelp.com/OETips.aspx#3

    Also try to compact and repair the database (www.oehelp.com/WMUtil/).

    See if help them.

    Steve

  • LaserJet CP1025: Printing pink spots on the first page of all documents Word and PDF but not Excel etc.

    This printer has had very little use again, last September. This problem started about 2 weeks ago. It affects Word, PDF files and print from Chrome.

    Excel, Publisher and Notepad all print correctly. It affects only the first page of the documentation. Printing multiple one after another - first page only of each doc is assigned along the right edge together about 1 inch wide.

    My office programs are on my school's network. No other users have the same problem and impression on my inkjet at home is fine. My solution is to add a blank page at the beginning of Word documents.

    It seems that it is only this printer is affected, but I do not understand why some programs are affectd but not others.

    Ideas would be welcome.

    Hi @Fortwilliam,

    I see that you are having problems printing applications, the first page has pink spots on the right side of the page. I want to help you.

    It's certainly an issue that you are experiencing. Since it is not done this with all applications. So I don't think it is a hardware problem, but related software.

    Make sure that you are logged on as an administrator and try to print again.

    Download and run the Print and Scan doctor. It will diagnose the problem and could solve it automatically. http://www.hp.com/go/tools > using HP diagnostic tools for printers under Windows HP.

    What were the results when you ran the Print and Scan Doctor? (she print or scan, error messages)

    If you're still having problems, I uninstall and reinstall the latest version of the printer software, just to rule out a software conflict or the printer driver is damaged. Full Feature software and driver.

    If you appreciate my efforts, please click on the button below the thumbs up.

    If there is anything else I can help you, let me know. Thank you.

  • WMP 12 plays 2 songs at the same time. If a piece is played and I spend almost another song, the second song starts to play and the first

    A frustrating problem with wmp on my new laptop of ASIS Windows 7. During playback of an mp3 file, if I hover near a second file, the second file starts to play in the first.

    The system is used for dance classes, and I need to have the ability to choose a second track spontaneously.

    This does not happen with the previous version of wmp (11).

    The problem would be the touchpad on the laptop?

    Charles Todd

    Hi Charles,

    The description of the problem, it looks like Windows Media Player plays 2 different songs at the same time when hover near a second file in Windows Media Player.

    You can run the troubleshooting Windows Media Player Settings Troubleshooter & check if the problem persists.

    Troubleshooting of Windows Media Player settings

    http://Windows.Microsoft.com/en-us/Windows7/open-the-Windows-Media-Player-settings-Troubleshooter

    Please come back with more queries on Windows, we will be happy to help you.

  • Whenever I try to open Mozilla Firefox I get the same message: he is already underway and open, and I have to close all other open all programs first in order to to use

    Whenever I try to open Mozilla Firefox I get the same message: he is already underway and open, and I have to close all other open all programs first in order to to use.  Problem is that I'm not running anywhere.   I checked my task manager, and is not in the applications or processes.  I tried to restart my computer a couple of times, correctly and a hard reset as well and nothing works.  Google Chrome and Internet Explorer are the two works very well.  Help, please.

    Original title: loading Firefox problem

    Hello

    I suggest that you are looking for or post on the Forums of Firefox.

    http://forums.mozillazine.org/viewforum.php?f=38

    Don

  • Mr President, how can I enter two rows at the same time with different default values that only the first line to use see?

    Mr President.

    My worm jdev is 12.2.1

    How to enter two rows at the same time with different default values that only the first line to use see?

    Suppose I have a table with four fields as below

    "DEBIT" VARCHAR2(7) , 
      "DRNAME" VARCHAR2(50),
      "CREDIT" VARCHAR2(7) , 
      "CRNAME" VARCHAR2(50),
    

    Now I want that when I click on a button (create an insert) to create the first line with the default values below

    firstrow.png

    So if I click on the button and then validate the second row with different values is also inserted on commit.

    The value of the second row are like the picture below

    tworows.png

    But the second row should be invisible. It could be achieved by adding vc in the vo.

    The difficult part in my question is therefore, to add the second row with the new default values.

    Because I already added default values in the first row.

    Now how to add second time default values.

    Concerning

    Mr President

    I change the code given by expensive Sameh Nassar and get my results.

    Thanks once again dear Sameh Nassar .

    My code to get my goal is

    First line of code is

        protected void doDML(int operation, TransactionEvent e) {    
    
            if(operation != DML_DELETE)
                 {
                     setAmount(getPurqty().multiply(getUnitpurprice()));
                 } 
    
            if (operation == DML_INSERT )
                       {
                               System.out.println("I am in Insert with vid= " + getVid());
                           insertSecondRowInDatabase(getVid(),getLineitem(),"6010010","SALES TAX PAYABLE",
                            (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                           }
    
            if(operation == DML_UPDATE)
                              {                                                    
    
                                 System.out.println("I am in Update with vid= " + getVid());
                             updateSecondRowInDatabase(getVid(),
                                 (getPurqty().multiply(getUnitpurprice()).multiply(getStaxrate())).divide(100));      
    
                              }                      
    
            super.doDML(operation, e);
        }
        private void insertSecondRowInDatabase(Object value1, Object value2, Object value3, Object value4, Object value5)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "Insert into vdet (VID,LINEITEM,DEBIT,DRNAME,AMOUNT) values " +
                 "('" + value1 + "','" + value2 + "','" + value3 + "','" + value4 + "','" + value5 + "')";  
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }
                  }  
    
                  private void updateSecondRowInDatabase(Object value1, Object value5)
                  {
                    PreparedStatement stat = null;
                    try
                    {
                      String sql = "update vdet set  AMOUNT='"+ value5+"' where VID='" + value1 + "'";                     
    
                      stat = getDBTransaction().createPreparedStatement(sql, 1);  
    
                      stat.executeUpdate();
                    }
                    catch (Exception e)
                    {
                      e.printStackTrace();
                    }
                    finally
                    {
                      try
                      {
                        stat.close();
                      }
                      catch (Exception e)
                      {
                        e.printStackTrace();
                      }
                    }                  
    
                  }
    

    Second line code is inside a bean method

        public void addNewPurchaseVoucher(ActionEvent actionEvent) {
            // Add event code here...
    
            BindingContainer bindings = BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("VoucherView1Iterator");
                   RowSetIterator rsi = dciter.getRowSetIterator();
                   Row lastRow = rsi.last();
                   int lastRowIndex = rsi.getRangeIndexOf(lastRow);
                   Row newRow = rsi.createRow();
                   newRow.setNewRowState(Row.STATUS_NEW);
                   rsi.insertRowAtRangeIndex(lastRowIndex +1, newRow);
                   rsi.setCurrentRow(newRow);
    
                   BindingContainer bindings1 = BindingContext.getCurrent().getCurrentBindingsEntry();
                   DCIteratorBinding dciter1 = (DCIteratorBinding) bindings1.get("VdetView1Iterator");
                   RowSetIterator rsi1 = dciter1.getRowSetIterator();
                   Row lastRow1 = rsi1.last();
                   int lastRowIndex1 = rsi1.getRangeIndexOf(lastRow1);
                   Row newRow1 = rsi1.createRow();
                   newRow1.setNewRowState(Row.STATUS_NEW);
                   rsi1.insertRowAtRangeIndex(lastRowIndex1 +1, newRow1);
                   rsi1.setCurrentRow(newRow1);
        }
    

    And final saveUpdate method is

        public void saveUpdateButton(ActionEvent actionEvent) {
            // Add event code here...
    
            BindingContainer bindingsBC = BindingContext.getCurrent().getCurrentBindingsEntry();      
    
                   OperationBinding commit = bindingsBC.getOperationBinding("Commit");
                   commit.execute(); 
    
            OperationBinding operationBinding = BindingContext.getCurrent().getCurrentBindingsEntry().getOperationBinding("Commit");
            operationBinding.execute();
            DCIteratorBinding iter = (DCIteratorBinding) BindingContext.getCurrent().getCurrentBindingsEntry().get("VdetView1Iterator");// write iterator name from pageDef.
            iter.getViewObject().executeQuery();  
    
        }
    

    Thanks for all the cooperation to obtain the desired results.

    Concerning

  • If I have the two LOV in the same table then how to connect when I select first and second LOV value also change?

    Mr President

    If I have the two LOV in the same table then how to connect when I select first and second LOV value also change?

    My two fields are FLOW AND DR_NAME

    FLOW = ACCT_ID

    DR_NAME = ACCT_NAME

    I created with success of LOV for these fields.

    First LOV gives acct_id in the debit field and second LOV gives the value of acct_name to dr_name.

    How can I report these lov, it's that when I change my acct_id then acct_name also change

    I have these two tables

    CREATE TABLE "NOM"  (
      "ACCT_ID" VARCHAR2(7) NOT NULL ENABLE, 
      "ACCT_NAME" VARCHAR2(50) NOT NULL ENABLE, 
      "O_BAL" NUMBER(13,2),
      CONSTRAINT NOM_PK PRIMARY KEY ("ACCT_ID")ENABLE
       
       );
    CREATE TABLE "VOUCHERDET" (
      "V_ID" VARCHAR2(9) NOT NULL ENABLE,
      "LINEITEM" NUMBER ,
      "DEBIT" VARCHAR2(7) , 
      "DR_NAME" VARCHAR2(50), 
      "CREDIT" VARCHAR2(7) , 
      "CR_NAME" VARCHAR2(50), 
      "PARTICULARS" VARCHAR2(100), 
      "AMOUNT" NUMBER(21,2),
    CONSTRAINT VOUCHERDET_PK PRIMARY KEY ("V_ID","LINEITEM")ENABLE, 
    CONSTRAINT PUR_SAL_LINE_POD_FK FOREIGN KEY(PROD_ID)
      REFERENCES PRODUCTS (PROD_ID)ENABLE,  
    CONSTRAINT VOUCHERDET_DEBIT_FK FOREIGN KEY ("DEBIT")
       REFERENCES "NOM" ("ACCT_ID") ENABLE, 
    CONSTRAINT VOUCHERDET_CREDIT_FK FOREIGN KEY ("CREDIT")
       REFERENCES "NOM" ("ACCT_ID") ENABLE,  
    CONSTRAINT VOUCHERDET_V_FK FOREIGN KEY ("V_ID")
       REFERENCES "VOUCHER" ("V_ID") ON DELETE CASCADE ENABLE
      );
    
    

    Concerning

    so, instead of this second ActId, choose ACCT_NAME:

Maybe you are looking for