How to know the record status changing from NEW to INSERT while keying-in a field

Thanks to Kevin Clarke & Steven Declercq for helping me out with my previous queries.
Can any one out there tell me how to intercept when the reocrd status is changing from NEW to INSERT (while a field is being keyed-in in a blank(new) record).
Thanks
Brijesh

Hi Kevin,
Thanks.
Unfortunately, I could'nt find a trigger named 'ON-DATABASE-RECORD'.
Are you sure it exists?
Cheers
Brijesh

Similar Messages

  • How to know the record status

    dear all
    i am new in adf. i have an entity object named Employee and an updatable view object named Employeevo.
    i created a simple .jspx page to display the employee in af:form.
    the page bindings contains CreateInsert operation. user can insert new record or update a record or delete it. mh question is:
    how can i detect the record status? in other eords how can i know whether the record is in insert mode or update mode. in oracle forms ,there is a system variable ":SYSTEM.RECORD_STATUS"that can return NEW-CHANGED-QUERY.what is the equilivant for this in ADF.
    thanks in advance

    Hi.
    you can override the dodml in the EntityImpl to test what DML operation is being performed.
    @Override
    protected void doDML(int operation, TransactionEvent transactionEvent) {
            if (operation == DML_INSERT) {
                //an Insert
            } else if (operation == DML_UPDATE) {
                //an Update
            } else if (operation == DML_DELETE) {
                //a Delete
    }http://docs.oracle.com/cd/E15051_01/web.1111/b31974/appendix_mostcommon.htm
    http://www.orastudy.com/oradoc/selfstu/fusion/web.1111/b31974/appendix_formstriggers.htm

  • WPF: How to know the selection is come from datagrid or from ListBox?

    Our application has a page which includes DataGrid and ListBox.
    Both ItemSource are binding to PlateCells.
    public ObservableCollection<CellVM> PlateCells
    public class CellVM : BaseViewModel
    public CellVM(int wellNumber)
    WellNumber = wellNumber;
    Row = wellNumber / define.NumberofWellsInRow;
    Col = wellNumber % define.NumberofWellsInRow;
    // row and col are 0-based
    public int WellNumber { get; set; }
    public int Row { get; set; }
    public int Col { get; set; }
    bool _isSelected;
    public bool IsSelected
    get { return _isSelected; }
    set
    _isSelected = value;
    OnPropertyChanged("IsSelected");
    string _sampleId;
    public string SampleId
    { get { return _sampleId; }
    set
    _sampleId = value;
    OnPropertyChanged("SampleId");
    when a cell is selected, the cell will be highlight in both DataGrid and ListBox.
    We also implement SelectAll button for both DataGrid and ListBox.
    And SelectAll is ToggleButton. First time click is select All cells and second time click, it will unselect All cells.
    What we notice when SelectAll button is click, all cells in both DataGrid and List box  are highlight.
    After that click on a grid any cell, all cells becomes unselected in both DataGrid and ListBox.
     We assume this the behavior from DataGrid, after click SelectAll and click any cell in DataGrid will remove all selection and only highlight one cell in the datagrid.
    However, this is behavior does not happen in ListBox. click any cell in ListBox only unselect that cell and not unselect all cells.
    So we need to know click(selection) is coming from DataGrid or ListBox and take different actions.
    How do we know the click is coming from DataGrid or ListBox? Thx!
    JaneC

    >>How do we know the click is coming from DataGrid or ListBox? Thx!
    It depends on where in the code you want to be able to determine this. In the view model class you cannot really know if the user clicked in the ListBox or in the DataGrid because the view model knows nothing (and shouldn't know either) about any of these
    controls. It only exposes a property that may be set from anywhere.
    Handling the GotFocus event for any or each of the controls seems to be a good solution because then you can take the appropriate action depending on which control was focused/clicked.
    You could of course move the code that is being executed when the GotFocus event occurs, i.e. the code in your event handler, from the code-behind of the view to the view model class by using a command in the view model class and then hook up the GotFocus
    event to this command using event triggers:
    <DataGrid>
    <i:Interaction.Triggers>
    <i:EventTrigger EventName="GotFocus" >
    <i:InvokeCommandAction Command="{Binding YourCommand}" />
    </i:EventTrigger>
    </i:Interaction.Triggers>
    </DataGrid>
    How to do this is a topic of its own though. Please refer to my blog post about how to handle events in MVVM for more information:
    http://blog.magnusmontin.net/2013/06/30/handling-events-in-an-mvvm-wpf-application/. You will need to reference an assembly that is part of the Expression Blend SDK which you can download from here:
    http://www.microsoft.com/en-us/download/details.aspx?id=10801.
    Anyway, as mentioned, handling the GotFocus event seems like a good idea here since you cannot determine which control that was clicked in the setter of the source property in the view model class.
    Hope that helps.
    Please remember to close your threads by marking helpful posts as answer and please start a new thread if you have a new question.

  • How to know the all user name from system/system login

    hi all,
    i want to know the all user names from system login who are the existing user like
    regards
    srinivas

    Hello,
    Using DBA_USERS will give more details
    select * from dba_users;Regards

  • How To Hide the Record after Update from ADF Front End

    Hi Every One,
    I have done the Scenario of Database Table rows displayed in ADF front end. It is editing and updating also. My Query is after update the record, how to hide that record from adf front end.
    Could any one please help me.
    Thanks,
    Narasimhulu.S

    hi you can create transient field in view object indicate to visibility of row (boolean ) and create view criteria that show only rows that are able to be visible according to transient attribute and at the update process set the attribute to true inside entityImpl class

  • How to reflect the Master data changes from ECC to MDM

    Hi Experts,
    We need to reflect the master data changes of company code and cost center groups  from ECC to MDM.
    what methods available and which would be best in performance.
    kindly let me know if you need further information for better undrstanding.
    Thanks in anticipation
    looking forward to hear from you all,
    with regards,
    Chandhan.S

    Hi,
    You need to use change pointer to do this. Go to transaction SALE,
    expand MODELLING AND IMPLEMENTING...
    expand MASTER DATA DIST...
    expand REPLICATION OF MODIFIED DATA
    You may need to maintain distribution model in SALE.
    Cheers.
    Reward if useful

  • How to know the spool requests generated from my program?

    hi
         I want to get the spool request(s) that are generated from my report that's run either in foreground or background? how to know this? i know that we can go to sm37 and see, but is there any table or fm which stores this data? if i give my program name that's run on a particular date, i should get the spool request numbers. tsp01 only has the spool no. and not the program name..pl suggest...thanks all
    Sathish. R

    Hi ,
    The system field sy-spono contains the spool numbers .
    If you have such requirement, you can create one custom table with fields :
    spool no, program , date , time
    whenever you run ur program update this table ,
    with system fields . spono , sy-repid , sy-datum and sy-uzeit .
    Thaks .

  • HOW TO KNOW THE TCODE FOR CREATING A NEW ENTRY IN A PARTICULAR TABLE

    HI,
        CAN YOU PLEASE LET ME KNOW THE PROCEDURE TO GET THE TCODE FOR CREATING A NEW ENTITY IN A TABLE .
       EG: IS THERE ANY PROCEDURE TO KNOW THAT IF I CREATE A NEW ENTITY IN MM01 IT WILL BE STORED IN TABLE MARA.
    THANKING YOU.

    Hi Venkata,
    If you want to know, for a given table, which transaction/program(s) will create a new record,  there is no easy procedure, other than to refer to experts who deal with these programs.
    It is possible to get a list of programs that refer to a table.  SE11, select the table, select the 'where-used' icon, select programs, execute.  You will be presented with a list of programs that read or write to that table.  From that list you would have to determine which one(s) create records, using your ABAP skills.  From those selected programs you would have to find which, if any, had a transaction assigned.
    Many tables are updated by more than one program/transaction.  Many other tables are not updated by ANY interactive transaction.
    If you ever decide to go ahead with this research, make sure you publish it.  You could probably make yourself a bit of money.
    Regards,
    DB49

  • Nexus 1000V overdraft license - How to force the vem to change from an overdraft to a permanent license

    Hi all,
    We installed a new VEM module on the N1K. As we did not had enough installed licenses at this time, the vem took 2 overdraft licenses.
    Now, another vem has been removed from the VSM and then, we recovered those 2 licenses from the removed Vem to the license-pool.
    Is it a way to force the vem ( currently using the overdraft licenses) to use the 2 licenses from the pool without service disruption.
    Thanks a lot.
    Regards.
    Frédéric

    Hi Frédéric,
    You could migrate the VMs off that host, do the license procedure, then move the VMs back.
    Thanks,
    Joe

  • How to know the status of concurrent program from back-end in oracle apps

    Hi,
    Can you please explain me step by step how to know the status of the concurrent program from back end in oracle apps.
    Thanks,
    Raj

    When a record is being updated by a form, if you create a Pre-Update trigger on the block, the trigger will run for each record being updated.
    Same thing happens with a Pre-Insert and Pre-Delete trigger.

  • How to know the changes made to Quotations & Sales orders?

    Hi all
    I want to know how we can have the records of changes and alterations that are made in quotations and Sales orders. For example, once the quotation is created and saved, there must have been many alterations either on pricing or in terms & conditions based on the final negotiations with the customer. Please let me know how do we record the changes.

    Hi,
    what ashish told is exactly correct.You just go to the Environment-changes and execute,it will shows all the changes made for that order like pricing,payment terms etc.
    Regards,
    Hari.

  • How to know the count of record in CR XI?

    Post Author: Liu ming
    CA Forum: Deployment
    Hi All,
    I create a report by CR XI release 2. The report is viewed in ASP.Net. So, I would like show a message when the report have no record. My question is how to know the count of record?
    Thanks.

    I was able to do this by using
    ora:countNodes('Receive_1_Read_InputVariable','BILL','/ns2:BILL/ns2:CMS1500')

  • I dropped my iphone vertically on the ground. The screen is normal when it is locked. but when unlocked, it is broken down from the clock. Can it be fixed and is it under the warranty conditions? If not how much is the price to change the screen?Thanks

    I dropped my iphone vertically on the ground.The screen works when it is locked.When unlocked, it's broken down from the clock.Can it be fixed and is it under warranty conditions?If not how much is the price to change the screen?Thanks

    User damage is not covered by warranty unless you have Applecare +
    assuming you do not,  the out of warranty exchange price for an iPhone 4 is $149,exchange at an Apple Store genius bar
    iPhone 4 are not repaired they are exchanged

  • How to download the recorded video from my ipad to my PC ?

    How to download the recorded video from my ipad to my PC?

    See this support document for assistance. Import photos and videos from your iPhone, iPad, or iPod touch to your Mac or Windows PC - Apple Support

  • Anyone knows how to get the photos after IMG_9999 from iphone? :-(ps:... i got them all in my camera roll but when i connected to the computer there's nothing after IMG_9999..

    anyone knows how to get the photos after IMG_9999 from iphone? :-(ps:... i got them all in my camera roll but when i connected to the computer there's nothing after IMG_9999.. many thanks :-)

    They show in the camera roll, just not your computer?
    Have you checked every folder that is in the DCIM folder?

Maybe you are looking for

  • Best practice for putting together scenes in a Flash project?

    Hi, I'm currently working on a flash project with the following characteristics: using a PC 2048x1080 pixels 30 fps One audio file that plays (once) continuously across the whole project there are actions that relate to the audio, so the timing is im

  • Compressor did not switch to burn

    I have just completed the encoding of a 45-minute FCP video in Compressor 3.5.2. Before I started, I had set the project to burn a DVD once the encode had completed. Compressor is showing a "successful" message, so I know the encoding has worked, but

  • Crystal Reports using DSO in BW: unable to display Text

    Hi, I have built a Crystal Report on top of DSO in BW System. I am able to display only the key for a field and the corresponding text is not available. So if there is a 0COMP_CODE key field, I am not able to get its description in Crystal Reports. W

  • Where to find sap itutor recorder

    Hello Guys , i am searching for sap itutor. I want to use it for learning purpose. Please help to find the itutor recorder . on the forum i only got  information about sap itutor player.. i dint get any information about full version of sap itutor. c

  • Rounding Off Value is not copying from Sales Order to Invoice

    Hi Experts, In Pricing Procedure i maintained DIFF- Rounding Off Condition type with the following Combinations. Print:X Requirement:13 Cal Type: 16 Bas Type: 4 When i create sales order the system is calculating Rounding Off after saving the sales o