aricgresko
10 months agoContributor III
How to Get Prior Workflow Period Amount in Complex Expression
Is there a way to get the prior workflow period's amount ('Am' field in sourcestageData table)?
My use case is subtracting the current period's amount from the prior period's amount to derive the periodic value so I can apply Fx translation to just the periodic value instead of YTD value within a Derivative Transformation Rule.
I can easily get the current period's amount with this syntax:
Dim amountValueCurr As Decimal = args.GetNumericValueUsingColName("Am")
I can also get the current and prior Workflow Time Key's, but unsure how to leverage the prior Wtk to get those amounts from the prior period.