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 Moshin
Here 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)
Similar Messages
-
Invalid total [ORDR.DocTotal] Error when loading sales order
Hi Experts,
Our cutomer hass upgraded to SAP B1 2007A from SAP B1 2005A.When the customer is trying to load data into salesorder object using our add-on we are getting the following error called "Invalid total [ORDR.DocTotal]" and also "Invalid BP Code" even though tthe corresponding Business partner is available.
Please help me in finding the issue. What may be the possible reason for this. This is a critical customer issue kindly help.
Regards,
Ranjani Sampath.Hi,
First of all check with the addon vendor whether the addon is compatible with 2007.
Some changes might be required in the Addon to be compatible with 2007 version.
If its your own addon kindly check it in the test system,after verifying the functionality of the addon proceed with the live system,untill then i suggest you not to use that addon.
Also check note:[781944|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E¬e_numm=0000781944],[978706|https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/smb_searchnotes/display.htm?note_langu=E¬e_numm=0000978706] might be related to your issue. -
5002 Invalid Total - PO import DI API
Hi,
I have a DI Addon that imports data from a text file into B1. The application worked fine till last week. Last week we upgraded the user to B1 2005 Sp1 PL 9. They were on a pre SP 1 version before the upgrade.
Now when I run the import and do an add on a PO, I get an error "5002 Invalid Total".
In my code I am setting the "Price" field of the PO to a dollar value. This used to work fine before the upgrade.
Is there anything I need to change in code to make it compliant to SP1. Please let me know.
My code is attached.
modNIS.oPODoc.CardCode = modNIS.oBP.CardCode;
modNIS.oPODoc.DocType=SAPbobsCOM.BoDocumentTypes.dDocument_Service;
modNIS.oPODoc.UserFields.Fields.Item("U_NISCustRef").Value = modNIS.currInvNum;
//modNIS.oDoc.NumAtCard = modNIS.drSourceFile["customer"].ToString();
modNIS.oPODoc.NumAtCard = modNIS.currInvNum;
modNIS.oPODoc.UserFields.Fields.Item("U_NISInvoiceNo").Value = modNIS.currInvNum;
modNIS.oPODoc.DocDate = System.DateTime.Today; //modNIS.ConvertStringToDate(modNIS.drSourceFile["invoice_creation_date"]);;
//Detail
modNIS.oPODocLines.ItemDescription = "NIS Invoice # " + modNIS.currInvNum;
modNIS.oPODocLines.AccountCode = modNIS.GetGLAccount(modNIS.nisApp.CHITExpenseGLAccount);
modNIS.oPODocLines.TaxCode = modNIS.nisApp.TaxCode;
<b>modNIS.oPODocLines.Price = Convert.ToDouble(
modNIS.drSourceFile["final_rate"]);</b>
modNIS.oPODocLines.UserFields.Fields.Item("U_por").Value = modNIS.drSourceFile["por"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_Origin").Value = modNIS.drSourceFile["Origin"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_Dest").Value = modNIS.drSourceFile["Dest"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_del").Value = modNIS.drSourceFile["DEL"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_CntTraNo").Value = modNIS.drSourceFile["cntr_no"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_EquipTyp").Value = modNIS.drSourceFile["tpsz"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_haz_flag").Value = modNIS.drSourceFile["haz_flag"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_svc_tp").Value = modNIS.drSourceFile["svc_tp"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_g_rate").Value = modNIS.drSourceFile["g_rate"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_a_rate").Value = modNIS.drSourceFile["a_rate"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_b_rate").Value = modNIS.drSourceFile["b_rate"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_ad_rate").Value = modNIS.drSourceFile["ad_rate"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_delivery_date").Value = modNIS.drSourceFile["delivery_date"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_pickup_yd").Value = modNIS.drSourceFile["pickup_yd"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_delivery_yd").Value = modNIS.drSourceFile["delivery_yd"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_return_yd").Value = modNIS.drSourceFile["return_yd"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_so_mode").Value = modNIS.drSourceFile["so_mode"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_fm_loc").Value = modNIS.drSourceFile["fm_loc"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_to_loc").Value = modNIS.drSourceFile["to_loc"].ToString();
//modNIS.oPODocLines.UserFields.Fields.Item("u_check").Value = modNIS.drSourceFile["check"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_org_loc").Value = modNIS.drSourceFile["org_loc"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_dest_loc").Value = modNIS.drSourceFile["dest_loc"].ToString();
////////////// Code added by Deepesh on 29 March 2006
modNIS.oPODocLines.UserFields.Fields.Item("U_booking_no").Value=modNIS.drSourceFile["booking_no"].ToString();
modNIS.oPODocLines.UserFields.Fields.Item("U_wo_no").Value=modNIS.drSourceFile["wo_no"].ToString();Eddy,
Thank you for your resposne. FYI: I am seeing this issue on PL 9 , not PL 8. I will try your suggestion of upgrading to PL 11 on my test server and try again.
Will let you know.
Gopal -
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 -
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. -
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 -
Creating A/R Invoice (Error -5002)
Hi all,
Does anyone know why this code would throw the "- 5002 Invalid total [OINV.Address]" error? Any ideas?
Here is my code, and datas:
[code]Dim ReturnValue As Long
Dim ErrCode As Long
Dim ErrMsg$ = ""
Dim vInvoice As SAPbobsCOM.Documents
Dim iLine As Long
vInvoice = vCompany.GetBusinessObject(MyObjectType)
'MyObjectType = 13
vInvoice.DocType = SAPbobsCOM.BoDocumentTypes.dDocument_Items
vInvoice.CardCode = MyCardCode$
'MyCardCode = Is an existing BP's code
vInvoice.HandWritten = SAPbobsCOM.BoYesNoEnum.tNO
vInvoice.DocDueDate = MyDocDueDate
'MyDocDueDate = #5/9/2006#
vInvoice.DocDate = MyDocDate
'MyDocDate = #5/9/2006#
vInvoice.TaxDate = MyDocDate
'MyDocDate = #5/9/2006#
vInvoice.VatDate = MyDocDate
'MyDocDate = #5/9/2006#
For iLine = 1 To MyLineNr
If iLine > 1 Then
vInvoice.Lines.Add()
End If
vInvoice.Lines.ItemCode = MyItemCode$(iLine - 1)
'MyItemCode = Is an existing item code
vInvoice.Lines.Quantity = MyQuatity(iLine - 1)
'MyQuantity 1 = 1
'MyQuantity 2 = 1
vInvoice.Lines.Price = MyPrice(iLine - 1)
'MyPrice 1 = -100
'MyPrice 2 = 300
vInvoice.Lines.VatGroup = MyVatGroup$(iLine - 1)
'MyVatGroup = Is an existing VAT group
Next iLine
ReturnValue = vInvoice.Add
[/code]
Thanks the help.Hi,
The error message is strange
"- 5002 Invalid total OINV.Address"
invalid total with address ref. Anyway. I had I problem with the creation of invoice and I solve my problem when I tried with a different Business Partner (the source of error was a setting of my BP), may be you can try that.
HTH
Jodércik -
Error: 10000113 - Invalid value Code(-5002)
Hi all,
We have just upgraded from 2007A SP1 PL13 to 8.8 PL19 HF1, and we are using a program called DataProLogic (formerly xFusion) for EDI purposes, it uses the DIAPI to create/update objects in B1.
I have found that when updating a draft stock transfer, I am receiving the following error:
Error: 10000113 - Invalid value Code(-5002)
I have reduced the fields being updated to none, so the only field mapped is the docnum, and no actual changes are being made but the error still exists. I've also tried mapping the docobjectcode as 67 which I didn't have set for 2007A, but that doesn't work either.
I have noticed in DataProLogic in the list of B1 objects, that there is now a "Stock Transfer Draft' object as well as the normal "Drafts" object (I am just using the Drafts object), so I thought maybe this has changed but I can't even select it as an option, it gives me an error of "Object SAPbobsCOM Stock Transfer not found".
If anyone has any ideas on how to get my stock transfer drafts working please let me know!
Thanks,
MichaelHi Michael,
When you need upgrade, first thing to test is the add-on you have. Only if all add-on working, you can upgrade. Hope you are still in the testing process. If not, the best way is to contact the add-on vendor to get the new updated program.
Thanks,
Gordon -
Sales quotation without unit price & total shows a error invalid total INR
Dear All,
According to my clients requirement,iam creating a sales quotation without unit price and total .
Now when iam copying it to a sales order,it is showing me a error "Invalid Total INR".
I could not understand why and how it is happening.
Can anyone help me out.
Regards,
Meghanasir,
i tried removing FMS still it is coming.........
The surprise thg is in certain sales quotation without unit price and total there is no such error and it is converted into order, but the issues is wiyth certain old sales quotations.
Regards,
Meghana
Edited by: MEGHSHILPK on Nov 8, 2010 12:11 PM -
"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: -1639 INVALID COMMAND LINE ARGUMENT
Trying to install software for Shuffle that Santa brought and get this error messsage...
"Error: -1639 invalid command line argument. Consult the windows Installer SDK for detailed command line help."
Install stops at this point.
SOMEONE HELP... My kid is chomping at the bit !
Thanks.Ok I'll do some more searching but I found something in the community forums.
APPSearch can not return this data into a property, so instead, for some unspeakable reason, returns a value of Null, follwed by another Null. This means that the property is created, and populated with two null characters. Bad news if the property also happens to be a PUBLIC property. All public properties are passed as part of the command line sent in a stream to the background installer process by the Execute Action. Since this stream now contains a double null value in a property, the stream is prematurely terminated. This creates an invalid command line, and thus the 1639 error.
This user solved it by using the MSi Cleanup installer util.
EDIT: A little more info...
This problem is almost impossible to detect through the MSI log files since our friends at Microsoft chose to limit the length of any line in the log. It is impossible to get a dump of the full command line that generates this error.
EDIT2:Note that error 1639 only ocurrs when the install package is run from removable media. When the package is run from local storage, the behavior is far more obtuse. The background install process, failing to receive a complete command line, is forced to run as if there had been no UI session, which in turn causes the APPSearch action to run again as if the install was running in silent mode. This causes re-evaluation of all properties a second time, destroying the feature selections made in the UI session, and also forcing the install to run under user credentials instead of elevated, even though AdminUser, ALLUSERS and Privleged properties are set. This is a very serious error that causes total failure of the installation. -
Internal error 5002 while DI api stock transfer ?
Hi Expert,
I am Getting the error Code -5002 While DI API Stock transfer Add Method.
but One thing this error does not occur in demo Company , But Occur in the Company that i have Created ...
Do some Specific Functional set required or other issue in it .
Regards,
Mayank ShahHi Mayank,
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 -
[solved] docker: Error mounting: invalid argument
I'm relatively new to using docker. When I had initially set it up (weeks ago) I was able to pull and manipulate containers. Today I came back to my docker project and now I can't even successfully pull an image.
$ docker pull ubuntu:14.04
ubuntu:14.04: The image you are pulling has been verified
511136ea3c5a: Download complete
511136ea3c5a: Error downloading dependent layers
d497ad3926c8: Downloading [============================> ] 115.7 MB/201.6 MB 7s
e791be0477f2: Download complete
3680052c0f5c: Download complete
22093c35d77b: Download complete
5506de2b643b: Download complete
5506de2b643b: Error pulling image (14.04) from ubuntu, endpoint: https://registry-1.docker.io/v1/, Error mounting '/dev/mapper/dock5506de2b643b: Error pulling image (14.04) from ubuntu, Error mounting '/dev/mapper/docker-8:98-380441-511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158' on '/var/lib/docker/devicemapper/mnt/511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d26982014/11/14 20:14:12 Error pulling image (14.04) from ubuntu, Error mounting '/dev/mapper/docker-8:98-380441-511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158' on '/var/lib/docker/devicemapper/mnt/511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158': invalid argument
This is the log:
$ journalctl -e
Nov 14 20:24:47 example.com docker[18225]: 2014/11/14 20:24:47 docker daemon: 1.3.1 4e9bbfa; execdriver: native; graphdriver:
Nov 14 20:24:47 example.com docker[18225]: [0687b0f9] +job serveapi(fd://)
Nov 14 20:24:47 example.com docker[18225]: [info] Listening for HTTP on fd ()
Nov 14 20:24:47 example.com docker[18225]: [0687b0f9] +job init_networkdriver()
Nov 14 20:24:47 example.com docker[18225]: [0687b0f9] -job init_networkdriver() = OK (0)
Nov 14 20:24:47 example.com docker[18225]: 2014/11/14 20:24:47 WARNING: Your kernel does not support cgroup swap limit.
Nov 14 20:24:47 example.com docker[18225]: [info] Loading containers:
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 07b2a034632f0ddb8f01ebdcf1c0cc4ba0ade7a6d927b544754b44aa3b58f877: open /var/lib/docker/containers/07b2a034632f0ddb8f01ebdcf1c0cc4ba0ade7a6d927b544754b44aa3b58f877/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 0bb0b50393dd951caeaa8386eb8ec8be1cc60e0822167ebed4dfdce9724b618c: open /var/lib/docker/containers/0bb0b50393dd951caeaa8386eb8ec8be1cc60e0822167ebed4dfdce9724b618c/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 15732a4b2a97b91a2c590cab260f91dde7708b50059942221d349a778f94c892: open /var/lib/docker/containers/15732a4b2a97b91a2c590cab260f91dde7708b50059942221d349a778f94c892/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 17b4471d4b031cd24feba6a2dc46e1524bcd9a6bb3b03342a642a5968caff3fa: open /var/lib/docker/containers/17b4471d4b031cd24feba6a2dc46e1524bcd9a6bb3b03342a642a5968caff3fa/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 20686bda195d61f2c76c3e3c809f8b07df9b830d8bc650e10593e1863c82b7f3: open /var/lib/docker/containers/20686bda195d61f2c76c3e3c809f8b07df9b830d8bc650e10593e1863c82b7f3/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 2fe7db68f38445c8ac0124be87174f66ccd1729880c5fa94b93d77ac0aa547fe: open /var/lib/docker/containers/2fe7db68f38445c8ac0124be87174f66ccd1729880c5fa94b93d77ac0aa547fe/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 31b34a085e90849bcffd50c5f7b41d93849d494913448a92849c5d621555251d: open /var/lib/docker/containers/31b34a085e90849bcffd50c5f7b41d93849d494913448a92849c5d621555251d/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 3484c3c05947051eea53865c973100d493e7ec495b3d7a5d4fbc1e5096196733: open /var/lib/docker/containers/3484c3c05947051eea53865c973100d493e7ec495b3d7a5d4fbc1e5096196733/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 3ed275efb25789d6c9e18bf36e46f437fbdb21f3ffd7a93cb4525610737441f0: open /var/lib/docker/containers/3ed275efb25789d6c9e18bf36e46f437fbdb21f3ffd7a93cb4525610737441f0/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 4503890c72d2f728e315b6ecae05fbabba85a3f959898a52df800f6fa22ca094: open /var/lib/docker/containers/4503890c72d2f728e315b6ecae05fbabba85a3f959898a52df800f6fa22ca094/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 4db4ed2fbac1b442d770bcd325937508d2b190caa766f4ddef4f21628a953ea2: open /var/lib/docker/containers/4db4ed2fbac1b442d770bcd325937508d2b190caa766f4ddef4f21628a953ea2/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 56f36a11482d6b9c513cbb819d6c67a768bd47dc4c02bd0de62c61365b6ba363: open /var/lib/docker/containers/56f36a11482d6b9c513cbb819d6c67a768bd47dc4c02bd0de62c61365b6ba363/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 5b254c1c2344f61ab6bf6b338b22150cccd6ebd04407f3d00d6b5b3e37810d4f: open /var/lib/docker/containers/5b254c1c2344f61ab6bf6b338b22150cccd6ebd04407f3d00d6b5b3e37810d4f/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 73fd6f0edadcf67fcdad7a397784275db013df085e648230b5818f0e68e3f48c: open /var/lib/docker/containers/73fd6f0edadcf67fcdad7a397784275db013df085e648230b5818f0e68e3f48c/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 7ad8ad079db979b156af858cd36b908434157efd43e8cbc13677fa287bdf4da0: open /var/lib/docker/containers/7ad8ad079db979b156af858cd36b908434157efd43e8cbc13677fa287bdf4da0/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 82a2e14c00dd73e2df1d78c45a0e576d52637c5dc422c32182ded365d6893167: open /var/lib/docker/containers/82a2e14c00dd73e2df1d78c45a0e576d52637c5dc422c32182ded365d6893167/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 86572f605d7990f173875853bcfbdfe3f909c9b26f439378ab73d561e0e735eb: open /var/lib/docker/containers/86572f605d7990f173875853bcfbdfe3f909c9b26f439378ab73d561e0e735eb/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container 9eecdb0bf364f80cc88532832221da9de86c10a31b24660fdce8b68c79504a88: open /var/lib/docker/containers/9eecdb0bf364f80cc88532832221da9de86c10a31b24660fdce8b68c79504a88/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container a0920424bc83bffbc980f39f6dad17c865f84de1c3508a01d3c1298870f608c1: open /var/lib/docker/containers/a0920424bc83bffbc980f39f6dad17c865f84de1c3508a01d3c1298870f608c1/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container be228e991ffba0d423bb8bdca22fda9e318b7084bae53d765212bed6612e6b01: open /var/lib/docker/containers/be228e991ffba0d423bb8bdca22fda9e318b7084bae53d765212bed6612e6b01/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container e01b5a18f7c252f9c06e6d2dc9720baa184bc803e52aa68e9253372854382213: open /var/lib/docker/containers/e01b5a18f7c252f9c06e6d2dc9720baa184bc803e52aa68e9253372854382213/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container f00aff0df390b90f0a739430b4896cd67afc256a1c657271caf989fd3791ac91: open /var/lib/docker/containers/f00aff0df390b90f0a739430b4896cd67afc256a1c657271caf989fd3791ac91/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .[error] daemon.go:321 Failed to load container f271529997f7479b5b6f65ccdd21d6b91445bbb31a3b253e95b1cf6ad6468c37: open /var/lib/docker/containers/f271529997f7479b5b6f65ccdd21d6b91445bbb31a3b253e95b1cf6ad6468c37/config.json: no such file or directory
Nov 14 20:24:47 example.com docker[18225]: .......................[info] : done.
Nov 14 20:24:47 example.com docker[18225]: [0687b0f9] +job acceptconnections()
Nov 14 20:24:47 example.com docker[18225]: [0687b0f9] -job acceptconnections() = OK (0)
Nov 14 20:24:47 example.com docker[18225]: [info] POST /v1.15/images/create?fromImage=ubuntu%3A14.04
Nov 14 20:24:47 example.com docker[18225]: [0687b0f9] +job pull(ubuntu, 14.04)
Nov 14 20:24:47 example.com docker[18225]: [0687b0f9] +job trust_update_base()
Nov 14 20:24:48 example.com docker[18225]: [0687b0f9] -job trust_update_base() = OK (0)
Nov 14 20:24:48 example.com docker[18225]: [0687b0f9] +job trust_key_check(/library/ubuntu)
Nov 14 20:24:48 example.com docker[18225]: [0687b0f9] -job trust_key_check(/library/ubuntu) = OK (0)
Nov 14 20:24:48 example.com kernel: device-mapper: thin: Creation of new snapshot 0 of device 0 failed.
Nov 14 20:24:48 example.com kernel: JBD2: no valid journal superblock found
Nov 14 20:24:48 example.com kernel: EXT4-fs (dm-1): error loading journal
Nov 14 20:24:48 example.com kernel: JBD2: no valid journal superblock found
Nov 14 20:24:48 example.com kernel: EXT4-fs (dm-1): error loading journal
Nov 14 20:24:52 example.com systemd-udevd[298]: error: /dev/dm-1: No such device or address
Nov 14 20:24:53 example.com docker[18225]: [error] pull.go:151 Error from V2 registry: Error mounting '/dev/mapper/docker-8:98-380441-511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158' on '/var/lib/docker/devicemapper/mnt/511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158': invalid argument
Nov 14 20:24:57 example.com kernel: JBD2: no valid journal superblock found
Nov 14 20:24:57 example.com kernel: EXT4-fs (dm-1): error loading journal
Nov 14 20:24:57 example.com kernel: JBD2: no valid journal superblock found
Nov 14 20:24:57 example.com kernel: EXT4-fs (dm-1): error loading journal
Nov 14 20:25:02 example.com systemd-udevd[298]: error: /dev/dm-1: No such device or address
Nov 14 20:25:03 example.com docker[18225]: Error pulling image (14.04) from ubuntu, Error mounting '/dev/mapper/docker-8:98-380441-511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158' on '/var/lib/docker/devicemapper/mnt/511136ea3c5a64f264b78b5433614aec563103b4d4702f3ba7d4d2698e22c158': invalid argument
Nov 14 20:25:03 example.com docker[18225]: [0687b0f9] -job pull(ubuntu, 14.04) = ERR (1)
Nov 14 20:25:03 example.com docker[18225]: panic: runtime error: invalid memory address or nil pointer dereference
Nov 14 20:25:03 example.com docker[18225]: [signal 0xb code=0x1 addr=0x20 pc=0x6bb9ac]
Nov 14 20:25:03 example.com docker[18225]: goroutine 58 [running]:
Nov 14 20:25:03 example.com docker[18225]: runtime.panic(0xa6bc20, 0x1087c93)
Nov 14 20:25:03 example.com docker[18225]: /usr/lib/go/src/pkg/runtime/panic.c:279 +0xf5
Nov 14 20:25:03 example.com docker[18225]: bufio.(*Writer).flush(0xc2082228c0, 0x0, 0x0)
Nov 14 20:25:03 example.com docker[18225]: /usr/lib/go/src/pkg/bufio/bufio.go:530 +0xdc
Nov 14 20:25:03 example.com docker[18225]: bufio.(*Writer).Flush(0xc2082228c0, 0x0, 0x0)
Nov 14 20:25:03 example.com docker[18225]: /usr/lib/go/src/pkg/bufio/bufio.go:519 +0x39
Nov 14 20:25:03 example.com docker[18225]: net/http.(*response).Flush(0xc20816fa40)
Nov 14 20:25:03 example.com docker[18225]: /usr/lib/go/src/pkg/net/http/transport.go:885 +0x38f
Nov 14 20:25:03 example.com docker[18225]: created by net/http.(*Transport).dialConn
Nov 14 20:25:03 example.com docker[18225]: /usr/lib/go/src/pkg/net/http/transport.go:601 +0x957
Nov 14 20:25:03 example.com docker[18225]: goroutine 118 [runnable]:
Nov 14 20:25:03 example.com docker[18225]: net/http.(*persistConn).readLoop(0xc2080d7130)
Nov 14 20:25:03 example.com docker[18225]: /usr/lib/go/src/pkg/net/http/transport.go:868 +0x829
Nov 14 20:25:03 example.com docker[18225]: created by net/http.(*Transport).dialConn
Nov 14 20:25:03 example.com docker[18225]: /usr/lib/go/src/pkg/net/http/transport.go:600 +0x93f
(snipping several dozen lines of stack trace in the middle there)
The search results for various permutations of "docker error mount invalid argument dm" are badly washed out so I wasn't able to find any helpful leads; nor was I able to find anything relevant in the docker issue list. I tried re-installing docker (by running pacman -Rns docker and then pacman -S docker hoping that it was a config setting I could nuke & pave but this had no effect. I then ran the following:
$ dmsetup ls
docker-8:98-380441-pool (254:0)
followed by dmsetup remove docker-8:98-380441-pool and attempted the pull again. No difference.
I'm convinced this is not a docker bug but a misconfiguration of my system, but the error provided ("error mounting .... invalid argument") is rather opaque and I'm stuck with what to try next.
Any suggestions would be appreciated.
Last edited by cmtonkinson (2014-11-15 11:41:47)Well, rm -rf /var/lib/docker did it!
I was unable to remove /var/lib/docker/devicemapper ("device or resource busy") but that doesn't seem to matter - as you suggest docker reconfigured itself. Thanks for the tip!
For the record (should have posted this previously):
$ docker info
Containers: 1
Images: 7
Storage Driver: devicemapper
Pool Name: docker-8:98-380441-pool
Pool Blocksize: 65.54 kB
Data file: /var/lib/docker/devicemapper/devicemapper/data
Metadata file: /var/lib/docker/devicemapper/devicemapper/metadata
Data Space Used: 598.3 MB
Data Space Total: 107.4 GB
Metadata Space Used: 1.18 MB
Metadata Space Total: 2.147 GB
Library Version: 1.02.90 (2014-09-01)
Execution Driver: native-0.2
Kernel Version: 3.17.2-1-ARCH
Operating System: Arch Linux
WARNING: No swap limit support
$ docker --version
Docker version 1.3.1, build 4e9bbfa -
Error : CGImageCreate: invalid image colorspace: NULL.
Hi,
I am unable to launch Intellij IDEA from command line using ./idea.sh on my Mac (OS 10.7.4). The intellij IDEA flash screen comes up after which I am seeing the following error and the application hangs -- the IDEA does not open. I have been trying to get over this for a long time but no help. Any help is appreciated.
bash-3.2$ ./idea.sh
Dec 7 17:37:28 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
Dec 7 17:37:28 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
Dec 7 17:37:28 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
Dec 7 17:37:28 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
Dec 7 17:37:31 rahusrivastava.ariba.com java[1789] <Error>: CGContextGetCTM: invalid context 0x0
Dec 7 17:37:31 rahusrivastava.ariba.com java[1789] <Error>: CGContextSetBaseCTM: invalid context 0x0
Dec 7 17:37:31 rahusrivastava.ariba.com java[1789] <Error>: CGContextGetCTM: invalid context 0x0
Dec 7 17:37:31 rahusrivastava.ariba.com java[1789] <Error>: CGContextSetBaseCTM: invalid context 0x0
Dec 7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
Dec 7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
Dec 7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
Dec 7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
Dec 7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
2012-12-07 17:37:34.623 java[1789:c07] CWindow's _nativeShow encountered error: *** -[__NSPlaceholderArray initWithObjects:count:]: attempt to insert nil object from objects[0]
Dec 7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
Dec 7 17:37:34 rahusrivastava.ariba.com java[1789] <Error>: CGImageCreate: invalid image colorspace: NULL.
bash-3.2$
Thanks,
Rahul.My input certainly wasn't intended to ba sarcastic, so please forgive me if it seemed so.
Seroiusly, always do a search before updating, http://discussions.apple.com/search.jspa?objID=f1201&search=Go&q=update+problem, NI is flaky at best IMHO, did you heck with them yet to see if a patch is available?
Always wait a few weeks before updating, a reinstall is a headache, goodluck! -
Database error text: invalid number
Hi Gurus,
I am calling a procedure proxy from ECC and it is giving me a short dump:
Error 339 has occurred while executing database procedure
""_SYS_BIC"."Krishna_Demo_Proj.Model/KC_GET_MARA"" on the
current database connection "R/3".
Database error text: invalid number: ''
Triggering statement: "dsql_open_proc"
I have created a table with only one field.
Mapped the Data types after creating the Procedure Proxy
Which data type I need to use? I tried with lots of combinations but, still the same error.
Regards,
Krishna ChauhanHi Srinu,
I have used NVARCHAR 18 and corresponding to that CHAR18 is used.
Please see the attached screen shots.
Regards,
Krishna Chauhan
Maybe you are looking for
-
Problem with correlation on QA systems
Hi all i need help!!! I have a problem with correlation on QA systems!!!! I have exported file (SCVW and CS) from DEV system and imported into QAL system! I ve changed the parameters of CCs!! But messages on sxi_moni doesn't meet correlation!!!! The
-
No service in Uptown Charlotte, NC
I recently started working in Uptown Charlotte and the coverage here seems ok (phone shows LTE and all bars) however, I have almost NO service. I have an iPhone. iMessage does not work, nor does email or sometimes even voicemail. It's not my offic
-
HI Friends, i have downloaded material code, material type and po text in one text file by using read_text function. now i want to upload it into new system how can i do that? i am using save_text function to save it into new SAP s
-
How to automate revision control of Crystal Reports from SAP B1?
I am reviewing our revision controls and am trying to figure out a good way to maintain a history of the SAP B1 Crystal Reports. Is there a way to automatically export the Crystal Reports to an external file? I know that developers can save the fil
-
Hi All, I want to learn <b>SMART</b> Forms in ABAP. Till now i have worked on <b>SAP Scripts</b> extensively. Can anybody tell me how can go about creating new <b>SMART Forms</b>! Can anybody tell me step-by-step procedure to create new <b>Smart Form