Hi Dev,
When you said it is executing successfully,
Did you check the value of lRetcode after the oDoc.Add() ?
Did it return you 0 ? or any other value ?
a lRetcode of <> 0 means there was problem adding the doc.
You need to check the oOtherCompany.GetLastErrorDescription.
Regards
Edy