Invoke the refund to customer dialog
Example code
VARIANT varCusId;
varCusId.iVal=1;
CComPtr<IAccounts>m_IAccountsInterface;
HRESULT hr;
hr=m_IAccountsInterface.CoCreateInstance(CLSID_Accounts);
if(FAILED(hr))
{
AfxMessageBox(_T("IAccountsInterface initialisation failed"));
return FALSE;
}
m_IAccountsInterface->InvokeRefundToCustomerDlg(varCusId);