How do I find if the Invoice was added ( add button )

Is there a way that I can catch if the Invoice was added successfylly or not,  Given that the adding invoice is a manual user action and NOT a SDK process.
Version: SAP 2005A
any sugesstions/workarounds are highly appreciated.
Thanks,
Indika

Hi Indika
Are you using the UI Api?  If so you can catch an item event and see if the transaction was successful:
!itemEvent.BeforeAction - tells us the action has already happened.
itemEvent.FormType == 13 - only looks at Object Type 13 (Invoices)
itemEvent.ActionSuccess - tells us the action was successful (ie the Invoice was added)
public override void CatchItemEvent(string formUid, ref SAPbouiCOM.ItemEvent itemEvent, out bool BubbleEvent)
    if(!itemEvent.BeforeAction && itemEvent.ActionSuccess && itemEvent.FormType == 13)
        // transaction has occured successfully
Daniel

Similar Messages

  • How can i find out the last time a back up to icloud was done

    How can i find out the last time a back up was done to icloud?

    Go to Settings>iCloud>Storage & Backup.  It will be shown just below the Back Up Now button at the bottom.

  • How do I find out the date and time a picture was taken on my Ipad?

    How do I find out the date and time a picture was taken on my Ipad?

    Photo Manager Pro
    http://i1224.photobucket.com/albums/ee374/Diavonex/Album%202/7a2b3650710f4bded81 ab75dda6a3ee5.jpg

  • How can I find out the dpi of an image in Acrobat.

    How can I find out the dpi of an image in Acrobat. I have tried the pre-flight option but I really don't understand the pixels width x depth information that I get. I basically just want to know at dpi of a single image. Is there other program that will read my pdf file and tell me this information.

    Thank you, tylerdurdain! That was ridiculously difficult to find. Not sure what version of Acrobat you're using in your image, but for those using Acrobat Pro 11 (in Mavericks), it's buried under View > Tools > Print Production.
    That opens a panel on the right.
    To keep from having to chase it down this way each time, right click on "Output Preview" and choose "Add to Quick Tools Toolbar". That adds a button to the top right of the toolbar.
    Now you can call up the inspector with one click. Choose Object Inspector as tylerdurdain shows above, then click on the item displayed to get its properties.

  • How can you find out if another VI running on the same computer and how can you find out the name of that VI?

    Suppose that several VIs running simultaneously on the same computer. How can I find out the names of the running VIs, from another VI?
    If the already running VIs are clones of the same basic VI, open and run with the option "Prepare to call and forget", how can I find out the names and index of each clone? 

    I had an application where I spawned (= ran with Start Asynchronous Call) multiple (reentrant) copies of VIs, and would occasionally "lose control" of them.  I needed a way to find all VIs that were running "Top Level" and stop them (so I didn't have to log off from Windows).
    I used the Application Property "All VIs in Memory" to get an array of (wait for it ...) All VIs in Memory.  I took each name, opened a VI reference to it (simply wire the name string in, as the VI is, by definition, "in memory"), looked at its VI Execution State, and if it was Run Top Level, Invoked the FP.Close and Abort VI Methods.  [To prevent the VI that did all this from "committing Suicide", I compared the name string with the current Call Chain, and did nothing if there was a match].
    I think you could adopt this idea to do what you need.
    BS

  • How do I find out the ID of a reminder created with an applescript?

    I created an applescript to create a reminder from Quicksilver, but I want it to show the reminder once it has been created if Reminders was already open. If I use this, then another reminder with the same name sometimes gets shown. How do I find out the ID of a reminder when I create it and set it to a variable so that it will select the reminde I want it to, and if this is not possible, how should I do it?
    Here is the applescript:
    using terms from application "Quicksilver"
              on process text reminderData
                        if reminderData is "help" then return "Syntax: \"Name:Priority Time Date List Notes\""
                        set isName to true
                        set isPriority to false
                        set hasBeenPriority to false
                        set priorityEntered to false
                        set isTime to false
                        set hasBeenTime to false
                        set timeEntered to false
                        set isDate to false
                        set hasBeenDate to false
                        set dateEntered to false
                        set isList to false
                        set hasBeenList to false
                        set listEntered to false
                        set isNotes to false
                        set reminderName to ""
                        set reminderPriority to ""
                        set reminderTime to ""
                        set reminderDate to ""
                        set reminderNotes to ""
                        set reminderList to ""
                        set reminderDataCharacters to the characters of reminderData
                        repeat with i from 1 to number of items in reminderDataCharacters
                                  set currentItem to item i of reminderDataCharacters
                                  if isName is false and hasBeenPriority is false then set isPriority to true
                                  if hasBeenPriority and hasBeenTime is false then set isTime to true
                                  if hasBeenTime and hasBeenDate is false then set isDate to true
                                  if hasBeenDate and hasBeenList is false then set isList to true
                                  if hasBeenList then set isNotes to true
                                  if isName then
                                            if currentItem is ":" then
                                                      set isName to false
                                            else
                                                      set reminderName to reminderName & currentItem
                                            end if
                                  end if
                                  if isPriority then
                                            if currentItem is "!" or currentItem is "-" then
                                                      if currentItem is "!" then set reminderPriority to reminderPriority & "!"
                                                      set priorityEntered to true
                                            else
                                                      if currentItem is " " and priorityEntered then
                                                                set isPriority to false
                                                                set hasBeenPriority to true
                                                      end if
                                            end if
                                  end if
                                  if isTime then
                                            if currentItem is " " then
                                                      if timeEntered then
                                                                set isTime to false
                                                                set hasBeenTime to true
                                                      end if
                                            else
                                                      if currentItem is not "-" then set reminderTime to reminderTime & currentItem
                                                      set timeEntered to true
                                            end if
                                  end if
                                  if isDate then
                                            if currentItem is " " then
                                                      if dateEntered then
                                                                set isDate to false
                                                                set hasBeenDate to true
                                                      end if
                                            else
                                                      if currentItem is not "-" then set reminderDate to reminderDate & currentItem
                                                      set dateEntered to true
                                            end if
                                  end if
                                  if isList then
                                            if currentItem is " " then
                                                      if listEntered then
                                                                set isList to false
                                                                set hasBeenList to true
                                                      end if
                                            else
                                                      if currentItem is not "-" then set reminderList to reminderList & currentItem
                                                      set listEntered to true
                                            end if
                                  end if
                                  if isNotes then set reminderNotes to reminderNotes & currentItem
                        end repeat
                        if reminderDate is not "" then
                                  if reminderTime is "" then set reminderTime to time string of (current date)
                        end if
                        if reminderTime is not "" and reminderTime does not contain "am" and reminderTime does not contain "pm" then
                                  try
                                            if (item 1 of the characters of reminderTime) as number is greater than or equal to 8 and (item 1 of the characters of reminderTime) as number is less than or equal to 11 then
                                                      set reminderTime to reminderTime & "am"
                                            else
                                                      set reminderTime to reminderTime & "pm"
                                            end if
                                  end try
                        end if
                        try
                                  set reminderDateAndTime to date (date string of (date (reminderDate & "/" & last word of (date string of (current date)))) & " " & time string of (date reminderTime))
                        on error
                                  set reminderDateAndTime to false
                        end try
      createReminder(reminderName, reminderPriority, reminderNotes, reminderList, reminderDateAndTime)
                        tell application "Quicksilver" to show notification "The reminder was created successfully" text "Quicksilver successfully created your reminder."
              end process text
              on createReminder(theName, thePriority, theNotes, theList, theDate)
                        if thePriority is 1 then set thePriority to 9
                        if thePriority is "!" then set thePriority to 9
                        if thePriority is 2 then set thePriority to 5
                        if thePriority is "!!" then set thePriority to 5
                        if thePriority is 3 then set thePriority to 1
                        if thePriority is "!!!" then set thePriority to 1
                        tell application "System Events"
                                  if exists process "Reminders" then
                                            set wasOpen to true
                                  else
                                            set wasOpen to false
                                  end if
                        end tell
                        tell application "Reminders"
                                  if theDate is false then
                                            try
      make new reminder at list theList with properties {name:theName, body:theNotes, priority:thePriority}
                                            on error
      make new reminder with properties {name:theName, body:theNotes, priority:thePriority}
                                            end try
                                  else
                                            try
      make new reminder at list theList with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
                                            on error
      make new reminder with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
                                            end try
                                  end if
                                  if wasOpen then
      show reminder theName
                                  else
                                            quit
                                  end if
                        end tell
              end createReminder
    end using terms from

    This seems to find the ID, which is sort of the answer to my question, but I still don't seem to be able to use it to show to right reminder. I get this error:
    error "Reminders got an error: Can’t make reminder id \"1E436B16-561C-4F88-8CA6-78029BE68BBF\" into type integer." number -1700 from reminder id "1E436B16-561C-4F88-8CA6-78029BE68BBF" to integer
    What is wrong, and how should I fix it?
    Here is the createReminder block now:
    on createReminder(theName, thePriority, theNotes, theList, theDate)
              if thePriority is 1 then set thePriority to 9
              if thePriority is "!" then set thePriority to 9
              if thePriority is 2 then set thePriority to 5
              if thePriority is "!!" then set thePriority to 5
              if thePriority is 3 then set thePriority to 1
              if thePriority is "!!!" then set thePriority to 1
              tell application "System Events"
                        if exists process "Reminders" then
                                  set wasOpen to true
                        else
                                  set wasOpen to false
                        end if
              end tell
              tell application "Reminders"
                        if theDate is false then
                                  try
                                            set theReminder to make new reminder at list theList with properties {name:theName, body:theNotes, priority:thePriority}
                                  on error
                                            set theReminder to make new reminder with properties {name:theName, body:theNotes, priority:thePriority}
                                  end try
                        else
                                  try
                                            set theReminder to make new reminder at list theList with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
                                  on error
                                            set theReminder to make new reminder with properties {name:theName, body:theNotes, remind me date:theDate, priority:thePriority}
                                  end try
                        end if
                        set theID to the id of theReminder
                        if wasOpen then
      show theID
                        else
      quit
                        end if
              end tell
    end createReminder

  • How do I find out the date in which I registered my imac?

    How do I find out the date in which I registered my imac?

    It doens't really matter what date you registered it. However if you are looking to see when your expiration on AppleCare is/was it is 3 years from the original date of purchase. You can use the Apple Online Service Assistant afer you input the serial number click the link that says See your service and support coverage.

  • I havev installed a new Hard Drive on my laptop but cannot find my Photoshop Elements product box with the serial number to install Elements 10 or Elememts Premier 10. How can I find out the serial / installation codes for these?

    I havev installed a new Hard Drive on my laptop but cannot find my Photoshop Elements product box with the serial number to install Elements 10 or Elememts Premier 10. How can I find out the serial / installation codes for these? I saw a reply however, it was not my name and assumed it was for someone else. Now timed out. Can UI still have help on this matter please?

    If you registered PSE before, go to the main page of adobe.com, sign in and go to your account and you should find the serial number there in your purchases.

  • How can I find out the age of my imac

    How can I find out the age of my computer to see if it will be able to download latest operating system

    Open System Profiler in Utilities folder. Look for the Model ID on the right. Then see the following:
    Upgrade Paths to Snow Leopard, Lion, and/or Mountain Lion
    You can upgrade to Mountain Lion from Lion or directly from Snow Leopard. Mountain Lion can be downloaded from the Mac App Store for $19.99. To access the App Store you must have Snow Leopard 10.6.6 or later installed.
    Upgrading to Snow Leopard
    You can purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard — Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s iCloud services; fees and
               terms apply.
    Upgrading to Lion
    If your computer does not meet the requirements to install Mountain Lion, it may still meet the requirements to install Lion.
    You can purchase Lion by contacting Customer Service: Contacting Apple for support and service — this includes international calling numbers. The cost is $19.99 (as it was before) plus tax.  It's a download. You will get an email containing a redemption code that you then use at the Mac App Store to download Lion. Save a copy of that installer to your Downloads folder because the installer deletes itself at the end of the installation.
         Lion System Requirements
           1. Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7,
               or Xeon processor
           2. 2GB of memory
           3. OS X v10.6.6 or later (v10.6.8 recommended)
           4. 7GB of available space
           5. Some features require an Apple ID; terms apply.
    Upgrading to Mountain Lion
    To upgrade to Mountain Lion you must have Snow Leopard 10.6.8 or Lion installed. Purchase and download Mountain Lion from the App Store. Sign in using your Apple ID. Mountain Lion is $19.99 plus tax. The file is quite large, over 4 GBs, so allow some time to download. It would be preferable to use Ethernet because it is nearly four times faster than wireless.
         OS X Mountain Lion — System Requirements
           Macs that can be upgraded to OS X Mountain Lion
             1. iMac (Mid 2007 or newer) — Model Identifier 7,1 or later
             2. MacBook (Late 2008 Aluminum, or Early 2009 or newer) —
                 Model Identifier 5,1 or later
             3. MacBook Pro (Mid/Late 2007 or newer) — Model Identifier 3,1 or later
             4. MacBook Air (Late 2008 or newer) — Model Identifier 2,1 or later
             5. Mac mini (Early 2009 or newer) — Model Identifier 3,1 or later
             6. Mac Pro (Early 2008 or newer) — Model Identifier 3,1 or later
             7. Xserve (Early 2009) — Model Identifier 3,1 or later
    To find the model identifier open System Profiler in the Utilities folder. It's displayed in the panel on the right.
    Are my applications compatible?
             See App Compatibility Table — RoaringApps.
         For a complete How-To introduction from Apple see Upgrade to OS X Mountain Lion.

  • HT204088 how to I find out the most recent deductions to my account from the app store (say, for a recent download for additional functionality on a iPad game)

    How to I find out the most recent deductions to my account from the app store (say, for a recent download for additional functionality on a iPad game). Much as I try, I can't seem to get to see my account in enough detail to see what I have spent downloading apps to the ipad.

    You need to punch in the passcode for any purchase right, not just for new apps??
    If one of the other students, or anyone else, got access to your iTunes Store account, necessary to make any purchases, then they'd have all the information they'd need to also make in-app purchases. But an in-app purchase can only be made through the account through which the original app was purchased. Either your son bought the game (free or paid) and then shared it with someone else along with the account information (necessary to authorize the app on someone else's device), or someone else downloaded the game as well, not just made in-app purchases.
    In any case, changing your iTunes Store password should now have cut off any such unauthorized activity, though of course if your son gives the new password out, you'll be back to square one.
    Regards.

  • APPLE CARE - How do I find out the date of purchase of my mac?

    Can anyone point out how do I find out the exact date of purchase of my mac? I would like to purchase the apple care extended warranty and I do not recall the exact date of purchase of my mac...just before or after a full year...? Can I look it up anywhere?
    Many thanks in advance for your help.
    Max

    You can go to this site,
    https://selfsolve.apple.com/GetWarranty.do
    it tells you when your warranty expires which is 1 year after you purchased it, thats possibly the easiest way, but if you bought it from a store it may be different as it may be the date they purchased it.
    With the extension program, if i purchase one now, my MBP was purchased april last year, will the extended warranty ad onto the date i purchase the extension program or from april last year when i purchased the mbp? I'm wondering because if purchase it now that effectively makes it covered for warranty for up to 4 years!

  • How do i find out what app was deleted by mistake on my iphone 5?

    How do I find out what app was deleted by mistake on my iphone5?

    Do you mean that you deleted an app by mistake and you don't know which one it was?
    Look for it in the Apps section of iTunes. If you used iTunes to sync your phone, just choose Install next to the app, then resync.

  • How do I find out the owner of the device that made the last purchase on my appleID account?

    How do I find out the registered owner of the device that made the last purchase to my appleID account?  I think my son is using someone else's device.

    You can't see what device or computer a purchase was made on. If the device has used iTunes Match, automatic downloads or redownloaded past purchases then it might be shown in the 'manage devices' list on your account (but that only lists computers/devices, it doesn't show when/what each has purchased) : http://support.apple.com/kb/HT4627

  • HT201407 how can i find out the carrier of my iphone?

    i bought this  iphone 3gs  but when i try to activate it. i tells me this iphone is not  supported with the carrier you are trying to use/ how can i find out  the carrier because when i bought it was saying unlocked. thanks

    The SIM has a carrier ID on it.  Too, you can try:  www.iphoneox.com.

  • How can we find out the disk which is used for a mount point

    How can we find out the disk which is used for a mount point?
    one of our mount point(/u03/oracle/prod) was using high I/O and this was causing slowness in the server.
    I can see a disk operation error in errpt at the same time as below. Wanted to check whether the mount point /u03/oracle/prod is using the disk hdisk31
    $errpt|more
    IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
    DXB78877 1125032114 T H hdisk31 DISK OPERATION ERROR
    OS version:AIX 6.1
    DB:11.2.0.2

    this is the output for cat /etc/filesystem
    /u02:
            dev             = /dev/fslv00
            vfs             = jfs2
            log             = /dev/loglv00
            mount           = true
            options         = rw
            account         = false
    /u01:
            dev             = /dev/fslv01
            vfs             = jfs2
            log             = /dev/loglv00
            mount           = true
            options         = rw
            account         = false

Maybe you are looking for