Upload XML File to XFRACAS/VBA

Tutorial: Upload XML file to XFRACAS
Below is the VBA version of the tutorial.

VBA Main MyRepository Repository MyRepository.ConnectToSQLRepository ListOfEntities NameIdPair ListOfEntities = MyRepository.XFRACAS.GetAllXfracasEntities EntityID Integer EntityID = ListOfEntities(0).ID    j  Integer j = MyRepository.XFRACAS.ImportXfracasXmlFile(EntityID, XFRACASImportType_Incident,, )