SaveICTransaction

Updates an existing transaction.

Tip:

To test whether a cell is valid for intercompany transactions, use DoesCellSupportICTransactionDetail. To create a new transaction, use CreateICTransaction. To get a transaction’s details, use HsvICTransactionsData.GetICTransactionData.

Syntax

<HsvICM>.SaveICTransaction vbAmountChanged, vbOverwrite, lSeqID, lScenario, lYear, lPeriod, lEntity, lICP, lAccount, lC1, lC2, lC3, lC4, lTRCur, lReason, dTRAmt, dTRLAmt, dTRRate, dTRDate, bstrID, bstrSubID, bstrRefID, bstrComment1, bstrComment2

Argument

Description

vbAmountChanged

Boolean (ByVal). A flag that specifies whether the transaction amount is being changed. Pass TRUE to change the amount, FALSE otherwise.

vbOverwrite

Boolean (ByVal). A flag that specifies whether to overwrite existing transactions that have the same Transaction ID and Sub ID. Pass TRUE to overwrite, FALSE otherwise.

lSeqID

Long (ByVal). The transaction’s sequence ID.

Sequence IDs are internal unique identifiers of transactions. You can get a transaction’s sequence ID with the HsvICTransactionsData method GetICTransactionData.

lScenario

Long (ByVal). The transaction’s Scenario dimension member.

lYear

Long (ByVal). The transaction’s Year dimension member.

lPeriod

Long (ByVal). The transaction’s Period dimension member.

lEntity

Long (ByVal). The transaction’s Entity dimension member.

lICP

Long (ByVal). The transaction’s Intercompany Partner dimension member.

lAccount

Long (ByVal). The transaction’s Account dimension member.

lC1

Long (ByVal). The transaction’s Custom 1 dimension member.

lC2

Long (ByVal). The transaction’s Custom 2 dimension member.

lC3

Long (ByVal). The transaction’s Custom 3 dimension member.

lC4

Long (ByVal). The transaction’s Custom 4 dimension member.

lTRCur

Long (ByVal). The ID of the transaction’s currency.

Tip:

You can obtain the ID of an Entity dimension member’s currency with GetEntityCurrencyID. You also can obtain a currency ID with GetTransCurrencyID.

lReason

Long (ByVal). The ID of the transaction’s reason code.

Tip:

You can get a reason code ID with GetICReasonCodeID.

dTRAmt

Double (ByVal). The transaction amount.

dTRLAmt

Double (ByVal). The entity currency amount.

dTRRate

Double (ByVal). The conversion rate.

dTRDate

Double (ByVal). The transaction date formatted as a Double.

bstrID

String (ByVal). The Transaction ID.

bstrSubID

String (ByVal). The transaction’s Sub ID.

bstrRefID

String (ByVal). The transaction’s Reference ID.

bstrComment1

String (ByVal). The first comment for the transaction.

Note:

You can specify a maximum of 256 characters.

bstrComment2

String (ByVal). The second comment for the transaction.

Note:

You can specify a maximum of 256 characters.