Transactions Collection Methods 

Method Name

In Parameters

Return Type

Description

Param

Type

Add

TransactionCode

String

Variant

Creates a Transaction object and adds it to the collection. If successful, returns the Transaction object. The TransactionCode parameter is the transaction name defined in the R/3 System and is required. The UserIdentifier parameter can be any string used to identify the set of Transaction objects with the same transaction code. This parameter is required.

UserIdentifier

Variant

Item

TransactionCode

String

ITransaction

Returns a Transaction object from the collection. The parameters used here are defined the same as for the Add method. The Item method is the default method for the Transactions collection object.

UserIdentifier

Variant

Remove

TransactionCode

Variant

Boolean

Removes a Transaction object from the collection. Any references to this removed Transaction object are invalid. The parameters here are the same as for the Add method, except that the TransactionCode parameter can also be an Index (numeric) when the UserIdentifier is omitted.

UserIdentifier

Variant

RemoveAll

(None)

(None)

Removes all Transaction objects from the collection.