IsOneSideOfTransactionGroupWriteable

Indicates whether the user has write access to either the entity or Intercompany Partner cell of all transactions in a given range of an HsvICTransactionsData object reference’s transactions.

For example, suppose that you are unmatching the transactions listed in the following table:

Entity

Intercompany Partner (Entity)

Account

Amount

A

B

Receivable

100

A

B

Sales

100

B

A

Payable

200

If the user has write access to entity A and to all three accounts, but not to entity B, the user has access to A’s cells in all the transactions, and IsOneSideOfTransactionGroupWriteable returns TRUE. However, if the user has write access to entity A and the Sales and Payable accounts, but not to entity B and the Receivable account, the user lacks write access to both cells in the first transaction listed, and IsOneSideOfTransactionGroupWriteable returns FALSE.

Syntax

<HsvICM>.IsOneSideOfTransactionGroupWriteable(pIUnkICTransactionsData, lScenario, lYear, lPeriod, lFromIndex, lToIndex)

Argument

Description

pIUnkICTransactionsData

Object (ByVal). An HsvICTransactionsData object reference.

Tip:

To populate an HsvICTransactionsData object reference with groups of unmatched transactions, use GetUnMatchTransactions.

lScenario

Long (ByVal). The member ID of the Scenario dimension member for the transactions.

lYear

Long (ByVal). The member ID of the Year dimension member for the transactions.

lPeriod

Long (ByVal). The member ID of the Period dimension member for the transactions.

lFromIndex

Long (ByVal). The index of the first transaction in the range of the HsvICTransactionsData object reference’s transactions to be tested.

lToIndex

Long (ByVal). The index of the last transaction in the range of the HsvICTransactionsData object reference’s transactions to be tested.

Return Value

Boolean. Returns TRUE if the user has write access to at least one cell in all of the specified transactions.