Error code -5002
Hi ,
I've tried to update a sale order (ORDR), but it returns the error code "-5002,msg= Document rows cannot be closed concurrently with the other document modifications you have made[RDR1.LineStatus][:Line:0]
the code is the following:
Dim Irow As Integer
Dim lErrCode As Long
Dim sErrMsg As String
Dim rnt As Integer
Dim cnt1 As String
Dim cnt2 As String
Dim rrnt As Integer
Dim grnt As Integer
Dim errcode As String
Dim errmsg As String
If oCompany.InTransaction Then
Else
oCompany.StartTransaction()
End If
'Sales order object
oOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
'Retrieve by Docentry
grnt = oOrder.GetByKey(sOrderNum)
'detail row count
Irow = oOrder.Lines.Count
If Irow > 0 Then
If Not bReversal Then
oOrder.Lines.SetCurrentLine(sOrderLine)
oOrder.Lines.LineStatus = BoStatus.bost_Close
rnt = oOrder.Update()
oCompany.GetLastError(errcode, errmsg)
System.Windows.Forms.MessageBox.Show("Final " & errcode & " " & errmsg)
End If
rnt = 0
Else
rnt = -1
End If
anybody can help me??
A150
Hi,
I am sorry, but this is the forum around Solution Certification - not about general SDK questions or issues.
Please use the "regular" Forum (SAP Business One SDK)!
Thanks
Similar Messages
-
Error Code :-5002 Error Message :Enter valid currency , '51100000-01-001-0
Hi all,
I have found a error "Error Code :-5002 Error Message :Enter valid currency , '51100000-01-001-01'" while adding the DELIVERY document.
I have made a customer and assign then "EURO" currency and add delivery document then it prompts error.
Could anyone solve this problem. is there any setting which i am missing..??
Regards
SandeshHI Sandesh,
Check Sap note :1252328
and also check below thread of similar issue:
Re: 'Invalid Currency' error when attempting to deliver order
Hope this will solve your issue.
Thanks,
Neetu -
Getting error code 5002 in itunes
Getting error code 5002 in itunes and tried the recommendations. Makes no sense! I can enter my account in safari and on iTunes store, but not through Itunes software!
Hello jmmairs,
It sounds like you are getting error code 5002 when trying to use the iTunes Store. Take a look at this info from the following featured discussion:
iTunes Store Error message 5002
https://discussions.apple.com/thread/4852016
This alert is often the result of an issue with verifying your billing.
Quit iTunes.
Open iTunes.
Test the issue.
If it persists, sign in to store.apple.com using your iTunes account.
Change your country if necessary
Click on Change account information
Modify or remove your credit card information.
Click Continue.
Test the issue.
Thank you for using Apple Support Communities.
All the best,
Sterling -
When I go to my ituns it tells me that IT cannot connect to iTunes. And it also pops up the error code 5002. WHen I try to sign in to the app store or iTunes store on my ipode touch 4g it will not say anything or let me sign in. But if I try do sign in with my old id it will let me. Can anyone please help me I would very happy if you could.
I was receiving this error too-it has to do with the billing. I had to update my card then ADD a shipping address and turn on the express button. I then was able to get on. You might try this and see if it works.
-
Why do I keep getting Error Code 5002 when trying to make a purchase from the Itunes store? I am using Vista Home edition> havent had any problems before. This has been going on for a week.
This alert is often the result of an issue with verifying your billing.
Quit iTunes.
Open iTunes.
Test the issue.
If it persists, sign in to store.apple.com using your iTunes account
Click on Change account information
Modify or remove your credit card information.
Click Continue.
Test the issue. -
Why do I get an error code 5002 when trying to redeem an iTunes gift card?
I have an iTunes gift card and everytime I enter the redemption code I get an error code 5002. Sure would like to be able to redeem my card.
This alert is often the result of an issue with verifying your billing.
Quit iTunes.
Open iTunes.
Test the issue.
If it persists, sign in to store.apple.com using your iTunes account
Click on Change account information
Modify or remove your credit card information.
Click Continue.
Test the issue. -
I am trying to install Creative MediaSource Player/Organizer 5.0.38 ([size="2" color="#3300ff">CMS5_PCAPP_LB_5_0_38.exe) for a Zen Micro?on a friends computer, having downloaded it from Creative whever I run the program it all extracts but once the install starts I get the "Error code 5002". I have also tried to install from the net with the same error, not surprisingly. I have also tried to install while in safe mode it gets further but then obviously doesn't see the player so then won't let me go further. Any ideas anybody, please?
I think this error can be for several reason, mainly about master data.
I'm sure one of them is a customer issue. the customer is not good. It can be also a wrong item code.
Try to use the SBO application, entering in the form excactly the same data than you try using the SDK. it may be revelant.
Sebastien -
HT3204 unable to purchase music - keep getting error code 5002 on - using Vista
Unable to purchase songs - keep getting error code 5002 - using Vista
I am having the EXACT same problem. It started on June 16th also. I found out that code 5002 is supposedly a billing issue. The article directed me to edit my billing information (even though it was correct). I tried to submit the new information and was told my request could not be processed, try later. I have been trying for 3 days. Was in contact with customer service. first they said it was an Itunes Stores issue with the software. they told me it was resolved. Then they had me uninstall and then reinstall Itunes, which still didnt resolve it. I am starting to think its still an Itunes Store issue. Still trying to cintact customer service about this.
-
Can not sign into itunes get error code 5002
I was able to sign into iTunes, but when attempting to download a song I received error code 5002 and to try back later. Now I Can not sign into ITunes at all and am still getting the code 5002. I've changed my credit card info via store.apple.com but this did not fix the problem. ran diagnostic check and everything is fine. Is this a problem on their end?
I fixed this error for my daughter after a while by working out that the address in her login profile was a different country from the iTunes and App store that she was logging into...
I also blogged about it to try to help others as this took out a good 6 hours of my Christmas evening trying to set up my kid's MBP.
http://blog.adaptovate.com/2014/12/fixed-itunes-5002-error-and-unknown.html
Doug -
ITunes won't allow me to download anything. I get unknown error code 5002
ITunes won't allow me to download anything. I get unknown error code 5002... what do I do?
I am entirely updated.
I have rebooted.
I have exhausted this support website....
help.I quote:
This alert is often the result of an issue with verifying your billing.
Quit iTunes.
Open iTunes.
Test the issue.
If it persists, sign in to store.apple.com using your iTunes account
Click on Change account information
Modify or remove your credit card information.
Click Continue.
Test the issue. -
What is error code 5002?
I am trying to purchase songs from my Itunes wishlist but keep getting error code 5002. Does anyone know of a solution?
Try purchasing the items one at a time, it worked for me. It turned out I had one item in there that was previously purchased many years ago. Usually you cannot even add a purchased item to the cart. Perhaps it did not know how to handle that. Deleting the wish list and starting over might also clear it.
-
HT201209 I keep getting an error code (5002) when I try to redeem my gift card.
I keep getting an error code (5002) when I try to redeem my gift card.
Hi StuNYC,
Welcome to Apple Support Communities.
It sounds like you're seeing an alert message when opening Mail on your iOS devices. Do you have multiple email accounts setup on the devices? Take a look at the article below, it provides suggestions that will resolve most issues that cause an alert like that to appear in when starting the Mail app.
iOS: Troubleshooting Mail
http://support.apple.com/kb/ts3899
I hope this helps.
-Jason -
I get error code 5002 when trying to purchase any titles from John Goodwin "She Lay Her Whip Down." I can buy other songs but not this. Benn trying for days. What is this code? I just want to buy a song.
Hi
Error -50 paramErr Error in user parameter list
Can there be any external hard disks - if so How is/are it/they formatted ? Must be Mac OS Extended (hfs) if used for Video.
UNIX/DOS/FAT32/Mac OS Exchange - works for most but not for VIDEO.
What this means in Your situation is above me.
• free space on internal boot hard disk? How much ?
Video codec
• streamingDV, AIC etc. (not .avi, .mp4, .m4v, .wmv etc as they are containers not codecs)
Pictures
• in what format ? .jpg, .bmp, .tif, else ?
Audio
• from where/what format ? iTunes, .avi, .mp3, .aiff, else ?
The "com.apple.iMovie.plist" file
Many users has not observed that there are TWO libraries.
• Library - at root level
• Library - in user/account folder - THIS IS THE ONE to look into
from Luke Burns
I fixed the problem.. but it was very, very strange. I had a very long section for credits and set the line spacing to 1.0.. for some reason this caused it. I removed it, and it worked fine. I put it back, and I couldn't preview or play the video.
I don't know why that could cause that big of a problem, but it did..
Klaus1
You need more free space on your hard drive.
jonorparkerjon
After phone support from apple I ended up creating a new project and adding all 117 clips back in individually till I found out what clips flagged and would not allow me to export. I had 3 I deleted and replaced and everything works now 1hr after tedious work....
Where do Your material come from
• Camera
• External hard disk
• USB-memory
And all are connected so that iMovie can find it ?
Yours Bengt W -
TS3297 keep getting error code 5002 when attempt to purchase music
code 5002 when attempting to buy music
This alert is often the result of an issue with verifying your billing.
Quit iTunes.
Open iTunes.
Test the issue.
If it persists, sign in to store.apple.com using your iTunes account
Click on Change account information
Modify or remove your credit card information.
Click Continue.
Test the issue. -
Error Code -5002 when updating Sales Quotation
Our Sales Quotation documents have 3 UDF: Contract Status, Approver1, Approver2.
when a user updates the Sales Quotation in SAP, our addon resets these fields by DI to 'Pending', "", "" , so the document needs to be approved again.
Here is the code called in AfterDataFormUpdate:
Me.oDoc.UserFields.Fields.Item("U_XX_Ap1U").Value = ""
Me.oDoc.UserFields.Fields.Item("U_XX_Ap2U").Value = ""
Me.oDoc.UserFields.Fields.Item("U_XX_ConSta").Value = "P"
fncRetVal.retCode = Me.oDoc.Update()
If fncRetVal.retCode <> AddonVars.enumReturnCodes.Success Then
oDiCompany.GetLastError(lErrCode, sErrMsg)
End If
I'm getting a retCode = -5002, and ErrMsg = "Cannot insert value in the 'Folio Number' field "
Has anyone seen this before? Any input is appreciated.
thanks,
Gracei read once in another thread about this.
its an sap bug in sap 2007.
[Error Documents Obj. -5002,Cannot insert value in the 'Folio Number' fiel|Error Documents Obj. -5002,Cannot insert value in the 'Folio Number' fiel]
Maybe you are looking for
-
Vendor code missing in Purchase order
Hi, Before creating a purchase order, it goes through an approval procedure. After being approved and opening the document drafts report, this purchase order appears with no vendor code and the corresponding field is grayed out. When trying to create
-
Table of Contents - Character style differentiation
After reading another post from the end of July regarding the same subject, I fear that there may be no solution, but I just want to confirm and ask for clarification. It the table of contents of my PhD thesis there are a few titles that have individ
-
How to load my pictures as screen savers
please forgive my ignorance but I totally do not understand what this cloud or iCloud is but i understand one must use it t o load one's own pictures onto Apple TV to use as screen savers.
-
Movement types for material movements in refurbishment process
Hi, I require some clarification about the movement types to be used when posting material movements in the standard refurbishment process. I am mentioning the standard refurbishment process below. Please correct me if I am wrong or if I missed anyth
-
How do I get Mail Sounds back?
Good Morning, I seem to have lost my mail sounds and I've tried everything. Settings in Preferences are all on set but no no sounds. It actually seems like a system thing cause the trash on desktop lost it's sound to now that I think of it. Is there