TopLink 9.04 status block updates....

Hi,
We are using Toplink 9.04.
Each class in the domain model has an status block containing UpdatedProcessId, lastUpdatedBy, Date etc.
It would be really useful to be able to update this stuff automatically rather than having to do it by hand when an attribute of an entity is updated as developers are likely to forget etc.
I was hoping to be able to use one of the events through the event manager interface i.e. postCalculateUnitOfWorkChangeSet, to get the objects which had been updated within the unit of work and then either
1) Modify the entity field values before the exact changes had been identified by TopLink i.e. before the contents of the changeset has been calculated.
2) Modify the field values and get toplink to re-assess the object modifications and update the ChangeSet
3) insert the extra values into the changeset
Is there a way to do this or is there anything else which could help.....
Thanks
Paul.

This is definitely do-able, lots of people use this approach. You don't have to get involved with ChageSets.
Map your lastUpdatedBy, etc, fields as usual, but then don't worry about updating them in your app logic.
Use the pre insert/update events to set the values. These events are triggered before SQL is calculated (about-to events are triggered after SQL is calculated), so all you need to do is update the object in the pre insert/update event.
- Don

Similar Messages

  • Billing not Possible- Overall Status Blocked

    Hello All,
    I have  a problem while creation of the Billing document based on Order. Our Scenario is of Service Billing i.e. Contract->Order--> Billing.
    Problem:  While creating Billing -Error Log is created stating  " Document xxxxxxxx blocked for billing'
    When I checked the Sales Order for any blocks, the Header Status shows Overall blkd status as  Blocked.
    The Sales document is also released for Credit., the Customer has no blocks set.
    Can you help me in tracing out the reason.
    Regards,
    Karthik.

    Hello All,
    Thanks for your responses. The Problem is not of Billing Block.  The Issue is Overall Status block.
    We have line item wise Billing block, which is removed first and then the Order release is done by VKM3.
    So even after the Credit release is done the Status shows Overall Status as blocked.
    Regards,
    Karthik.

  • OTM - At the time of issue handling status is updated each time

    Hello,
    While handling the issue till the time it get fixed, each time the status gets updated but not maintaining the status history along with the description and solution. We need to figure out the status history .

    Do you mean  that every time you issue for a particular WBS element it should post to a differnt G/L account.
    If thats you requirement then its not possible to post to a new G/L account every time when you are issuing a material.
    The G/L account is determined based on the movement type, and creating new movement type every time to post into a G/L account is not feasible solution.
    What you can do is post into a differnt cost object like a profit center or cost center to track down the costs by posting them at the time of Goods issue.
    Thanks & Regards
    Kishore

  • How to change the status of updated record?

    Hi All,
    how to change the status of updated record?
    new record should be active version(X) and old version will be deleted.
    Plz suggest..
    Thanks in advance...

    Steve,
    In the actual question, you mentioned that the old record needs to be deleted and hence the solution provided.
    Now, you are talking about field. May I know which field are you talking about??
    Jst get in to ABAP Editor and try debugging the code with the solution provided and let us know if that is working fine or not.
    Also, I recommend you to take a look at the transaction ABAPDOCU. There you wil find hell lot of examples explaining all the scenarios. You will get a good idea .
    Please check that and try to implement it yourself. You will be able to make it after doing mistakes.
    If you stuck up again after many attempts, paste your code here. We will help you out
    Hope you got my concern.
    Thanks,
    Babu Kilari

  • PO ERROR IN PROCESS - STATUS NOT UPDATING

    Please assist, PO is error in process upon push Material already in full the PR had an old PO which was deleted at the SRM yet still active at the back end we try to push the old PO but the status didnu2019t update and try to delete the PO at the back end but it wasnu2019t possible. We have also tried to change the PO status yet still remain error in process. THANKS

    Hi,
    Cuold you clarify error messages as displayed in BBP_PD?
    Any entries in RZ20?
    Thanks and Regards,
    Abraham

  • Workflow status is always blank and only Internal Status is updated

    Hello All
    i have created sharepoint 2013 workflow but only the internal status is updated so the workflow column on the view will remain blank how to remove the internal status and use only the status field

    Hi Somar,
    I recommend to check if the “Automatically update the workflow status to the current stage name” is selected for the workflow in SharePoint Designer.
    Please open the workflow in SharePoint Designer, select Automatically update the workflow status to the current stage name and then publish the workflow.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • IPhone status is Updated just now but a lot of images are grey placeholders

    Good part: I have a big library (~50K photos and ~1K videos). Switched to iCloud Photos on all my macs, work ok, took several days to upload everything but look good.
    Bad part: on my iPhone I also enabled iCloud Photos Library (optimized storage), for some time it was showing "Preparing...",  then "Downloading..." but now it says "Updated just now", like it's done. But the problem is that a lot of images are just grey placeholders and convert to an image only when I open specific Moment and wait there. Also, the phone shows spinner at the top all the time, like it's downloading something. And the things spinning both in Wi-Fi and  LTE.
    It looks like the Photos app on iPhones continues downloading, while system preferences status says it's all good.
    This is how it looks, to make it clear - status is "Updated just now", but there are a lot of empty placeholders.
    Any comments?

    If add-ons are so important to you, remember to check for add-on compatibility before upgrading. (See image below)
    Bookmark your add-ons pages (addons.mozilla.org) and check their compatibility before upgrading Firefox.
    The other option is to [[Install an older version of Firefox]] compatible with your add-ons.
    Also read:
    * [[Re-enable add-ons that were disabled when updating Firefox]]
    * [https://support.mozilla.org/en-US/kb/update-firefox-latest-version?esab=a&s=configure+update&r=2&as=s#w_how-do-i-configure-update-20optionssf21preferencessf How do I configure update options?]
    Keep in mind that other browsers have updates too, which may or may not break their add-on compatibility.

  • Lync Status Not Updating Until Group is Expanded

    Hello all,
    I am having an issue that I can't seem to figure out. For the Groups view, the group doesn't seem to update a person's status when collapsed. After it is expanded, is only then the status will update and the person will go into a different group or move
    up or down the list, depending on filtering. Also if the expanded group extends past the bottom of the Lync window, those contacts don't update until seen. This also happens with the Status View as well. You need to scroll through the entire list to update
    everyone's status.
    Is this part of Lync or a bug? I am really hoping it is an issue because trying to find people after their status updates is annoying.

    Hi,
    Did you try deleting the Lync Profile. 
    Please try to delete the profile and check the presence. 
    %UserProfile%\AppData\Local\Microsoft\Office\15.0\Lync
    Is your Lync client is installed with latest Patches?
    Whenever you see a helpful reply, click on Vote As Helpful & click on Mark As Answer if a post answers your question.

  • Status BLOCKED for instance - is it bad?

    Hi,
    1st of all please forgive me if such a topic exists being solved, give me a link then, I could't find...
    1) I encountered strange problem when issuing lsnrctl status (the problematic lines are bold):
    /home/oracle> lsnrctl status
    LSNRCTL for Solaris: Version 10.1.0.3.0 - Production on 16-JAN-2007 21:16:16
    Copyright (c) 1991, 2004, Oracle. All rights reserved.
    Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=ora)(PORT=1521)))
    STATUS of the LISTENER
    Alias LISTENER
    Version TNSLSNR for Solaris: Version 10.1.0.3.0 - Production
    Start Date 03-DEC-2006 07:47:28
    Uptime 44 days 13 hr. 28 min. 47 sec
    Trace Level off
    Security ON: Local OS Authentication
    SNMP OFF
    Listener Parameter File /u01/app/oracle/OraHome_1/network/admin/listener.ora
    Listener Log File /u01/app/oracle/OraHome_1/network/log/listener.log
    Listening Endpoints Summary...
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=a)(PORT=1521)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC)))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=a)(PORT=8080))(Presentation=HTTP)(Session=RAW))
    (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=a)(PORT=2100))(Presentation=FTP)(Session=RAW))
    Services Summary...
    Service "B" has 1 instance(s).
    Instance "B", status READY, has 1 handler(s) for this service...
    Service "BXDB" has 1 instance(s).
    Instance "B", status READY, has 1 handler(s) for this service...
    Service "Oracle8" has 1 instance(s).
    Instance "ORCL", status UNKNOWN, has 1 handler(s) for this service...
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "d.zone1" has 1 instance(s).
    Instance "d", status UNKNOWN, has 1 handler(s) for this service...
    Service "a" has 3 instance(s).
    Instance "a", status UNKNOWN, has 1 handler(s) for this service...
    Instance "a", status READY, has 1 handler(s) for this service...
    Instance "a", status BLOCKED, has 1 handler(s) for this service...
    Service "aXDB" has 1 instance(s).
    Instance "a", status READY, has 1 handler(s) for this service...
    The command completed successfully
    Is this state ok? I mean: are these three instances at the same time good? And what does it mean?
    When, for example, I try to use exp I get error:
    EXP-00056: ORACLE error 1033 encountered
    ORA-01033: ORACLE initialization or shutdown in progress
    and I think the problem is in these 3 instances. My listener.ora:
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (PROGRAM = extproc)
    (SID_DESC =
    (GLOBAL_DBNAME = d.zone1)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (SID_NAME = d)
    (SID_DESC =
    (GLOBAL_DBNAME = Oracle8)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (SID_NAME = ORCL)
    (SID_DESC =
    (GLOBAL_DBNAME = a)
    (ORACLE_HOME = /u01/app/oracle/OraHome_1)
    (SID_NAME = a)
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ora)(PORT = 1521))
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC))
    2) And one more: my listener.log is now 1260M big. Can I rename it to e.g. listener.old and create new one (as oracle user: touch listener.log)? Do I have to stop listener?
    Thanks in advance, if more info is needed, give me a sign.
    Reveler
    Message was edited by:
    reveler

    Yeap, I've restarted lsnrctl. And I can see the new file is growing, so this problem is solved, thanks again.
    As to sqlplus: it seems to work ok:
    ==========================
    /home/oracle> sqlplus / as sysdba
    SQL*Plus: Release 10.1.0.3.0 - Production on Wed Jan 17 15:17:45 2007
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Release 10.1.0.3.0 - Production
    ==========================
    The problem occurs if I try eg.:
    ==========================
    /home/oracle> exp
    Export: Release 10.1.0.3.0 - Production on Wed Jan 17 15:19:35 2007
    Copyright (c) 1982, 2004, Oracle. All rights reserved.
    Username: sys
    Password:
    EXP-00056: ORACLE error 1033 encountered
    ORA-01033: ORACLE initialization or shutdown in progress
    ==========================
    In fact our application connecting to "a" works well, no user has reported a problem. But these 3 instances are still a stone in my eye :) and I'm not sure if in the future other application won't say "sorry", like exp says it now....
    Thanks for help,
    Reveler

  • Status blocked with workflow in purchase order

    hi colleagues
    I have a purc.order with status blocked at release indicator
    I don´t know why is 'blocked , and not released or rejected
    the release code says sap workflow
    what should I do?
    thanks

    Hi,
    It seems the release procedure for PO is through workflow. Just note down currently at which
    level (release code) release should happen.Then go to release configuration in SPRO for PO
    and there by clicking 'Workflow' you can check which user has been assigned to this release code
    IMG - Materials Management - Purchasing - Purchase Order - Release Procedure for Purchase Orders - Define Release Procedure for Purchase Orders - Workflow
    Then you can go & check in that user SAP inbox (SO01/SBWP transaction) for workitem.Open
    that workitem and release.Do the same for pending release levels and PO will be completely released.
    Regards,
    Partha.

  • Sales Order Credit Status Block with Schedule Line ATP Confirmed Quantity

    I would like to keep the Credit Status Block on a Sales Order when it is created and over the credit limit and at the same time be able to Confirm the Order Quantity (if inventory is available) on the Schedule Line.  Has anyone done this?  I'm using ECC 5.0
    In the IMG --> Sales and Distribution --> Basis Functions --> Credit Management/Risk Management --> Credit Management --> Define Automatic Credit Control --> If I remove the Status/Block indicator the schedule line does confirm the sales order quantity but the sales order is not blocked and a delivery can be created.
    Thanks.
    Donna

    Hello Donna,
    I think I solved your problem.
    There are two ways to block the sales order - one is to not confirm the Schedule line i.e. block delivery... block further action that can be taken. The second is to not let the person save the sales order.
    Another option is to get Just a warning message, that the credit limit has been exceeded, but able to save the sales order with a confirmed schedule line.
    The setting will be in OVA8.
    For the Document Value you make the setting C or A. and make sure the block is not set.
    Don't worry about the Open order or open delivery unless you want the system to perform a credit check considering the orders that are already existent. Same with open delivery. It will take into account all the cost of the orders that are open for delivery.
    Now here some options:
    Either consider a 'warning' by the system good enough and still be able to confirm the schedule line.
    (ii) Put in a Delivery Block in the Sales Document Types, in the Shipping tab. That way, you will be able to save the sales doc. but not be able to deliver it.
    (iii) Put a Billing Block in the Sales Doc type, in the Billing tab. You will be able to deliver but not bill.
    (iv) Create a new routine (with the help of an ABAP guy) and place it in the auto credit check, 'Reaction' field where it will place a Delivery Block.
    Do let me know what your thoughts are and what you decided to do.
    Thanks
    Noel

  • Delivery Block status Blocked in sales order for 3rd party

    Hi Folks,
    we have customized 3 rd party order.i created sales order on 10 months before. purchase requestion  created automatically for sales order. based on purchase requestion , Purchase order created on feb 2008 month.based on that GR POSTING was done on March 2008. Actually goods have to confirmed on march. But on the sales order goods are confirmed on augaust2008. untill then, i am unable to post DELIVERY..IT IS showing delivery status Blocked , in VA03. untill i get Aug month, i am unable to post delivery. why it is showing Status Blocked
    Please help me

    Hi vamsi
    If you have put the delivery block then also it doesnt work as for all schedule lines we have delivery block option .in the same way for the 3rd party schedule line  also we have delivery block.But why it doesnt work is if we are doing delivery then system will throw an error or give a message that delivery block . But in 3rd party SD consultants will be doing billing with reference to sales order.
    Regards
    Srinath

  • Return Sales - Header - System Status Blocked.

    Hi Gurus,
    We are implementing for a cable industry, and doing the Make to Order scenario.when i am running out the scenario for Return sales system is showing the status blocked in Header. But i am able to save the Document.
    After creation of sales order when i  do  the  PGR(Post Goods Receipt) i am able to save the document and immediately when i click on Enter the system is going into create mode(i.e again it is asking to do PGR for the same return sales order document).
    Kindly, help me out .
    Thanks & Regards,
    Tilak.

    Check the status of shipping in the Delivery block field in Shipping section: Shipping Tab of Header Data.
    If the doc is not blocked there, then go to Status.
    Then look for Object Status Button and click & release the doc.
    or
    Use execute Tcode VDBLOCK.
    Note: for above you should have user authorization.
    Thanks & Regards
    JP

  • Instance status "BLOCKED" and ora-12528

    Oralce 10.2.0.1 -- SUN SPARC 10 64bit
    instance is in nomount state, can connect using "sys/passwd@string as sysdba" on node 1 but unable to connect from 2nd node. following error received.
    Node:2
    connect sys/passwd@string as sysdba;
    ERROR:
    ORA-12528: TNS:listener: all appropriate instances are blocking new connections
    Listener state on node 1 is following:
    Service "PLSExtProc" has 1 instance(s).
    Instance "PLSExtProc", status UNKNOWN, has 1 handler(s) for this service...
    Service "string" has 1 instance(s).
    Instance "string", status BLOCKED, has 1 handler(s) for this service...
    Service "string" has 1 instance(s).
    Instance "string", status UNKNOWN, has 1 handler(s) for this service...
    Service "string_XPT" has 1 instance(s).
    Instance "string", status BLOCKED, has 1 handler(s) for this service...
    Message was edited by:
    jees

    tnsnames.ora file is same on both nodes and tnsping is working fine.
    Following is listener.ora on node1........
    LISTENER_DB01 =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS = (PROTOCOL = IPC)(KEY = EXTPROC1))
    (ADDRESS = (PROTOCOL = TCP)(HOST = db01-vip)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = 10.10.10.20)(PORT = 1521)(IP = FIRST))
    (ADDRESS = (PROTOCOL = TCP)(HOST = db01-dg)(PORT = 1521)(IP = FIRST))
    SID_LIST_LISTENER_DB01 =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/asm)
    (PROGRAM = extproc)
    (SID_DESC =
    (SID_NAME = string)
    (ORACLE_HOME = /u01/app/oracle/product/10.2.0/db)
    )

  • Block updates from app store

    Hi,
    I am looking for a way to block updates from SPECIFIC apps via the mac app store. System updates and updates for apps that I have installed, I don't mind. But there are a few apps that I downloaded in the past and have since deleted off of my computer, but they still come up in the updates tab and I always have the notification badge over the app store icon.
    How can I block these 'old' apps?
    Thanks.

    The Apple Support Communities are an international user to user technical support forum. As a man from Mexico, Spanish is my native tongue. I do not speak English very well, however, I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
    They usually go away if you hide the purchase from the Purchases list in the Mac App Store Purchases pane. Right click on the line with the app and choose Hide app.

