Trying to close a document line but exception is thrown

I'm trying to close a document line, that is, setting LineStatus property to 1 (wich coresponds to 'C' [closed]).
But i receive this message from SAP: 'can't close a row of this document type' (it's a translation so the message could be slightly different), prompting that this is an error in LineStatus property.
Any ideas?
regards
Edited by: Peter Petrelli on Nov 12, 2008 4:32 PM

Hi Peter,
The first thing to test would be if you can close the line manually in the SAP Business One application without using the AddOn.
- If not and you get the same error it might be system behaviour depending on which form.
- If yes, there might be a bug in the DI API which should be reported in a SAP Ticket.
The second thing to test would be if you can close the row
- in a different document of the same type
- in the same document type in a different database
Let us know of your results and more specific information which document you are using.
Kind Regards,
Friederike
SAP Business One Forums Team

Similar Messages

  • Facebook app is blocked on "waiting..". I tried to close the app firstly but it doesn't appear on the multitasking. I tried the normal and the hard reset. I tried to move the app in another group with itunes but it is still in "waiting". Any suggestion?

    Facebook app is blocked on "waiting..". I tried to close the app firstly but it doesn't appear on the multitasking. I tried the normal and the hard reset. I tried to move the app in another group with itunes but it is still in "waiting". Any suggestion?

    I can't! Tried to deleteit  from the iphone and from itunes but the X doesn't appear!

  • I can"t open any pages documents after failure occurred while trying to close a document

    I noticed that I am not the only one with this problem. I think it's an apple glitch. It is telling me that I need a newer version but I already upgraded it with OS X mavericks download. Come on apple fix this problem I do school work on my computer and if I did not save it in a DOC file I can not retrieve it. This is major problem, I have deadlines.THANKS!

    Since you have already updated to Pages 5.2 on your Mac, you have two versions of Pages on your Mac & are trying to open Pages 5 documents with Pages 4. Are you launching Pages from an icon in your Dock? Installing the update does not change the Dock icons & it does not remove the older versions. Go to your Applications folder & launch the new Pages from there then right-click on the Dock icon & select Options > Keep in Dock.
    Installing new versions of iWork has never replaced existing versions. This is nothing new. The only thing new is that the '09 apps are moved to an iWork '09 folder if they were purchased from the Mac App Store. If they were installed from disk they should already be in a separate folder in Applications.

  • Trying to install Photoshop Elements 12 from a DVD. I keep getting an error message that says "Error opening installation log file.  Verify that the specified log file location exists and is writable."  Have tried the solutions suggested on line but get t

    Have tried turning explorer of and on again and other recommended solutions but nothing seems to work.  Any suggestions?

    David,
    Can you please try Right-Click Setup.exe  > Run As Administrator
    and see if it helps.
    Thanks,
    Anwesha

  • I have a dumb phone I am trying to update my operating system but don't have the software update under general setting. I've tried to do this on line but nothing! Help

    I have a dumb phone not a smart phone. It doesn't have the software update under general setting. I tried to upgrade online but nothing! Currently, I cannot get many apps because I need the upgrade. Help

    That's because you don't have iOS 5 or higher. See the following:
    Connect the phone to your computer. Open iTunes. Select your phone from the sidebar under Devices. Click on the Summary tab in the main window. Click on the Update button.

  • Iwas mugged and had my iphone stolen so am now trying to find it on line but need support please.

    I was mugged Wednesday night and would like help finding my iphone please.

    Help doing what?
    IF you set up find my iphone on the iphone itself before it was stolen and it is on and it has not been restored then you may be able to locate using icloud.
    Otherwise there is nothing you can do but report it to the police and change your passwords.

  • Close a document immediately

    Hi,
    I want to close a document and reopen it immediately. I am using SDKLayoutHelper methods to open and close a document. But closing a document with kProcess always crashes. I tried various methods(IDocumentCommands, ProcessScheduledCommands) to make it work but everytime it crashes.
    Can anybody suggest me what is the right way to close and reopen the document immediately?
    I am using InDesign CS4.
    Thanks,
    VSP
    P.S. I am able to close and reopen by scheduling the commands.

    Hi,
    I tried the following code and it crashes.I have taken the BasicMenu sample and tried to close the current active document.
    As per the previous reply from Dirk I reset the docPtr before close. This is to remove the reference to the document.
    Thanks,
    VSP
    void BscMnuActionComponent::DoAbout()
    InterfacePtr<IDocument> docPtr(GetExecutionContextSession()->GetActiveContext()->GetContextDocument(), UseDefaultIID());
    UIDRef documentUIDRef = ::GetUIDRef(docPtr);
    InterfacePtr<IDocFileHandler> docFileHandler(Utils<IDocumentUtils>()->QueryDocFileHandler(documentUIDRef));
    if (!docFileHandler)
         return;
    if (docFileHandler->CanClose(documentUIDRef))
         docPtr.reset();
         docFileHandler->Close(documentUIDRef, kSuppressUI, kTrue, IDocFileHandler::kProcess); // Tried with kFullUI and it crashes.

  • I am trying to download the new version of Firefox but when I try its says to close all firefox connections but I don't have any open. The only open window is the one to start the download only

    I am trying to download new version of Firefox. After I try to run the program it states to close all Firefox versions but there is no Firefox open except for the download. What else can I do

    Do you have the "Green Arrow" icon on one of your toolbars? That usually will list your most recent downloads with a button to open the folder where they are saved.
    If you don't have that, you can open the full download list using either:
    * Ctrl+j
    * Tools > Downloads
    * History > Show All History, then click Downloads in the left column
    Can you find the download listed there and click the "Open Containing Folder" button?
    Are you downloading Flash or Acrobat/Reader?
    For Flash try: http://get.adobe.com/flashplayer/
    For Acrobat/Reader, you may not need an update.
    Firefox's plugin check site only recognizes the Adobe XI (11) series as current, but if you have checked for updates in your Adobe Reader X or Adobe Acrobat X product (Help > Check for Updates) then you do not need to update the plugin. For this older Reader/Acrobat version, please rely on Adobe for information on available updates and not the plugin check site.

  • Sales order - update line status to close the document with DTW

    Hi everybody,
    yesterday i tried to update the line status of sales order lines from "O" to "C" with DTW. At first he ask me for DocRate. Then set DocRate to "1". After then DTW wrote, that I can't update the lines, during update the document... Can someone help me..., maybe with an example for DTW.
    Happy new year to everyone.
    Best regards
    Stefan

    Hi Stefan Ressel,
    Welcome To SAP Community Network Forum
    Sales Order line status close that means for particular line Item Quantity Delivered through Delivery document and sales order line status open to close.
    OR
    You have to manually close Sales Order line status without delivered Quantity.
    Check in your case Item Quantity are to be delivered through Delivery document. Right click on line & check Target document.
    If Sales Order Item Quantity are to be delivered through Delivery document then SAP restrict to update line status.
    Thanks,
    Srujal Patel

  • Trying to delete file from trash but get this: The operation can't be completed because the item "File name" is in use. All other files delete except this one. Please help

    Trying to delete file from trash but get this: The operation can’t be completed because the item “File name” is in use. All other files delete except this one. Please help

    Maybe some help here:
    http://osxdaily.com/2012/07/19/force-empty-trash-in-mac-os-x-when-file-is-locked -or-in-use//

  • I have just redeemed my iTunes card of 25 dollars, I have 23 dolIars left now, I tried downloading a few songs later, but it says something along the lines of credit mismatch mobile message, I can't download anything with credit. How do I fix the problem?

    I really need help, I purchased an iTunes card about an hour ago and downloaded two things, I tried to download a couple songs but it won't let me, every time I try it says something along the lines of credit mismatch mobile message. How do I fix this? It says I have 23 dollars left but it's not working. How do I fix the problem? Please help!

    its very annoying but you have to log out of your account. than try to buy the sone. it will ask you to sign in. do it. the sond will start to download. it only works once, so you have to do it over and over for every song :/

  • I am trying to open iBook on my iPhone 5s with iOS 8.2, iBook closes.  I have tried restarting iBook, and the phone, but it still happens, any suggestions?

    I am trying to open iBook on my iPhone 5s with iOS 8.2, when it opens I have a white screen for a few minutes, then iBook closes.  I have tried restarting iBook, and the phone, but it still happens, any suggestions?

    do a reset: hold the power and home buttons simultaneously until the Apple logo appears.

  • Regarding Pages: I can't access the document I was writting on at all. I have tried to send the document to my email, I've tried to make a copy but nothing seems to work, it just shows up blank.

    Regarding Pages: I was writing using the app Pages when I left the page I was writting on but now I can't access it at all. I have tried to send the document to my email, I've tried to make a copy but nothing seems to work. The document still exists and I can see my writting as I can with all other documents but I can't open that page.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Connect the iPad to your computer and try to get the document via File sharing
    - Try getting the document from iCloud.com if you are using iCloud

  • When I open Pages, it opens all previous documents. But I cannot close them:if I try, the program crashes

    Hello everyone.
    Since middle february, Pages has not been working properly.
    When I start the program, it opens by default a blank page. That was fine until recently. I would simply close it and open my desired document. But now I cannot close the blank document: if I do it, the program crashes.
    I have bypassed the problem by simply minimizing the blank one and going along with my own documents... Unfortunately now the problem has increased, as it will not close any document.
    Therefore when I start the program, it will re-open all the documents and it will crash all the time I try to close them.
    Also, It will not let me save them or turn themm to PDF.
    What can I do ?
    I have also removed the previous software and I bought (again) Pages on the App Store last week... results: NONE!! it still won't work.
    HEEEELLLPPPPP
    thank you
    jack

    Hello
    I was warned of your problem by Jerrold.
    As I'm really besy this evening, I didn't read carefully the available message.
    What you get is a Lion's feature named "Resume".
    If you dislike me (as I do but I don't feel useful to rant against it) there are several ways to get rid of it.
    (1) In theory, it's sufficient to uncheck a box in the General System PrefPane.
    I wrote « in theory » because, at least in the French version this feature is broken.
    (2) Some third party tools are delivered to rule the feature's behavior for each application.
    Here are two free ones :
    Lion Tweaks ( http://ifredrik.com/applications/ )
    TinkerTool ( http://www.bresink.com/osx/TinkerTool.html )
    (3) As none of them apply on my French System, I designed a home made brute force tool.
    --{code}
    --[SCRIPT don't resume]
    if my parle_Anglais() then
              display dialog "What to do ?" buttons {"Cancel", "Restart", "Shutdown"} default button 3 cancel button 1
              set |éteindre| to (button returned of result) is "Shutdown"
    else
              display dialog "Que faire ?" buttons {"Annuler", "Redémarrer", "Éteindre"} default button 3 cancel button 1
              set |éteindre| to (button returned of result) is "Éteindre"
    end if
    (path to library folder from user domain as text)
    tell application "System Events"
              delete every folder of folder (result & "Saved Application State")
              if |éteindre| then
      shut down
              else
      restart
              end if
    end tell
    --=====
    on parle_Anglais()
              return (do shell script "defaults read 'Apple Global Domain' AppleLocale") does not start with "fr_"
    end parle_Anglais
    --=====
    --[/SCRIPT]
    --{code}
    Save this script as as Script and store it in the folder :
    <startupVolume>:Users:<yourAccount>:Library:Scripts:
    On my machine, thanks to FastScripts, I attached a shortcut to this script.
    So, when I press cmd +option + ctrl + Q I get this dialog :
    On an English System, the buttons are :
    Cancel, Restart, Shutdown.
    When we trigger the last two, the folder storing the dats required by the system to apply « Resume » is emptied so when we restart the machine no extraneous window is opened.
    I didn't described the way to reach the folder named Scripts.
    I'm sur that Jerrold will do that with a better English.
    Yvan KOENIG (VALLAURIS, France) mardi 17 avril 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.3
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k

  • I recently tried to print a document to an hp printer, but received error 79 message. Can anyone assist me

    I recently tried to print a document to an hp printer, but received error 79 message. Can anyone assist me

    Google is your friend: Hp Error Code 79, Service Errors 79 Laser Printer Repair
    As long as you don’t mind your friend always reading over your shoulder.

Maybe you are looking for

  • FB contacts in my Iphone contact list

    I just updated my O/S and all my facebook contacts are now in my Iphone contacts liste. Cannot delete them ? what can I do ? I don't want all my FB contacts in my phone

  • Constant Purple & Orange Flashing light on BTHH3

    We're currently experiencing problems with our line. No internet. As mentioned on the subject, the light on the Hub3 is constantly flashing purple and orange. On the white Openreach modem, the LED light labeled DSL will blink for a few of seconds, th

  • Slideshows show photos out of order

    Hi there I have an Apple TV and looking at my slideshows, my photos are displayed out of order. I renamed all the files so they are in the sequence I want, however that made no difference. Seems as though the Apple TV is showing the files in order of

  • How to send message to direct connected users

    Hi, I am working on a text Chat application with FMS4 "RTMFP" connection and i am looking a functionality to send direct message to one to another peer, please some one help me. Thanks Sushil

  • Icloud sync trouble ??

    Well I just got rid of my BBerry because of sync trouble to a Mac ... So the most obvious choice was ... aaahhh finally A Iphone ... So I got the latest new one 4S now I even got more trouble .... since one week Icloud sync is not reliable .. result