Description
Receives and processes the XML content.
You can remove sub-object lines from the BusinessPartners object via the XML file.
Syntax
| Visual Basic |
|---|
Public Function UpdateFromXML( _
ByVal FileName As String _
) As Long |
Parameters
Example
| Deleting line from the BusinessPartners object (C#) | Copy Code |
|---|
'Set import export model first vComp.XmlExportType = BoXmlExportTypes.xet_ExportImportMode 'Delete line from the BusinessPartners object Dim obp As BusinessPartners = vComp.GetBusinessObject(BoObjectTypes.oBusinessPartners) 'Get object obp.GetByKey("C001") obp.SaveToFile("C:\testbp.xml") 'Delete sub line directly from C:\testbp.xml 'Update object obp.UpdateFromXML("C:\testbp.xml") |
|
See Also