I get an error "Module J/C is not on file" when attempting to reverse an electronic payment. Here is my code
using (DispatchObject mCheck = new DispatchObject(pvx.InvokeMethod("NewObject", "AP_ManualCheck_bus", oSS.GetObject())))
{
// Perfrom Check/Electronic payment reversal
retVal = (int)mCheck.InvokeMethod("nCheckHeaderReversal", new object[] { nChkNo, "P" });
if (retVal == 0) { MessageBox.Show((string)oSS.InvokeMethod("sLastErrorMsg", null)); }
}
Thanks,
Nishanth