project QadFinancials > class BFRWAnalysisCode > method GetFRWAnalysisCOATypeTranslation

function returns character

Description

Get translation for the dimension


Parameters


icFRWAnalysisCOATypeinputcharacter


Internal usage


QadFinancials
method BFRWAnalysisCode.ValidateComponentPreFRWAnCodeInfo


program code (program1/bfrwanalysiscode.p)

case icFRWAnalysisCOAType:
    when {&FRWANALYSISCOATYPE-COMPANY}    then return {&FRWANALYSISCOATYPE-COMPANY-TR}.
    when {&FRWANALYSISCOATYPE-COSTCENTRE} then return {&FRWANALYSISCOATYPE-COSTCENTRE-TR}.
    when {&FRWANALYSISCOATYPE-CURRENCY}   then return {&FRWANALYSISCOATYPE-CURRENCY-TR}.
    when {&FRWANALYSISCOATYPE-DIVISION}   then return {&FRWANALYSISCOATYPE-DIVISION-TR}.
    when {&FRWANALYSISCOATYPE-GL}         then return {&FRWANALYSISCOATYPE-GL-TR}.
    when {&FRWANALYSISCOATYPE-INTERCO}    then return {&FRWANALYSISCOATYPE-INTERCO-TR}.
    when {&FRWANALYSISCOATYPE-JOURNAL}    then return {&FRWANALYSISCOATYPE-JOURNAL-TR}.
    when {&FRWANALYSISCOATYPE-LAYER}      then return {&FRWANALYSISCOATYPE-LAYER-TR}.
    when {&FRWANALYSISCOATYPE-PROJECT}    then return {&FRWANALYSISCOATYPE-PROJECT-TR}.
    when {&FRWANALYSISCOATYPE-SAF1}       then return {&FRWANALYSISCOATYPE-SAF1-TR}.
    when {&FRWANALYSISCOATYPE-SAF2}       then return {&FRWANALYSISCOATYPE-SAF2-TR}.
    when {&FRWANALYSISCOATYPE-SAF3}       then return {&FRWANALYSISCOATYPE-SAF3-TR}.
    when {&FRWANALYSISCOATYPE-SAF4}       then return {&FRWANALYSISCOATYPE-SAF4-TR}.
    when {&FRWANALYSISCOATYPE-SAF5}       then return {&FRWANALYSISCOATYPE-SAF5-TR}.
    when {&FRWANALYSISCOATYPE-SAF6}       then return {&FRWANALYSISCOATYPE-SAF6-TR}.
    when {&FRWANALYSISCOATYPE-SAF7}       then return {&FRWANALYSISCOATYPE-SAF7-TR}.
    when {&FRWANALYSISCOATYPE-SAF8}       then return {&FRWANALYSISCOATYPE-SAF8-TR}.
    when {&FRWANALYSISCOATYPE-SAF9}       then return {&FRWANALYSISCOATYPE-SAF9-TR}.
    when {&FRWANALYSISCOATYPE-SAF10}      then return {&FRWANALYSISCOATYPE-SAF10-TR}.
end.