Friday, 22 March 2024
How to put watermark in the RTF template in BIP Oracle Fusion
Step 1: Go to RTF template
Step 2: Click on Design > Watermark > Custom Watermark
Now Yellow highlighted above should be printed on output .
Let suppose we have to print that if invoice has been printed already then watermark should show as "duplicate" else nothing
.
Two things: we can make changes in the Data model SQL query itself. Example below
decode(printing_pending,'N','Duplicate')"Printing"
And we can plag/map "printing" column or XML tag in RTF template.
Now run the rtf template after putting XML values into it.
second thing we can make the changes in RTF template itself.
Use ifelse condition to decide.
xdoxslt:ifelse(.//CF_DUP_FLAG='Y','DUPLICATE','')
this condition specifies, if CF_DUP_FLAG is 'Y' then DUPLICATE else NULL
2. Assign to variable to wMark (this is seeded variable)
Cheers
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment