Error 5002
Tonight when I tried to check for purchases, it said, "Unable to check for purchases. An unknown error occurred (5002).)
Anybody know what this means?
I also cannot buy anything. It gives me another message, "Could not purchase. The network connection was reset. Make sure your network connection is active and try again." Well, my network connection is active but it still won't work.
Well, I actually never did get an answer but everything is working just fine now.
Similar Messages
-
"Internal error (-5002) occurred" On Pick List Update Picked Quantity
Hi Experts,
I have an SDK program that simply tries to update the Picked Quantity in SAP. Previously it has been working fine, until I try to use the same logic for items managed by Batch or Serial Number.
In this scenario, I have created a PickList with only 1 row, the item is managed by Serial Number.
I try to simplify the code as below.
Dim oBaseDocument As SAPbobsCOM.PickLists
oBaseDocument = oComp.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPickLists)
BaseDocument.GetByKey(12345)
oBaseDocument.Lines.SetCurrentLine(0)
oBaseDocument.Lines.PickedQuantity += 1
oBaseDocument.Lines.BinAllocations.Add()
oBaseDocument.Lines.BinAllocations.SetCurrentLine(0)
oBaseDocument.Lines.BinAllocations.BinAbsEntry = CInt(sBinAbsEntry)
oBaseDocument.Lines.BinAllocations.Quantity += dXML_Quantity
oBaseDocument.Lines.SerialNumbers.InternalSerialNumber = sXML_BatchSerialNo ' <--- ***
lRet = oBaseDocument.Update
I have added the *** line for handling the Serial Number, but when it hit the Update command, the SDK returns "Internal error (-5002) occurred".
I'm not sure what does it means.
Anyway I tried to remove the *** line and it works fine for item not managed by Batch or Serial, but the issue will remains for the Items managed by Serial or Batch.
Please advise whether I missed anything in this code.
Thank you in advance.
Best Regards,
KrismaHi Krisma,
I haven't done this thing practically but error -5002 will occur, if there is any Invalid Object.
You can check it accordingly.
Hope it helps.
Thanks & Regards
Ankit Chauhan -
ITunes 10.6 stopped iTunes Match (error 5002)
I have a large iTunes Match upload step in progress (will prob take a couple of omnths to complete!) and I upgraded to iTunes 10.6 today. ie. before the upload step was completed.
When I tried to start the Match process again after upgrading, I kept getting error 5002 saying there was a problem with the iTunes store.
I tried signing out and then back in to the iTunes Store from iTunes but then Match said that I needed to add my computer to the Match service - this also errored out with 5002 when I tried to do it. ie. It no longer recognised my existing compter as being authorised for the store and wouldn't let me add it again.
I did manage to reoslve the problem by completing the following from within iTunes:
1. Store --> Sign Out.
2. Store --> Sign In
3. Store --> View This Account
4. (Apple ID Summary) Deathorise All Computers. Click Done
5. Click iTunes Match and No Thanks to add this computer (this turned Match off).
6. Store --> Turn on iTunes Match
7. iTunes Match --> Add this Computer
I was then able to start the Match process again.KeithJenner wrote:
Does anyone know how much of Sgt Pepper matched previously? Roebeet previously reported 3 tracks from Magical Mytery Tour matched, but I haven't done them myself.
Here are my results for the Beatles Sgt. Pepper's and Magical Mystery Tour 2009 Mono Remastered albums prior and after the iTunes 10.6 update (IOW, no change)...
I tried deleting all of the songs on both albums (without deleting them from iCloud) and downloaded them again...and everything remained the same. However that may be because all of my Beatles albums were ripped at 320kbps, so other's results may vary.
BTW, I have both the 2009 Mono and Stereo Remastered versions of these albums. 100% of the stereo versions were matched (not uploaded) prior to iTunes 10.6.
IIRC one of the odd "unmatched" tracks others reported right after iTunes Match went live was the Beatles Abby Road "She Came In Through the Bathroom Window". I never experienced that bug however.
I have noticed that since the iTunes 10.6 and iOS 5.1 updates, cover art that would sometimes go missing on my iPhone 4 and/or iPad (or even my Apple TV2) now seem to show up without fail...including cover art that I had added myself.
Hope that helps! -
Cannot download songs get error 5002. Does anyone know why this is happening?
I was able to download about 4 new songs today, but then started to get an error 5002 when trying to download a few more. Does anyone know why this happening and how to resolve? I've already shut down and restarted my phone, logged out of itunes and relogged in...neither solved the issue.
It didnt do anything for me...
just to make sure... of the correct step...
rm -rf ./.itmstransporter
then
sudo /Applications/iTunes\ Producer.app/Contents/MacOS/iTunes\ Producer
About that folder, I searched for it, but couldnt find it, is it inside the Itunes Producer packages?
is there a way to localize it in finder? -
I have a Macbook Pro that I have just renewed and transferred over my old hard drive (also from a Macbook Pro). Now when I turn on the computer and ITunes opens I get error (-50) and then error 5002 when I try to sign in to ITunes Store - Help!
My dealer has tried and failed (twice) to correct this and I have tried deleting the two items in the Itunes folder but no luck!were you able to get help on this? I need help on error 5002 as well. thank you
-
Error 5002 - when trying to access shopping cart in iTunes
I've noticed some people had this error yesterday & it was apparently resolved, but I'm getting error 5002 today. Is this the same problem? Will it be sorted soon?
We are experiencing this sudden error now too. Up until last night, we were accessing our Cart. But, then after adding one more song and deleting some from the cart, we got the error and cannot access the account from any machine. In addition to this one, we have a brand new iMAC "24, dual Intel; a PowerBook G4, and a Gateway Laptop running XP. None of the machines can access this Cart. Our other iTunes account is fine, without problem. But, this account's cart is inaccessible. I can find no solution.
-
I can't buy new music because of "Unknown error (5002)"
im not too computer smart and i need help. I can't buy new songs for iTunes because of error 5002 (i have windows). The website doesn't have any help for that error s im asking all of you:). Please help!
I had the same problem. Although I did get 7.1 to work for a while and then suddenly all podcasts coming errored with 39. Also despite Windows recognising my iPod, itunes would never pick it up unless I went into service and manullay stopped and started the ipodservice.
Anyhow gone back to iTunes version 6. Will wait for iTunes 7.2 for one final try.....before giving up. -
I get error 5002 when trying to redeem gift cards , what do I need to do to fix this.
I get error 5002 when trying to redeem gift cards, what can I do to fix this?
http://store.apple.com/us
I have been trying to fix this myself and just found a way tonight. This started happening after I downloaded a new version. I tried several other approaches and was unsuccessful until I was directed to the support website. I searched for 5002 error. I chose specific conditions and alert message. Then chose "Error 5002" which gave a little detail.
Basically I had to go to the above site and change my password and some other account information. It didn't work when I tried in my actual ITUNES application. I think because my account was so old and they upgraded some security items like stronger passwords etc., so the old stuff was no longer good enough. I have now redeemed two gift cards. I hope it helps. -
I get error 5002 when trying to buy 3.1 software for iPod touch 1st gen
I get error 5002 when trying to buy 3.1 software for iPod touch 1st gen.
That is a paid update you get here:
Purchasing iOS 3.1 Software Update for iPod touch (1st generation) -
I keep getting "Error 5002" When I try to buy an album. What do I do?
I keep getting "Error 5002" When I try to buy an album. What do I do? I already reinstalled iTunes... not sure what this error means or how to be able to buy this album.
There's some info on your error message number in the Specific Conditions and Alert Messages: (Mac OS X / Windows) section of the following document:
iTunes: Advanced iTunes Store troubleshooting -
Scenario for Payment Terms Types Objects - DI Error: (-5002)
Hi Experts,
I am developing an scenario for creating and updating Payment Terms Types from the headquarter company to subsidiary companies. The object for this process is B1.8.8_PTT Payment Terms Types.
I created the bizstep and this is the xsl transformation:
<BOM xmlns="">
<BO>
<AdmInfo>
<Object>40</Object>
<Version>2</Version>
</AdmInfo>
<QueryParams>
<GroupNumber>
<xsl:value-of select="BO/BusinessPartnerGroups/row/GroupNumber"/>
</GroupNumber>
</QueryParams>
<PaymentTermsTypes>
<row>
<PaymentTermsGroupName>
<xsl:value-of select="BO/BusinessPartnerGroups/row/PaymentTermsGroupName"/>
</PaymentTermsGroupName>
<StartFrom>
<xsl:value-of select="BO/BusinessPartnerGroups/row/StartFrom"/>
</StartFrom>
<NumberOfAdditionalMonths>
<xsl:value-of select="BO/BusinessPartnerGroups/row/NumberOfAdditionalMonths"/>
</NumberOfAdditionalMonths>
<NumberOfAdditionalDays>
<xsl:value-of select="BO/BusinessPartnerGroups/row/NumberOfAdditionalDays"/>
</NumberOfAdditionalDays>
and so on with the rest of the field of the object...
<CreditLimit>
<GeneralDiscount>
<InterestOnArrears>
<LoadLimit>
<PriceListNo>
<OpenReceipt>
<DiscountCode>
<DunningCode>
<BaselineDate>
<NumberOfInstallments>
<NumberOfToleranceDays>
When I update or create payment term I get this error:
DI Error: (-5002) Data is not available; modify selection criteria and re-enter
If you know where could be the problem help would be appreciated.
Thanks in advance.
DavidHi,
I found my error in the xsl file.
The correct value is "<xsl:value-of select="BO/PaymentTermsTypes/row/...".
Thanks anyway,
David -
We are trying to create Invoices using the SDK tool for a clients interface. Everything goes ok, except at the point where we add the document, we get the following message:
Error -5002, Update quantities in purchase order? (INV1.Quantity) Line[2]
Any ideas? We have searched the SAP notes, but nothing is available. Are we missing anything?
We are running on Version 6.50.098
Thanks
MariosHello Marios,
This error occurs because the last line you are trying to add to the Marketing Document is an empty line. It is a new functionality in Version 6.5 that the document object automatically comes with one document line so if you are adding just one line you do not need to use oDocument.Lines.Add,
It is only for the second and subsequent lines of marketing documents that you require the method oDocument.Lines.Add. Note 722693 describes the issue.
Regards,
Lisa -
Why do I get "Internal Error (-5002) occurred" when doing external recon via SDK ?
I can reconcile an invoice and matching incoming payment as below:
Table OJDT is:
BatchNum
TransId
BtfStatus
TransType
BaseRef
RefDate
Memo
Ref1
Ref2
CreatedBy
LocTotal
FcTotal
SysTotal
TransCode
OrignCurr
TransRate
BtfLine
TransCurr
Project
DueDate
TaxDate
PCAddition
FinncPriod
DataSource
UpdateDate
CreateDate
UserSign
UserSign2
RefndRprt
LogInstanc
ObjType
Indicator
AdjTran
RevSource
StornoDate
StornoToTr
AutoStorno
Corisptivi
VatDate
StampTax
Series
Number
AutoVAT
DocSeries
FolioPref
FolioNum
CreateTime
BlockDunn
ReportEU
Report347
Printed
DocType
AttNum
GenRegNo
RG23APart2
RG23CPart2
MatType
Creator
Approver
Location
SeqCode
Serial
SeriesStr
SubStr
AutoWT
WTSum
WTSumSC
WTSumFC
WTApplied
WTAppliedS
WTAppliedF
BaseAmnt
BaseAmntSC
BaseAmntFC
BaseVtAt
BaseVtAtSC
BaseVtAtFC
VersionNum
BaseTrans
ResidenNum
OperatCode
Ref3
SSIExmpt
SignMsg
SignDigest
CertifNum
KeyVersion
CUP
CIG
SupplCode
SPSrcType
SPSrcID
SPSrcDLN
DeferedTax
AgrNo
SeqNum
ECDPosTyp
RptPeriod
RptMonth
U_BType
U_CLIST
NULL
3285
O
13
1328
2014-08-10 00:00:00.000
A/R Invoices - AFR100
1328
1328
900.000000
900.000000
900.000000
NULL
NULL
0.000000
NULL
USD
NULL
2014-08-10 00:00:00.000
2014-08-10 00:00:00.000
N
104
I
2014-08-10 00:00:00.000
2014-08-10 00:00:00.000
1
1
N
0
30
NULL
N
N
NULL
NULL
N
N
NULL
N
17
3285
N
4
NULL
NULL
944
N
N
N
N
NULL
0
N
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
N
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
9.02.003.11
NULL
1
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
N
NULL
NULL
N
NULL
NULL
NULL
NULL
NULL
3286
O
24
1375
2014-08-10 00:00:00.000
Incoming Payments - AFR100
1375
1375
900.000000
900.000000
900.000000
NULL
NULL
0.000000
NULL
USD
NULL
2014-08-10 00:00:00.000
2014-08-10 00:00:00.000
N
104
I
2014-08-10 00:00:00.000
2014-08-10 00:00:00.000
1
1
N
0
30
NULL
N
N
NULL
NULL
N
N
NULL
N
17
3286
N
15
NULL
NULL
945
N
N
N
N
NULL
0
N
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
N
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
9.02.003.11
NULL
1
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
NULL
N
NULL
NULL
N
NULL
NULL
NULL
NULL
Table JDT1:
TransId
Line_ID
Account
Debit
Credit
SYSCred
SYSDeb
FCDebit
FCCredit
FCCurrency
DueDate
SourceID
SourceLine
ShortName
IntrnMatch
ExtrMatch
ContraAct
LineMemo
Ref3Line
TransType
RefDate
Ref2Date
Ref1
Ref2
CreatedBy
BaseRef
Project
TransCode
ProfitCode
TaxDate
SystemRate
MthDate
ToMthSum
UserSign
BatchNum
FinncPriod
RelTransId
RelLineID
RelType
LogInstanc
VatGroup
BaseSum
VatRate
Indicator
AdjTran
RevSource
ObjType
VatDate
PaymentRef
SYSBaseSum
MultMatch
VatLine
VatAmount
SYSVatSum
Closed
GrossValue
CheckAbs
LineType
DebCred
SequenceNr
StornoAcc
BalDueDeb
BalDueCred
BalFcDeb
BalFcCred
BalScDeb
BalScCred
IsNet
DunWizBlck
DunnLevel
DunDate
TaxType
TaxPostAcc
StaCode
StaType
TaxCode
ValidFrom
GrossValFc
LvlUpdDate
OcrCode2
OcrCode3
OcrCode4
OcrCode5
MIEntry
MIVEntry
ClsInTP
CenVatCom
MatType
PstngType
ValidFrom2
ValidFrom3
ValidFrom4
ValidFrom5
Location
WTaxCode
EquVatRate
EquVatSum
SYSEquSum
TotalVat
SYSTVat
WTLiable
WTLine
WTApplied
WTAppliedS
WTAppliedF
WTSum
WTSumFC
WTSumSC
PayBlock
PayBlckRef
LicTradNum
InterimTyp
DprId
MatchRef
Ordered
CUP
CIG
BPLId
BPLName
VatRegNum
SLEDGERF
U_CLIST
3285
0
100200200100000
900.000000
0.000000
0.000000
900.000000
900.000000
0.000000
USD
2014-08-10 00:00:00.000
1328
1
AFR100
0
0
400100100300000
A/R Invoices - AFR100
1
13
2014-08-10 00:00:00.000
NULL
1328
1328
1328
NULL
2014-08-10 00:00:00.000
0.000000
NULL
0.000000
1
NULL
104
-1
-1
N
0
NULL
0.000000
0.000000
N
N
30
NULL
0.000000
0
N
0.000000
0.000000
N
0.000000
NULL
3
D
0
NULL
900.000000
0.000000
900.000000
0.000000
900.000000
0.000000
Y
N
0
NULL
0
N
NULL
NULL
NULL
1900-01-01 00:00:00.000
0.000000
NULL
0
0
0
-1
-1
0
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
NULL
NULL
0.000000
0.000000
0.000000
0.000000
0.000000
N
N
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
N
NULL
NULL
0
NULL
N
NULL
NULL
NULL
NULL
NULL
NULL
NULL
3285
1
200100200900000
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
USD
2014-08-10 00:00:00.000
1328
-2
200100200900000
0
0
AFR100
A/R Invoices - AFR100
13
2014-08-10 00:00:00.000
NULL
1328
1328
1328
NULL
2014-08-10 00:00:00.000
0.000000
NULL
0.000000
1
NULL
104
-1
-1
N
0
X0
900.000000
0.000000
N
N
30
NULL
900.000000
0
Y
0.000000
0.000000
N
0.000000
NULL
3
C
0
NULL
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
Y
N
0
NULL
0
N
NULL
NULL
NULL
1900-01-01 00:00:00.000
0.000000
NULL
0
0
0
-1
-1
0
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
NULL
NULL
0.000000
0.000000
0.000000
0.000000
0.000000
N
N
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
N
NULL
NULL
0
NULL
N
NULL
NULL
NULL
NULL
NULL
NULL
NULL
3285
2
400100100300000
0.000000
900.000000
900.000000
0.000000
0.000000
900.000000
USD
2014-08-10 00:00:00.000
NULL
NULL
400100100300000
0
0
AFR100
A/R Invoices - AFR100
13
2014-08-10 00:00:00.000
NULL
1328
1328
1328
NULL
2014-08-10 00:00:00.000
0.000000
NULL
0.000000
1
NULL
104
-1
-1
N
0
NULL
0.000000
0.000000
N
N
30
NULL
0.000000
0
N
0.000000
0.000000
N
0.000000
NULL
3
C
0
NULL
0.000000
900.000000
0.000000
900.000000
0.000000
900.000000
Y
N
0
NULL
0
N
NULL
NULL
NULL
1900-01-01 00:00:00.000
0.000000
NULL
0
0
0
-1
-1
0
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
NULL
NULL
0.000000
0.000000
0.000000
0.000000
0.000000
N
N
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
N
NULL
NULL
0
NULL
N
NULL
NULL
NULL
NULL
NULL
NULL
NULL
3285
3
100200100100200
0.000000
891.710000
891.710000
0.000000
0.000000
891.710000
USD
2014-08-10 00:00:00.000
NULL
NULL
100200100100200
0
0
AFR100
A/R Invoices - AFR100
13
2014-08-10 00:00:00.000
NULL
1328
1328
1328
NULL
2014-08-10 00:00:00.000
0.000000
NULL
0.000000
1
NULL
104
-1
-1
N
0
NULL
0.000000
0.000000
N
N
30
NULL
0.000000
0
N
0.000000
0.000000
N
0.000000
NULL
3
C
0
NULL
0.000000
891.710000
0.000000
891.710000
0.000000
891.710000
Y
N
0
NULL
0
N
NULL
NULL
NULL
1900-01-01 00:00:00.000
0.000000
NULL
0
0
0
-1
-1
0
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
NULL
NULL
0.000000
0.000000
0.000000
0.000000
0.000000
N
N
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
N
NULL
NULL
0
NULL
N
NULL
NULL
NULL
NULL
NULL
NULL
NULL
3285
4
500100100700000
891.710000
0.000000
0.000000
891.710000
891.710000
0.000000
USD
2014-08-10 00:00:00.000
NULL
NULL
500100100700000
0
0
AFR100
A/R Invoices - AFR100
13
2014-08-10 00:00:00.000
NULL
1328
1328
1328
NULL
2014-08-10 00:00:00.000
0.000000
NULL
0.000000
1
NULL
104
-1
-1
N
0
NULL
0.000000
0.000000
N
N
30
NULL
0.000000
0
N
0.000000
0.000000
N
0.000000
NULL
3
D
0
NULL
891.710000
0.000000
891.710000
0.000000
891.710000
0.000000
Y
N
0
NULL
0
N
NULL
NULL
NULL
1900-01-01 00:00:00.000
0.000000
NULL
0
0
0
-1
-1
0
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
NULL
NULL
0.000000
0.000000
0.000000
0.000000
0.000000
N
N
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
N
NULL
NULL
0
NULL
N
NULL
NULL
NULL
NULL
NULL
NULL
NULL
3286
0
100200500100500
900.000000
0.000000
0.000000
900.000000
900.000000
0.000000
USD
2014-08-10 00:00:00.000
1375
-1
100200500100500
0
0
AFR100
Incoming Payments - AFR100
NULL
24
2014-08-10 00:00:00.000
NULL
1375
1375
1375
NULL
NULL
2014-08-10 00:00:00.000
0.000000
NULL
0.000000
1
NULL
104
-1
-1
N
0
NULL
0.000000
0.000000
NULL
N
N
30
NULL
NULL
0.000000
0
N
0.000000
0.000000
N
0.000000
NULL
0
D
0
NULL
900.000000
0.000000
900.000000
0.000000
900.000000
0.000000
Y
N
0
NULL
0
N
NULL
NULL
NULL
1900-01-01 00:00:00.000
0.000000
NULL
NULL
NULL
NULL
NULL
0
0
0
-1
-1
0
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
NULL
NULL
0.000000
0.000000
0.000000
0.000000
0.000000
N
N
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
N
NULL
NULL
0
NULL
NULL
N
NULL
NULL
NULL
NULL
NULL
NULL
NULL
3286
1
100200200100000
0.000000
900.000000
900.000000
0.000000
0.000000
900.000000
USD
2014-08-10 00:00:00.000
NULL
-99
AFR100
0
0
100200500100500
Incoming Payments - AFR100
1375
24
2014-08-10 00:00:00.000
NULL
1375
1375
1375
NULL
NULL
2014-08-10 00:00:00.000
0.000000
NULL
0.000000
1
NULL
104
-1
-1
N
0
NULL
0.000000
0.000000
NULL
N
N
30
NULL
NULL
0.000000
0
N
0.000000
0.000000
N
0.000000
NULL
0
C
0
NULL
0.000000
900.000000
0.000000
900.000000
0.000000
900.000000
Y
N
0
NULL
0
N
NULL
NULL
NULL
1900-01-01 00:00:00.000
0.000000
NULL
NULL
NULL
NULL
NULL
0
0
0
-1
-1
0
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
1900-01-01 00:00:00.000
NULL
NULL
0.000000
0.000000
0.000000
0.000000
0.000000
N
N
0.000000
0.000000
0.000000
0.000000
0.000000
0.000000
N
NULL
NULL
0
NULL
NULL
N
NULL
NULL
NULL
NULL
NULL
NULL
NULL
But when I try the same in SDK/DI (oCmpSrv previously set), I get "Internal Error (-5002) occurred":
Try
Dim ExtReconSvc As SAPbobsCOM.ExternalReconciliationsService = oCmpSrv.GetBusinessService(SAPbobsCOM.ServiceTypes.ExternalReconciliationsService)
Dim ExtReconciliation As SAPbobsCOM.ExternalReconciliation = ExtReconSvc.GetDataInterface(SAPbobsCOM.ExternalReconciliationsServiceDataInterfaces.ersExternalReconciliation)
ExtReconciliation.ReconciliationAccountType = SAPbobsCOM.ReconciliationAccountTypeEnum.rat_BusinessPartner
Dim jeLine1 As SAPbobsCOM.ReconciliationJournalEntryLine = ExtReconciliation.ReconciliationJournalEntryLines.Add()
jeLine1.TransactionNumber = "3285"
jeLine1.LineNumber = 0
Dim jeLine2 As SAPbobsCOM.ReconciliationJournalEntryLine = ExtReconciliation.ReconciliationJournalEntryLines.Add()
jeLine2.TransactionNumber = "3286"
jeLine2.LineNumber = 1
ExtReconSvc.Reconcile(ExtReconciliation)
Catch ex As Exception
MsgBox(ex.Message)
End Try
I do not understand what I am doing wrong and I have no idea what this error means.
Thanks in advance for your help.Sorry Images were very poor in original post.
-
Error 5002 when trying to look at iTunes Plus
I just bought a new MBP, and since I used my education discount, I got a $100 gift card to use in the App Store/iTunes/etc. I have a bunch of songs I bought back when iTunes had DRM, so I was going to use this money to upgrade some of those purchases to iTunes Plus. However, whenever I click on "iTunes Plus" under Quick Links, I get a popup telling me that I can't access iTunes Plus because "Unknown Error 5002 Ocurred"
I've looked up the problem, and I've tried things like changing/resetting my billinb info, re-installing iTunes, and resetting my internet connection, but I have not had any luck so far. Does anyone know how to solve this?Hi Sanjit
Thanks very much. Yes, a bit of online research helped me to track down
the problem. It was some redirects in the .htaccess file in the root
directory (this site is located in a subdirectory). All fixed now!
Regards
Rob
Sanjit_Das <mailto:[email protected]>
11 October 2014 7:00 pm
>
Internal server error 500 when trying to look at missing page
created by Sanjit_Das <https://forums.adobe.com/people/Sanjit_Das> in
/Help with using Adobe Muse CC/ - View the full discussion
<https://forums.adobe.com/message/6814959#6814959> -
SP01: DI error -5002 Invalid Total ORDR.DocTotal
Hi All,
i'm getting a strange error.
i'm adding a sales order via DI.
when the code is executed via the .net debugger it works great.
when i create an installer and install the Addon i receive the error:
-5002 Invalid Total [ORDR.DocTotal]
do someone ever had this kind of error?
btw i'm using SAPB12005A SP1 PL2
thanks
Moty MoshinHere is the code:
oNewOrder = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
'B1Connections.diCompany.StartTransaction()
Dim LinesAdded As Integer = 0
For i = 1 To intDupAmount
Try
' this loop adds the different items to the Delivery object
oNewOrder.CardCode = strBPCode
oNewOrder.Series = strSeriesCode
oNewOrder.NumAtCard = strVendorRefNo
oNewOrder.Project = strProjectCode
oNewOrder.ShipToCode = strShipToCode
oNewOrder.DocDueDate = strDocDueDate
oNewOrder.Comments = strComments
oNewOrder.PaymentGroupCode = strPaymentTerms
oNewOrder.PaymentMethod = strPaymentMethod
'Currently not available thru the DI/UI
'oNewOrder.header = OQUTHeader
'oNewOrder.Footer = OQUTFooter
Catch ex As Exception
B1Connections.theAppl.MessageBox("In For Step 1")
End Try
Try
oNewOrder.Lines.SetCurrentLine(0)
'Line item fields that are visible on the sales order form
oNewOrder.Lines.ItemCode = currSalesFormLines.ItemCode 'As String '1 'ItemCode
oNewOrder.Lines.ItemDescription = currSalesFormLines.ItemDesc 'As String '1 'ItemDesc
oNewOrder.Lines.WarehouseCode = currSalesFormLines.WhsCode 'As String '24 'WhsCode
oNewOrder.Lines.UnitPrice = currSalesFormLines.UnitPrice 'As Double '14 'UnitPrc
oNewOrder.Lines.DiscountPercent = currSalesFormLines.DiscPct 'As Double '14 'DiscPct
oNewOrder.Lines.Price = currSalesFormLines.Price 'As Double '17 'Price
oNewOrder.Lines.Quantity = currSalesFormLines.Quantity 'As Double '11 'Quantity
'Line item fields that are not visible on the sales order form
oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_EstQty).Value = currSalesFormLines.EstQty 'As Double 'U_XX_EstQty
'oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_STCC).Value = currSalesFormLines.STCC.ToString 'As Double 'U_XX_STCC
'oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_HSC).Value = currSalesFormLines.HSC 'As String 'U_XX_HSC
'oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_CVal).Value = currSalesFormLines.CVal.ToString 'As Double 'U_XX_CVal
oNewOrder.Lines.TotalLc = currSalesFormLines.TotalLc 'As Double '21 'TotalLc
oNewOrder.Lines.Total()
oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_QtyMT).Value = currSalesFormLines.QtyMT 'As Double 'U_XX_QtyMT
oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_QtyST).Value = currSalesFormLines.QtyST 'As Double 'U_XX_QtyST
'oNewOrder.Lines.UserFields.Fields.Item("U_" + cUDinit.udfMdL_DGood).Value = currSalesFormLines.DGood.ToString 'As String 'U_XX_DGood
Catch ex As Exception
B1Connections.theAppl.MessageBox("In For Step 2 - Lines")
End Try
Try
'Header level UDF's
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_ConNum).Value = cLastUdfMD.ConNum
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_ConTyp).Value = cLastUdfMD.ConTyp
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_ConSta).Value = cLastUdfMD.ConSta
If cLastUdfMD.RefCon <> "" Then
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_RefCon).Value = cLastUdfMD.RefCon
End If
'Get Release number
'B1Connections.theAppl.MessageBox("Before Add Msg 2")
lngNextRelease = cReleaseNumber.GetNextNum(cUDinit.udoRn_ReleaseNumber, strSeries)
If lngNextRelease = -1 Then
B1Connections.diCompany.EndTransaction(BoWfTransOpt.wf_RollBack)
retVal = cReleaseNumber.UnLockNumbering(cUDinit.udoRn_ReleaseNumber, strSeries)
B1Connections.theAppl.MessageBox("Error - Cannot Get Next Number from NNM1")
Exit Sub
End If
releaseNumbers.Add(lngNextRelease)
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_RelNum).Value = lngNextRelease.ToString 'intRelNum
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_ShDtSt).Value = cLastUdfMD.ShDtSt
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_ShDtEn).Value = cLastUdfMD.ShDtEn
If cLastUdfMD.StrDt <> "" Then
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_StrDt).Value = cLastUdfMD.StrDt
End If
If cLastUdfMD.StrAmt <> "" Then
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_StrAmt).Value = cLastUdfMD.StrAmt
End If
If cLastUdfMD.AcrAmt <> "" Then
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_AcrAmt).Value = cLastUdfMD.AcrAmt
End If
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_CQTY).Value = cLastUdfMD.CQTY
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_LN).Value = cLastUdfMD.LN
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_STerms).Value = cLastUdfMD.STerms
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_Mode).Value = cLastUdfMD.Mode
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_Carrier).Value = cLastUdfMD.Carrier
If cLastUdfMD.PortEntry <> "" Then
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_PtEnt).Value = cLastUdfMD.PortEntry
End If
If cLastUdfMD.CBrok <> "" Then
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_CBrok).Value = cLastUdfMD.CBrok
End If
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_Fterm).Value = cLastUdfMD.FTerms
If cLastUdfMD.PriveEq <> "" Then
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_PrivEq).Value = cLastUdfMD.PriveEq
End If
If cLastUdfMD.Route <> "" Then
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_Route).Value = cLastUdfMD.Route
End If
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_TF).Value = cLastUdfMD.TF
'oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_Season).Value = cLastUdfMD.Season
'oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_STCity).Value = cLastUdfMD.STCity
'oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_STCtr).Value = cLastUdfMD.STCtr
'oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_STSt).Value = cLastUdfMD.STSt
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_TAmtIn).Value = cLastUdfMD.TAmtIn
oNewOrder.UserFields.Fields.Item("U_" + cUDinit.udfMdH_TAmtOr).Value = cLastUdfMD.TAmtOr
Catch ex As Exception
B1Connections.theAppl.MessageBox("In For Step 3 - Header Level UDF")
End Try
' add sales order current quntity () from total (U_XX_TQTYR)
' add sales order current dollar value() from total (U_XX_TAMTR)
' Try to add the sales order object to the database
'B1Connections.theAppl.MessageBox("Before Add Msg 3")
lRetCode = oNewOrder.Add()
'B1Connections.theAppl.MessageBox("Before Add Msg 3.1")
If lRetCode <> 0 Then ' If the addition failed
B1Connections.diCompany.GetLastError(lErrCode, sErrMsg)
B1Connections.theAppl.MessageBox("Error - " & lErrCode & sErrMsg)
' B1Connections.diCompany.EndTransaction(BoWfTransOpt.wf_RollBack)
Try
B1Connections.diCompany.EndTransaction(BoWfTransOpt.wf_RollBack)
Catch ex As Exception
B1Connections.theAppl.MessageBox("Error - Add Error:" & lRetCode & " - " & ex.Message)
End Try
retVal = cReleaseNumber.UnLockNumbering(cUDinit.udoRn_ReleaseNumber, strSeries)
'B1Connections.diCompany.GetLastError(lErrCode, sErrMsg)
'B1Connections.theAppl.MessageBox("Error - " & lErrCode & sErrMsg)
Exit Sub
Else
End If
LinesAdded = LinesAdded + 1
' init the order object
oNewOrder = B1Connections.diCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders)
Next i
'B1Connections.diCompany.EndTransaction(BoWfTransOpt.wf_Commit)
retVal = cReleaseNumber.UnLockNumbering(cUDinit.udoRn_ReleaseNumber, strSeries) -
Trying to purchase Touch firmware 3.1.1 - getting error 5002
I am running Snow Leopard, iTunes 9, using a first-gen iPod Touch running 2.2.1. I am trying to upgrade to 3.1.1 but after every time I log in to purchase the firmware I get "error 5002: There was an error in the iTunes store."
IS THERE ANY FIX TO THIS?It's probably stressed servers. Just keep trying .. this seems to work for others.
Maybe you are looking for
-
HOW DO I CONNECT AN HP 2200 TO OS X TIGER??
Does anyone know how a Powerbook G4 w/Tiger installed to CORRECTLY to be connected to a dated but still-terrific HP Business Inkjet 2200 printer? So far I'm getting a flashing light response but no print yet after using a Belkin USB-to-parallel adapt
-
Web Services No JAX-WS context information available.
Hi Guys, Hope you are doing well. I need a bit of help here. I have developed a java application and I am trying to make it a web service. So can you guys help me . Whenever I try "http://localhost:9090/" I keep getting "Web Services No JAX-WS contex
-
FX5600-VTD256 VGA adapter problems
I have a 875P Neo-FIS2R mainboard, and have recently fitted a FX5600-VTD256 VGA card. Ever since my screen freezes and intermittently my monitor blanks and looks for all intense and purposes like Power saver has put the monitor into standby, but the
-
Question regarding OAM - Dashboard - Critical Activities
Hi All, R12.1.3 Rdbms 11.2.0.2 I have a question regarding OAM -> Dashboard -> Critical Activities. How do you set up purges jobs to be displayed on that jsp page? It should be display under Critical activities - Purge - FND. (reference: websiminar T
-
The color of my iphone4s all a sudden changed to like negative film, I reboot it a couple times still not working. This is my first iPhone and it is only about month old! It happened right after I unplugged the charger... I was using the ipad1 charge