Returns an XML string containing information on transactions for a cell in a statutory application. You can specify whether source transactions, destination transactions, or both are returned.
To return transaction information in a non-XML format, use GetDestinationTransactions or GetSourceTransactions. |
<HFMwDataGrid>.GetTransactionInfoAsXML (lRow, lColumn, lFlagsRequestedInfo)
The index of the row that contains the cell for which to return transaction information. | |
The index of the column that contains the cell for which to return transaction information. | |
Specifies the type of information to be returned in the XML string. Pass one of the HFMConstants type library listed in Data Grid Transaction Information Constants. You can use the addition operator ( + ) with these constants to return multiple types of information. |
Returns an XML string that represents the transaction information. The XML string is described in Transaction Information DTD.
The following example prints the specified cell’s transaction header information and source transactions to a file. Note how the call to GetTransactionInfoAsXML uses the addition operator to return both header and source transaction information.
Dim sXml, oFs, oTs ' cHFMDataGrid is a previously set HFMwDataGrid object sXML = cHFMDataGrid.GetTransactionInfoAsXML (0, 0, _ WEBOM_DATAGRID_TRANSACTION_INFO_HEADER + _ WEBOM_DATAGRID_TRANSACTION_INFO_SOURCE) ' Write the string to disk as a text file set oFs = CreateObject("Scripting.FileSystemObject") ' sFile is a previously set string containing the output file’s ' name and path set oTs = oFs.CreateTextFile(sFile) oTs.Write(sXml) oTs.Close