Share via


TrvOriginalDistributions::IsOriginal Method

Determines whether a distribution line in the SubLedgerJournalAccountEntryDistribution record is the original expense distribution or an offset distribution.

Syntax

server private static str IsOriginal()

Run On

Server

Return Value

Type: str
1 if the distribution is the original expense distribution; otherwise, 0.

Remarks

The type of distribution line is determined by comparing the signs of the SubLedgerJournalAccountEntryDistribution.AccountingCurrencyAmount and AccountingDistribution.TransactionCurrencyAmount values. If both are positive or both are negative, the distribution line is the original expense distribution.

See Also

Reference

TrvOriginalDistributions View