Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9369

Re: Developing a scheduler application that extract data from XML and generate A/R Invoice

$
0
0

Hi Idrees,

You definitely need your own XML parser.

Unless your XML file is already compliant to SBO documents object XML.

You can try to see how it looks like using this

 

Dim ODRF As SAPbobsCOM.Documents = oCompany.GetBusinessObject(BoObjectTypes.oDrafts)

ODRF.GetByKey(1)

oCompany.XmlExportType = SAPbobsCOM.BoXmlExportTypes.xet_ExportImportMode

ODRF.SaveXML("C:\MyDraft.xml")

 

For scheduling part, you have few options:

1. Create your add on as an Executable (DI only). Then schedule this program to run using the standard windows scheduler.

2. Create your add on as a Windows Service. Implement a timer to execute the import at intervals.

 

Regards
Edy


Viewing all articles
Browse latest Browse all 9369

Trending Articles