Error 5002 "Invalid code" while BP update
Hello!
I need to update BP via DI API.
I deleted all code except update command
oBusinessPartners.GetByKey(cardCode)
oBusinessPartners.Update()
But for some cards I recieve an error 5002 "Invalid code".
From the application it is possible to update these cards without any problem.
I tried to delete empty bank row (note 1106928) but it did not help.
I have XML data for 2 cards: one for successfull update and another for failed.
Can anybody help me?
What I can to do in this sutuation?
Success card
<BOM>
<BO>
<AdmInfo>
<Object>2</Object>
</AdmInfo>
<OCRD>
<row>
<CardCode>2511032</CardCode>
<CardName>u05D0.u05DE u05D0u05E6u05DC u05DEu05D9u05E9u05DC - u05D0u05E6u05DC u05DEu05D9u05E9u05DC</CardName>
<CardType>C</CardType>
<GroupCode>109</GroupCode>
<CmpPrivate>C</CmpPrivate>
<Address>u05E8u05D5u05D1u05E2 u05D0 u05DEu05E8u05DBu05D6 u05D0</Address>
<ZipCode></ZipCode>
<MailAddres>u05E8u05D5u05D1u05E2 u05D0 u05DEu05E8u05DBu05D6 u05D0</MailAddres>
<MailZipCod></MailZipCod>
<Phone1>08-8560975</Phone1>
<Phone2>057-2390221</Phone2>
<Fax>088560975</Fax>
<CntctPrsn>u05DEu05D9u05E9u05DC</CntctPrsn>
<Notes></Notes>
<Balance>-25996.000000</Balance>
<ChecksBal>607059.000000</ChecksBal>
<DNotesBal>0.000000</DNotesBal>
<OrdersBal>-1175.840000</OrdersBal>
<GroupNum>7</GroupNum>
<CreditLine>0.000000</CreditLine>
<DebtLine>0.000000</DebtLine>
<Discount>0.000000</Discount>
<VatStatus>Y</VatStatus>
<LicTradNum>557612603</LicTradNum>
<DdctStatus>N</DdctStatus>
<DdctPrcnt>0.000000</DdctPrcnt>
<ValidUntil></ValidUntil>
<Chrctrstcs>0</Chrctrstcs>
<ExMatchNum>2</ExMatchNum>
<InMatchNum>8</InMatchNum>
<ListNum>1</ListNum>
<DNoteBalFC>0.000000</DNoteBalFC>
<OrderBalFC>0.000000</OrderBalFC>
<DNoteBalSy>0.000000</DNoteBalSy>
<OrderBalSy>-1175.840000</OrderBalSy>
<Transfered>N</Transfered>
<BalTrnsfrd>N</BalTrnsfrd>
<IntrstRate>0.000000</IntrstRate>
<Commission>0.000000</Commission>
<CommGrCode>0</CommGrCode>
<Free_Text>u05D1u05E0u05E7 u05D3u05D9u05E1u05E7u05D5u05E0u05D8 u05E7u05D0u05E8u05D9u05DF/u05D0u05DCu05D9 08-8546403</Free_Text>
<SlpCode>-1</SlpCode>
<PrevYearAc>N</PrevYearAc>
<Currency>u20AA</Currency>
<RateDifAct></RateDifAct>
<BalanceSys>-25996.000000</BalanceSys>
<BalanceFC>0.000000</BalanceFC>
<Protected>N</Protected>
<Cellular>057-5576137</Cellular>
<AvrageLate>0</AvrageLate>
<City>u05D0u05E9u05D3u05D5u05D3</City>
<County></County>
<Country>IL</Country>
<MailCity>u05D0u05E9u05D3u05D5u05D3</MailCity>
<MailCounty></MailCounty>
<MailCountr>IL</MailCountr>
<E_Mail></E_Mail>
<Picture></Picture>
<DflAccount></DflAccount>
<DflBranch></DflBranch>
<BankCode>-1</BankCode>
<AddID></AddID>
<Pager></Pager>
<FatherCard></FatherCard>
<CardFName></CardFName>
<FatherType>P</FatherType>
<QryGroup1>N</QryGroup1>
<DdctOffice></DdctOffice>
<CreateDate>20071218</CreateDate>
<UpdateDate>20110220</UpdateDate>
<ExportCode></ExportCode>
<DscntObjct>52</DscntObjct>
<DscntRel>L</DscntRel>
<SPGCounter>37</SPGCounter>
<SPPCounter>0</SPPCounter>
<DdctFileNo></DdctFileNo>
<SCNCounter>0</SCNCounter>
<MinIntrst>0.000000</MinIntrst>
<DataSource>M</DataSource>
<OprCount>0</OprCount>
<ExemptNo></ExemptNo>
<Priority>-1</Priority>
<CreditCard>-1</CreditCard>
<CrCardNum></CrCardNum>
<CardValid></CardValid>
<UserSign>6</UserSign>
<LocMth>Y</LocMth>
<validFor>Y</validFor>
<validFrom></validFrom>
<validTo></validTo>
<frozenFor>N</frozenFor>
<frozenFrom></frozenFrom>
<frozenTo></frozenTo>
<sEmployed>N</sEmployed>
<MTHCounter>8</MTHCounter>
<BNKCounter>0</BNKCounter>
<DdgKey>-1</DdgKey>
<DdtKey>-1</DdtKey>
<ValidComm></ValidComm>
<FrozenComm></FrozenComm>
<chainStore>N</chainStore>
<DiscInRet>N</DiscInRet>
<State1></State1>
<State2></State2>
<VatGroup></VatGroup>
<LogInstanc>0</LogInstanc>
<ObjType>2</ObjType>
<Indicator></Indicator>
<ShipType>1</ShipType>
<DebPayAcct>20000</DebPayAcct>
<ShipToDef>u05DBu05EAu05D5u05D1u05EA u05DEu05D4u05D0u05EAu05E8</ShipToDef>
<Block></Block>
<MailBlock></MailBlock>
<Password></Password>
<ECVatGroup></ECVatGroup>
<Deleted>N</Deleted>
<IBAN></IBAN>
<DocEntry>746</DocEntry>
<FormCode>0</FormCode>
<Box1099></Box1099>
<PymCode></PymCode>
<BackOrder>Y</BackOrder>
<PartDelivr>Y</PartDelivr>
<DunnLevel>0</DunnLevel>
<DunnDate></DunnDate>
<BlockDunn>N</BlockDunn>
<BankCountr>IL</BankCountr>
<CollecAuth>N</CollecAuth>
<DME></DME>
<InstrucKey></InstrucKey>
<SinglePaym>N</SinglePaym>
<ISRBillId></ISRBillId>
<PaymBlock>N</PaymBlock>
<RefDetails></RefDetails>
<HouseBank>20</HouseBank>
<OwnerIdNum></OwnerIdNum>
<PyBlckDesc>-1</PyBlckDesc>
<HousBnkCry>IL</HousBnkCry>
<HousBnkAct>195855</HousBnkAct>
<HousBnkBrn>461</HousBnkBrn>
<ProjectCod></ProjectCod>
<SysMatchNo>-8</SysMatchNo>
<VatIdUnCmp></VatIdUnCmp>
<AgentCode></AgentCode>
<TolrncDays>0</TolrncDays>
<SelfInvoic></SelfInvoic>
<DeferrTax>N</DeferrTax>
<LetterNum></LetterNum>
<MaxAmount>0.000000</MaxAmount>
<FromDate></FromDate>
<ToDate></ToDate>
<WTLiable></WTLiable>
<CrtfcateNO></CrtfcateNO>
<ExpireDate></ExpireDate>
<NINum></NINum>
<AccCritria>N</AccCritria>
<WTCode></WTCode>
<Equ>N</Equ>
<HldCode></HldCode>
<ConnBP></ConnBP>
<MltMthNum>0</MltMthNum>
<TypWTReprt>C</TypWTReprt>
<VATRegNum></VATRegNum>
<RepName></RepName>
<Industry></Industry>
<Business></Business>
<WTTaxCat></WTTaxCat>
<IsDomestic>Y</IsDomestic>
<IsResident>Y</IsResident>
<AutoCalBCG>N</AutoCalBCG>
<OtrCtlAcct></OtrCtlAcct>
<AliasName></AliasName>
<Building></Building>
<MailBuildi></MailBuildi>
<BoEPrsnt></BoEPrsnt>
<BoEDiscnt></BoEDiscnt>
<BoEOnClct></BoEOnClct>
<UnpaidBoE></UnpaidBoE>
<ITWTCode></ITWTCode>
<DunTerm>u05D7u05E9u05D1u05D5u05E0u05D9u05D5u05EA</DunTerm>
<ChannlBP></ChannlBP>
<DfTcnician>0</DfTcnician>
<Territory>0</Territory>
<BillToDef>u05DBu05EAu05D5u05D1u05EA u05DEu05D4u05D0u05EAu05E8</BillToDef>
<DpmClear></DpmClear>
<IntrntSite></IntrntSite>
<LangCode>1</LangCode>
<HousActKey>1</HousActKey>
<Profession></Profession>
<CDPNum>0</CDPNum>
<DflBankKey>0</DflBankKey>
<BCACode></BCACode>
<UseShpdGd>Y</UseShpdGd>
<RegNum></RegNum>
<VerifNum></VerifNum>
<BankCtlKey></BankCtlKey>
<HousCtlKey></HousCtlKey>
<OpCode347>B</OpCode347>
<InsurOp347>N</InsurOp347>
<ResidenNum>1</ResidenNum>
<VatIDNum>557612603</VatIDNum>
<MivzExpSts>B</MivzExpSts>
<HierchDdct>N</HierchDdct>
<CertWHT>N</CertWHT>
<CertBKeep>N</CertBKeep>
<WHShaamGrp>1</WHShaamGrp>
<VendorOcup></VendorOcup>
<IndustryC>0</IndustryC>
<U_bsyTEL3></U_bsyTEL3>
<U_bsyICID>418</U_bsyICID>
<U_bsyUName>BM2511032</U_bsyUName>
<U_bsyPsw>2511032</U_bsyPsw>
<U_bsyInVis>1</U_bsyInVis>
<U_bsyType>2</U_bsyType>
<U_bsyCC3Dg>0</U_bsyCC3Dg>
<U_bsyPrMsg></U_bsyPrMsg>
<U_TranspTax>0.000000</U_TranspTax>
</row>
</OCRD>
Do tou need data from CRD1 , OCPR , OSPG tables too?
Thanks
Similar Messages
-
Error when creating Production Orders: -5002 Invalid Code [OWOR.Status]
When creating Production Orders, I receive the error: -5002 Invalid Code [OWOR.Status] on certain of the entries. Typically 200 orders are created at once.
What could be causing the error?You may check this thread to have a reference:
Setting the repByIns to Null
Thanks,
Gordon -
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) -
Error : 907 invalid COD time out
Hello, kindly assist me, I like to download series via my browser but lately I cant download when I do it will give me error: 907 invalid COD time out. I use a blackberry curve 7 9320. I cant even use my blackberry world. Please I need help and I have enough Data on my fone to download. Also I use MTN network. Thank you.
Hi and Welcome to the Community!
With a strong carrier network signal (e.g., not merely WiFi), I suggest the following steps, in order, even if they seem redundant to what you have already tried (steps 1 and 2 each should result in a message coming to your BB...please wait for that before proceeding to the next step):
1) Register HRT
KB00510 How to register a BlackBerry smartphone with the wireless network
Please wait for one "registration" message to arrive to your Messages app
2) Resend Service Books (pre-BB10 devices only)
KB02830 Send the service books for the BlackBerry Internet Service
Please wait for "Activation" Messages, one per already configured email account, to arrive in your Messages. If you have no already configured email accounts, please wait 1 hour.
3) Reboot
With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
Hopefully that will get things going again for you! If not, then you should contact your mobile service provider for formal support.
Good luck!
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Help, download error "907 invalid COD"
Ok, my service provider is AT&T. There technical support for any problem is to take the battery out and put it back in. My original red curve had only one game I downloaded on it and I managed to drop it into my big cup of coffee, not my brightest of moments. Using my insurance, i received a new phone, when trying to download a jad file game from at&t i received an error "907 invalid COD". At&t could not find a soution. They stated it was a software issue and overnighted me a refurbished phone. Unfortunatly I receive the same error messege and will have to call them again. Does anyone know what the problem is in order for it to be an issue with 2 seperate phones and three different games?? In order to even try to redownload, the phone goes through the same purchasing process each time and bills my cell account.
Message Edited by justalilbatty on 09-03-2008 04:29 PMHi and welcome to the forums,
Please make sure you have cleaned out all you browser cache options and try it again.
From BROWSER - OPTIONS- CACHE OPERATIONS clear every thing.
Please let me know how it goes!
Thanks,
Click Accept as Solution for posts that have solved your issue(s)!
Be sure to click Like! for those who have helped you.
Install BlackBerry Protect it's a free application designed to help find your lost BlackBerry smartphone, and keep the information on it secure. -
"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 -
Error in Tax code while creating a PO in T.code ME21n
Hi,
I am trying to create purchase Order, I am getting an error when while entering this
Tax Code : v1
Jurisdict. Code: RS14902
The error is "Tax code v1 in procedure TAXBRJ is Invalid"
How to rectify this error. Or
What can be other way of entering the tax code and jurisdict codeHi,
Go to the Table T007A, where you find the tax codes.
Input & out put taxes are the tax types.
In FTXP T.code give the tax code and click on the
Input tax codes are used for purchase cycle and out put taxes are for sales cycle. I Hope you have given the sales related tax code. Thats why system is giving the error message.
In T007 Table give the proper input and get the details.
Regards, -
OIncomingPayment + BillOfExchange = error -5002 - Invalid dll path or name
Hi for all,
I´m having a problem when I try to pay a incoming payment from a invoice with BillOfExchange, I´ve been search all this forum for many hours, with all possibile combinations of subject, but any past topic could explain this problem.
When I try to add a BillOfExchange of one invoice, I´m getting the error -5002 called 'Invalid dll path or name'. I know that the PaymentMethod that I use references the BankOfBrazil.dll library, but how can I handle this error? I´ve tried to put this file on my projects folder, but It wasn´t works...
Here´s the code, I´m using the SAP B1 2005B PL36:
Thanks
'oIP = oIncomingPayments
oIP = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oIncomingPayments)
chave = oIP.DocEntry
oIP.CardCode = oBP.CardCode
oIP.CardName = oBP.CardName
oIP.DocDate = Now
oIP.DueDate = Now
oIP.TaxDate = Now
oIP.Invoices.AppliedFC = 0
oIP.Invoices.DocEntry = oInvoiceIn.DocEntry
oIP.Invoices.InvoiceType = 13
oIP.Invoices.SumApplied = 5.85
oIP.Invoices.InstallmentId = 1
oIP.Invoices.Add()
oIP.BillOfExchange.PaymentMethodCode = oInvoiceIn.PaymentMethod
oIP.BoeAccount = "1121110"
oIP.BillOfExchangeAmount = 5.85
'**** Commita ****
lErrCode = oIP.Add 'Occours error -5002
connmatriz.getConn().GetLastError(lErrCode, sErrMsg)
If lErrCode <> 0 Then
connmatriz.getConn().EndTransaction(SAPbobsCOM.BoWfTransOpt.wf_RollBack)
GoTo FALHA
End IfHI
I have also got several times same message:
1. Disconnect with development environment
2. Clear the SM_OB_DLL directory from the TEMP directory.
3. Start it again, and try
In the BankofBrazil stuffs i am so perfect....
Regards,
J. -
Anyone know why I can't download youverse bible software to my bb curve 8330, getting the "Invalid COD" message?
I had no idea where you were downloading it from, I just went off what you called it, youverse.
Keep trying later, perhaps they are having server issues.
YouVersion is a great application, had it loaded for a while and use it often.
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
Error "907 invalid COD" occurs when trying to upgrade my Blackberry App World.
Hi there. My name is Molopi Mashinini and I'm using a Blackberry Bold Touch 9900. My problem is that I'm struggling to upgrade my Blackberry App World, before it downloads the application, it gives me a message saying that there's a module that already exists on my phone and that its going to be replaced. When the downloading process get to the end at 3137kb, it gives me an error message that says 907 invalid COD. Now I don't know what to do because even the Blackberry Application icon doesn't give me an option to delete it. Please help me because I can't even download or upgrade the applications on my phone.
timmyKLB wrote:
I'm still getting the same error message when I try to download the application and I still can't delete the application from my phone because it doesn't give me an option to delete it.
Yes, I think we've discussed that more than once.
timmyKLB wrote:
I tried all the step you gave me. Nothing seems to be working.
And I still cannot tell exactly what that means (refer to the first half of post 6 above).
timmyKLB wrote:
My main problem is that under the application list, I can't find the delete option for the application on the menu button.
Yes, we've discussed that as well a few times. Yet you have left me completely in the dark regarding how the use of the Desktop Software worked out.
timmyKLB wrote:
I'm even thinking of giving up because I followed all the steps but I just can't seem to delete the application.
That would be a choice only you can make. It would so greatly help me to help you if I could understand your situation better, most especially the precise results of the things I ask you to try. But, your responses continue to be so very general and vague, with multiple interpretations possible from your words, that I cannot understand how those things work out. Consequently, I am at a loss as to how to help you. I need to understand in order to help you, yet your words do not help me to understand, no matter how many times I seem to ask you for clarification. So I am even more lost than you are.
Occam's Razor nearly always applies when troubleshooting technology issues!
If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
Join our BBM Channels
BSCF General Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
My device type is blackberry torch 9810, software version is 7.1.0 Bundle 1909, Free storage Application storage : 140.4 MB. I have been trying to download blackberry app world used wifi connection, but this is what I keep seeing when is about complete downloading "ERROR" details "907 Invalid COD". Please
Hello andrikho
Welcome to BlackBerry Support Forums
Restart your device by removing the battery while your device is powered on , after reboot use your BlackBerry browser and browse to www.blackberry.com/appworld/download and try downloading over your Mobile Network not wifi .
Or if you don't have Sufficient BlackBerry data plan , then please refer to this KB and try installing using a Computer:
KB28715 : How to Install applications from BlackBerry App World using a Computer system
Click " Like " if you want to Thank someone.
If Problem Resolves mark the post(s) as " Solution ", so that other can make use of it. -
How to track the information/error of java code while compiling.
Hi,
I want all the information or errors of java code during compilation.
So that I can use this information or I can show these errors with different style.
How to get the java syntax errors?Hi,
I want all the information or errors of java code
during compilation.
So that I can use this information or I can show these
errors with different style.
How to get the java syntax errors?Redirect the STDOUT/STDERR from the the JAVA/JAVAC command to a file is one way...
For instance at the commmand line:
javac myClass.java > STDOUT.txt 2> STDERR.txt (Works for Unix variants or Windows OS's)
Then you can do what ever you want with the data contained in the files.
Hope this helps -
Error "Enter section code" while doing revenue recog for Korea company code
Hi
While doing revenue recognition for a sales document using VF44 for Korea company code , i got an error to "enter sectio code".
There is no WHT for the customer, only VAT is entered in the sales price.
How to resolve this issue, Please help.
Thanks,
VaishnaviResolved.
-
I have received the same error while updating me phone for the last two updates and have had to wipe out my entire phone with a restore both times! I am very frustrated with Apple.
Error 1 or -1
This may indicate a hardware issue with your device. Follow Troubleshooting security software issues, and restore your device on a different known-good computer. If the errors persist on another computer, the device may need service. -
Error Getting return code while FTPing file through JAVA
Hello experts
My requirement is to send file to Mainframe server in a JOBQ.I used a socket to connect to server. A designated FTP ID is provided for authentication.
I tried to FTP file to mainframe sever, but while getting return code from server, i m recieving Junk values.I am reading return code through BufferReader.readline().
I have set up the connection mode to ASCII mode.I tried to set up the connection mode to EBSIDIC mode too, but i revieve the same error.
Any one have tried to FTP file to mainframe in got the same error.What could be the possible reason.
Here is the error looks like :-
Inside SocketClient() class, in connect(String hostname, int port) socket = Socket[addr=xxx.xx.xx.com/xx.xxx.xx.xx,port=21,localport=2500]
Inside SocketClient() class, in connectAction() method (InputStream) input = java.net.SocketInputStream@696fc610
Inside SocketClient() class, in connectAction() method (OutputStream) output = java.net.SocketOutputStream@695b8610
Inside FTP class, in __getReply() method _controlInput = java.io.BufferedReader@15370617
Inside FTP class, in __getReply() method Line = ��&�����(��&����/������<�������<��|(?>
Any help in this topic is appriciated
Regards
SamitThis is the third party API's i have used
http://www.enterprisedt.com/downloads/ftp.html
download this.
Version 1.2.1 (Jan 29, 2003). Download here. (tar.gz format. WinZip will unpack this). Compiled/tested for JDK1.4.x. Will work for 1.3.x etc
Maybe you are looking for
-
i bought my macbook pro in the US. can i use it in china? (P.S the power in the US is 110v, in China is 220v, however, the mac power supply has said: "Input: 100~240v")
-
I used to use Pluginlab for building my site navigation as it had a wonderful integration into DW and also created a sitemap.xml perfectly. However, that being said, the drop downs don't work on iPhone and it seems they've gone out of business, anyw
-
BPC transport error: Import still running or UJT_TRANS_OBJ version P
Hello, We are having some issues, trying to transport an appset. First of all we make sure that all the entries in table ujt_transport_chg are setting to "D". then we Transport a customizing order with these content. After that we check the content i
-
[SOLVED] [pacman] My 'pacman-key --init' issue
pacman-key --init gpg: Generating pacman keychain master key... Not enough random bytes available. Please do some other work to give the OS a chance to collect more entropy! (Need 211 more bytes) Well, I thought that I could resolve it using random b
-
Hi all, Is it possible execute a script logic when i execute the import package? i added in the DEFAULT.LGF the code: WHEN * is * REC(Expression=get(account="ccp0001")*get(account="ccq0001"), account="ccv0001") endwhen commit The idea is calculate va