How to update correctly a UDT at FORM_DATA_ADD

Hi,
When adding an item marketing document, my add-on has to update a UDT with all the lines in the document.
I have placed the update of this UDT in the BeforeAction == false and ActionSuccess is true on et_FORM_ADD_DATE.
But what if an error message appears when updating this UDT, how can I prevent that the document is not added in SBO either. If the update of the UDT fails for any reason I don't want to let the user to update the UDT.
What is the best practice in this case?
Thank you,
Irina

Irina,
even if you happen to know at the before action true event that the update process generates an errror, you will not be able to roll back ( or make bubble event false)  the actual document creation . it is going to happen anyway .
or you are getting at something else?
Binita

Similar Messages

  • Project Center - How to Update / Correct the URL/Link stored in the Project Name field.

    In the Project Center list, the link in the "Project Name" field for some projects take you the the project details page and some display the project schedule. How can I update/correct the links to display the project schedule?

    Reason for this behavior is your enterprise project template which your project manager used for creating project.
    We create Enterprise project template, associate PDP , Schedule, workflow according to our need then we use these Enterprise project template for project creation.
    In your case some of the project manager must have used basic template( default template) for some project, Custom Enterprise template for some project and f you are using workflow then workflow template for some project, that is why you are able to see
    PDP page first for some project and Schedule page for some project. 
    In order to change it you can change default PDP as schedule for Enterprise project template then open project save and publish them.
    kirtesh

  • I recently updated the software on my MacBook Pro. Now, my computer no longer recognizes my external hard drive. Could this be related to the software update and, if so, how do I correct the problem?

    I Recently updated the software on my MacBook Pro. Now, my computer no longer recognizes my external hard drive. Could this be related to the software update and, if so, how do I correct the problem?

    Ari343 wrote:
    No, the external hard drive does not show up on Disk Utility. I don't have another computer to try it on.
    Perform a PRAM reset:
    http://support.apple.com/kb/ht1379
    Have you tried all the ports?
    Have you tried with a different cable?
    Have you tested all the ports with other devices to see that they are functioning?
    Ciao.

  • HT201302 error message when I try to update to IOS 6 how can i correct?

    Error message when I try to update to IOS6 how can i correct?

    Jenn4836 wrote:
      Can anyone help me out? 
    Not unless you start by telling us what the error messages say...

  • I no longer have sound when playing my clips through adobe premiere elements 12. How to I correct this problem? I have checked all audio levels and there is no mute on etc. I have updated to 12.1. Still no sound.

    I no longer have sound when playing my clips through adobe premiere elements 12. How to I correct this problem? I have checked all audio levels and there is no mute on etc. I updated to 12.1, but still no sound in any clips. Even not on old files which used to work.

    bfun
    What computer operating system is your Premiere Elements 12/12.1 running on? Can we assume that this audio plays back OK
    on the same computer when you are using a computer player independent of Premiere Elements?
    What are the properties of these clips that worked before but do not know with regard to sound
    For now, I will assume that you are working on Windows 7, 8, or 8.1 64 bit.
    Have you checked the Edit Menu/Preferences/Audio Hardware ASIO settings? Do you have any 3rd party audio devices incorporated in your computer environment?
    Please delete the Adobe Premiere Elements Prefs file and, if that does not work, then the whole 12.0 Folder in which the Adobe Premiere Elements Prefs file exists. The Windows 7, 8, or 8.1 64 bit path is
    Local Disk C
    Users
    Owner
    AppData
    Roaming
    Adobe
    Premiere Elements
    12.0
    and, in the 12.0 Folder, is the Adobe Premiere Elements Prefs file that you delete. If that does not work, then delete the whole 12.0 Folder in which the Adobe Premiere Elements Prefs file exists. Make sure that you are working with Folder Option "Show Hidden Files, Folders, and Drives" active so that you can see the complete path cited.
    Do you have installation files or installation disc with the purchased serial number in case we need to resort to uninstall/reinstall?
    We will be watching for your follow up.
    ATR

  • HT4623 I updated my iPhone 4s and cannot access Passbook. When I click on App Store, I get the following message "cannot connect to iTunes Store." How do I correct this?

    I updated my iPhone 4s and cannot access Passbook. When I click on App Store, I get the following message: "cannot connect to iTunes Store." How do I correct this problem?

    That's because there are not enough apps that use Passbook yet. Wait.

  • After shirring Blu-ray does not want to read disk. If it's setting, how to setting correctly. This happened after update.  Final Cut Pro X 10.1.1

    After shirring Blu-ray does not want to read disk. If it's setting, how to setting correctly.
    This happened after update.
    Final Cut Pro X 10.1.1 & Mac Pro 10.9.2

    Just refuse to open.
    Player show me first page (background) & refuse to open.
    Thanks. Greg.

  • How do I correctly update ZTE Open C

    Hello.
    I have a ZTE Open C with unlocked bootloader and a 1.4 build installed. I re-flashed to 1.4 instantly after the phone was delivered.
    My question is, how do I correctly update it from source without loosing my data?
    Currently, I'm pulling the latest source from git, doing this:
    git pull
    ./repo sync -d
    And then flash it to the phone using.
    ./build.sh gecko
    ./flash.sh gecko
    Than a change directory to gaia and build/flash it using:
    make clean && make install-gaia
    All flashes okay, without any errors but I still got old build identified in More Information:
    20140703092209
    instead, the Git commit info is updated:
    2014-07-07
    f2c11876
    Does this mean I'm correctly updating if the git commit info changes? Or something is wrong?
    Thanks in advance.

    Hi svnpenn,
    The point of my comment was to express my excitement that ANTONBORODA was able to manually update his device, and to show my appreciation that he shared his findings in the forums.
    These support forums are geared towards user-facing issues. This means that development, manual updates, and porting of devices is not usually supported.
    This was the second reason for my comment: to set the correct expectations for users with developer-related questions who may come to this thread through Google searches. Users looking for this type of support are more likely to find help in developer-related pages like [https://developer.mozilla.org/en-US/Firefox_OS MDN] or [http://stackoverflow.com/questions/tagged/firefox-os StackOverflow].
    However, the main reason for replying was to welcome ANTONBORODA to the community and recognize his contribution to the support forums (by sharing his findings). I hope this helps you understand my reasoning.
    - Ralph

  • I'm showing that I need to update an app that I've updated over and over. How do I correct this?

    It's showing that I need to update an app that I've updated over and over. How do I correct this?

    I'd suggest deleting it from your device and your Apps library and then re-download from iTunes.

  • TS1702 When I try to update an App I am getting my old email address (which no longer works) and when I put in its password it says password or username is wrong. but it does not give me an option to put in my new user name. How can I correct this.

    When I try to update an App I am getting my old email address (which no longer works) and when I put in its password it says password or username is wrong. but it does not give me an option to put in my new user name. How can I correct this.

    What you are getting is the AppleID (AppleID can be an email adress) used at the time of the purchase of this app.  It is an identifiant allowing Apple to link your purchase to your account.
    If you want to manage associated email, you can go at https://appleid.apple.com but the AppleID could never be modified.  
    I do not know if in your case, it is just that you no longer use your old email address or that you actually a 2 AppleID.  In any case, you will have to remember the password related to the account used for your purchase.  If you don't, just use the link above to try to retreive your password.

  • How do I correct Error U44M1P7 in order to update Photoshop CC?

    I have been trying to update Photoshop CC, but the updates fail due to Error U44M1P7.  How can I correct this situation in order to update?

    Try this.  http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-updates-ccm.html

  • After downloading the updates for Premier Elements 12 I got the following error message U44M1P7. What does this mean and how can I correct it. Thanks.

    After downloading the updates for Premier Elements 12 I got the following error message U44M1P7. What does this mean and how can I correct it. Thanks.

    glennpsychdoc
    What computer operating system is your Premiere Elements 12 running on? I suspect Mac because of the name your error.
    Please read the following Adobe document with the details and fix for error U44M1P7
    ATR Premiere Elements Troubleshooting: PE12: 12.1 Update Released
    Specifically open the following link in the above
    Update 12.1 installation errors | Photoshop Elements, Premiere Elements
    Please let us know if that works for you.
    Thank you.
    ATR

  • I recieved an error message when updating to itunes version 11.1.3.8. Says itunes has attempted to load C runtime library incorrectly. Version 11.1.3.8 works. How do I correct?

    I recieved an error message when updating to itunes version 11.1.3.8. Says itunes has attempted to load C runtime library incorrectly. Version 11.1.3.8 works. How do I correct?

    Hi there MRDLS,
    I would recommend taking a look at the troubleshooting steps found in the article below.
    iTunes 11.1.4 for Windows: Unable to install or open
    http://support.apple.com/kb/TS5376
    -Griff W.

  • The new update will not load. I keep getting an error. How do I correct this and complete the update?

    I am new to Creative Cloud and AI. I just signed on and noticed I had an update to AI. I clicked to update and all I get is an error. How do I correct this?

    Where exactly did you get that notice?
    In the Creative Cloud app?
    What exactly did you do?
    Which system?
    Which version exactly?

  • The recent software update on my HTC One has caused errors with Exchange ActiveSync issues. Calendar, mail and tasks sync fine but contacts won't sync. How do you correct this?

    The recent software update on my HTC One has caused errors with Exchange ActiveSync issues. Calendar, mail and tasks sync fine but contacts won't sync. How do you correct this?

    I had the same problem.  Here is what worked for me.  Open the mail app and delete your exchange account (Settings > Delete Account).  Then re-add your Exchange account.  After this my Exchange contacts showed up again. 

Maybe you are looking for