BI Publisher (MOSC)

MOSC Banner

How to add conditionon a field in BI publisher template for language control.

edited Dec 30, 2012 12:22PM in BI Publisher (MOSC) 25 commentsAnswered
Hi All,

I want to determine the language output of the AR invoice report based on the bill-to site address in the template using BI publisher.
If the bill-to site is located in Sweden, the document should be in Swedish. If the bill-to site is located outside of Sweden, the document should be in English.
I want to add below condition for every field in the template but because of size constraint it is not allowing me to do so.
Is there any other way out to do this? Please guide me.

<?xdofx:if(trx_type_name = 'Projects Invoice' and trx_type_name like 'INV_%SO1')and TRX_BILL_TO_COUNTRY<>'Sweden' then 'INOVICE' elsif(trx_type_name = 'Projects Invoice' and trx_type_name like 'INV_%SO1')and TRX_BILL_TO_COUNTRY='Sweden' then 'FAKTURA'elsif(trx_type_name = 'Projects Credit Memo' and trx_type_name like 'CM_%SO1')and TRX_BILL_TO_COUNTRY<>'Sweden' then 'CREDIT MEMO'elsif(trx_type_name = 'Projects Credit Memo' and trx_type_name like 'CM_%SO1')and TRX_BILL_TO_COUNTRY='Sweden' then 'KREDITFAKTURA'else  null end if?>

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center