GetVariance

Calculates the variance, credit, and debit totals for the specified journal. The totals are returned as formatted strings; the formatting is determined by the applicable attributes of the journal’s Entity and Account dimensions.

Syntax

<HFMwManageJournals>.GetVariance pIUnkHFMwJournal, pvarbstrTotalDebits, pvarabstrTotalCredits, pvarbstrTotalAmount

Argument

Description

pIUnkHFMwJournal

The HFMwJournal object reference that represents the journal.

Input argument.

pvarbstrTotalDebits

Returns a string that contains the journal’s total debits.

Input/output argument.

pvarabstrTotalCredits

Returns a string that contains the journal’s total credits.

Input/output argument.

pvarbstrTotalAmount

Returns a string that contains the journal’s variance.

Note:

The variance is the absolute difference between the total debits and credits.

Input/output argument.