Maybe you are looking for

  • Drivers for Lenovo 3000 N500 4233-5FG notebook

    Hi everybody! yesterday I became my brandnew N500 4233-5FG notebook. Here are the specifications: http://www5.pc.ibm.com/europe/products.nsf/$wwwPartNumLookup/_NS75Fxx?open&OpenDocument&epi=w​eb_express A friend of mine and I tried to install Win XP,

  • Runtime Error DYNPRO_NOT_FOUND after transport of customer subscreen

    Hi, We have created a new customer subscreen 9002 using transaction OXK1. When the subscreen was transported to the quality system, the subscreen was not generated thereby causing a dump (error DYNPRO_NOT_FOUND) in transaction FB01 which was using th

  • How do you change default settings for Pdf document viewing?

    Somehow the default setting for all my PDF documents and photos is now ColorSync. How do I change the main default setting, which I think should be Safari?

  • Office 2008 and Acrobat 8

    There is no pdf maker button installed, and I cannot convert a word doc to pdf, in acrobat, the list is not even offered, is that a office issue or acrobat? and how would I fix it?

  • How to display a word document in LiveCycle

    Hi guys, I want to create a dynamic pdf form by using LiveCycle Designer ES. In one part of my pdf form I want to display the content from another Word Document. That means this content will automatically update as long as I change the content in Wor