Click or drag to resize

ConneXionFindGeneralTransactionsByCriteria Method

Finds the General Transaction by criteria.

Namespace:  ConneXion
Assembly:  ConneXion (in ConneXion.dll) Version: 2020.0
Syntax
public ConneXionResult FindGeneralTransactionsByCriteria(
	ref GeneralTrans GeneralTransaction,
	string sRangeType,
	string sTransDateRange,
	ref GeneralTrans[] GeneralTransactions
)

Parameters

GeneralTransaction
Type: ConneXionGeneralTrans
The General Transaction
sRangeType
Type: SystemString
Type of the range.
sTransDateRange
Type: SystemString
The Trans Date range.
GeneralTransactions
Type: ConneXionGeneralTrans
List of GeneralTransactions

Return Value

Type: ConneXionResult
ConneXionResult.
Remarks

Required Fields

  • TAMUserName
  • TAMPassword
  • TAMCentralAgency - only if agency is on AppliedOnline
  • LicenseKey - only if agency is an Agency of Vendor
Note Note
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

Examples
VB
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
See Also