Calculates the variance, credit, and debit totals for the specified template. The totals are returned as formatted strings; the formatting is determined by the applicable attributes of the template’s Entity and Account dimensions.
Syntax
<HFMwManageJournals>.GetVarianceForTemplate pIUnkHFMwTemplate, pvarbstrTotalDebits, pvarbstrTotalCredits, pvarbstrTotalVariance
Argument | Description |
---|
pIUnkHFMwTemplate | The HFMwTemplate object reference that represents the journal. Input argument. |
pvarbstrTotalDebits | Returns a string that contains the template’s total debits. Input/output argument. |
pvarbstrTotalCredits | Returns a string that contains the template’s total credits. Input/output argument. |
pvarbstrTotalVariance | Returns a string that contains the template’s variance. Note: The variance is the absolute difference between the total debits and credits. Input/output argument. |