![]() | |
ConneXionFindGeneralTransactionsByCriteria Method |
Namespace: ConneXion
public ConneXionResult FindGeneralTransactionsByCriteria( ref GeneralTrans GeneralTransaction, string sRangeType, string sTransDateRange, ref GeneralTrans[] GeneralTransactions )
![]() |
---|
Additional Parameters: sRangeType as String - Valid options are: "TransDate", "TransEffDate", "TransDueDate", or "ActgMonth" sTransDateRange as String - format must be "MM/DD/YYYY-MM/DD/YYYY" for Range of Dates, "MM/DD/YYYY" for a specific date or "MM/YYYY" for Accounting Month |
Dim oConneXionTranaction As New ConneXion.ConneXion Dim oTransaction As New ConneXion.GeneralTrans Dim oTransactions() As ConneXion.GeneralTrans Dim oResult As ConneXion.ConneXionResult oTransaction.TAMUserName = "EXEC" oTransaction.TAMPassword = "PSWD" oResult = oConneXionTranaction.FindGeneralTransactionsByCriteria(oTransaction, "transDate", "06/05/2000-08/05/2003", oTransactions) If oResult.Success = False Then txtGeneralTransaction.Text = "FindGeneralTransactionsByCriteria is false. " & oResult.Description & oResult.TAMDescription Else txtGeneralTransaction.Text = "FindGeneralTransactionsByCriteria is successful. " & oResult.Description & oResult.TAMDescription dgrdGeneralTransaction.DataSource = oTransactions End If