Skip to Content

UpadateFromXML- Error


My requirement is Replicating an Item Master in different companies, i. e. when i am Adding an Item in One Company,

i need to replicate the same in other Company.

By using DI API with xml, i can able to do the Addition of an Item,

but i am not able to do the Updation.

'TargetCompany.XmlExportType = SAPbobsCOM.BoXmlExportTypes.xet_ExportImportMode

Dim oTarget_Item As SAPbobsCOM.Items = TargetCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oItems)


Dim i As Integer = oTarget_Item.UpdateFromXML("C:\Directory\ItemMaster.xml")

The above mentioned is the Source code i am using for these, When i executing this

i am getting an error like

Public member 'UpdateFromXML' on type 'IItems' not found

I request anyone to help me regarding this

Thanks & Regards,

Vijeesh P.S.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 28, 2013 at 05:15 PM

    Hi Vijeesh,

    What version of SAP are you running? I'm on 882 PL 10 and I don't see a method for SAPbobsCOM.Items called UpdateFromXML.

    Are you confusing with the method for the Documents object?

    Best regards,

    Pedro Magueija

    View Pedro Magueija's profile on LinkedIn

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.