using System;
using busSalBeyond;
using System.Data ;
using System.Data.OleDb ;
using System.EnterpriseServices ;
namespace ERPGM
{
[ Transaction(TransactionOption.Required) ]
// [assembly: ApplicationActivation(ActivationOption.Library )]
// public class SalClass:ServicedComponent
public class SalClass
{
public SalClass()
{
}
[AutoComplete]
public static DataSet PtnCredit(string StrCondition {
DataSet ds = new DataSet();
ADODB.Recordset Rs=new ADODB.RecordsetClass ();
OleDbDataAdapter custDA = new OleDbDataAdapter();
try
{
busSalBeyond.clsbusSalBeyondClass BusSal=new clsbusSalBeyondClass();
Rs= BusSal.Query(StrCondition,"","","","","","","","","","","","","","","");
// ContextUtil.SetComplete();
custDA.Fill(ds, Rs, "Result");
return ds;
}
catch(Exception e)
{
// ContextUtil.SetAbort ();
throw new Exception (e.Message );
}
}
}