Translation Using User Defined.
Hi,
I would like to define the translation based on User defined. I want to defined the translation If account UD1 and custom2 UD1 is "AVE" then it will translate to Average rate instead of closing rate. Secondly if Account UD2 is also AVE then it will translate to average instead of closing for specific movements if its full year audited or half year audited.
vAccountUD1 = .Account.UD1(strAccount)
vAccountUD2 = .Account.UD2(strAccount2)
vCustom2UD1 = .Account.UD1(strCustom2)
If ((StrScenario = "ActualYE" and strYear > "2011") or (strScenario="ActualHY" and strYear > "2011")) Then
If (vAccountUD1 = "AVE" and vCustom2UD1 = "AVE") or (vAccountUD2 = "AVE") Then
0