Sombody called you JI here :)

ha haha,
i was just looking back the BIP forum for my answers, how did i answer for the question to get some feedback,..


Here you go!

How to:
How to match values across elements? (EBS, PO, RTF)

Question was :
PO_DATA>
LINES>
LINES_ROW>
LINE_DESCRIPTION>1
PO_LINE_ID>2467
/LINES_ROW>
LINES_ROW>....
LINES_ROW>....
/LINES>
LINE_ATTACHMENTS>
TEXT>Detailed item description
ID>2467
/LINE_ATTACHMENTS>
/PO_DATA>

I need to pick the right TEXT element based on the ID element, and display that together with the actual line details

the solution i gave was
?for-each: PO_DATA/LINES/LINES_ROW?>
?LINE_DESCRIPTION?>
?PO_LINE_ID?>
?xdoxslt:set_variable($_XDOCTX, 'x', PO_LINE_ID)?>
Attach
?end for-each?>

its not bad, really ..
somebody called be with 'Ji', though my help was small in understanding what she wants, and gave her a snippet

Comments

Anonymous said…
What if there is more than one line attachment for a po_line_id? This seems to only pull the first one.

Popular posts from this blog

BIP Formatting

Repeat Table Header in all pages in BIP

Limit rows per page