Bookshelf Home | Contents | Index | PDF |
Siebel Service Handheld Guide > Print Tagging Language > Using Variables in Print TemplatesThe following example shows how to use variables in a print template. <TAG:Title Title="Inventory Report"> <REM: **********Variable Assignment Examples**************> <TAG:SetVariable name="THIS IS VARIABLE" variable="VarStr"> <TAG:GetRegistry name="InstallDir" variable="VarReg"> <TAG:GetDate dayoffset="10" variable="VarDate"> <TAG:GetDate longformat="TRUE" variable="VarLongDate"> <TAG:GetTime secondoffset="-3600" variable="VarTime"> <TAG:GetTotal appletname="CS HH Product Bucket List Applet" fieldname="Quantity" variable="VarTotal"> <TAG:GetTotal appletname="CS HH Product Bucket List Applet" fieldname="Quantity" query="Status|Good" variable="VarGoodTotal"> <TAG:GetTotal appletname="CS HH Product Bucket List Applet" fieldname="Quantity" query="Status|Defective" variable="VarDefectiveTotal"> <TAG:GetField appletname="CS HH Product Bucket List Applet" fieldname="Quantity" variable="VarQuantityField"> <TAG:GetCount appletname="CS HH Product Bucket List Applet" query="Status|Good" variable="VarGoodCount"> <TAG:GetCount appletname="CS HH Product Bucket List Applet" query="Status|Defective" variable="VarDefectiveCount"> <REM: **********Variable Assignment Examples End************> <REM: Inventory Print Template. This template includes 3 applets. The ENU template> <TAG:Format Face="Helvetica" Size="16" Align="Center"> <TAG:Format Face="Helvetica" Size="20" Bold="TRUE" Align="Center"> <TAG:Format Face="Helvetica" Size="8" > <TAG:Applet Name="CS HH Inv Loc Print Applet" Caption="TRUE" Wrap="TRUE"> <TAG:Applet Name="CS HH Product Bucket List Applet" Line="FALSE" Headerdivider="TRUE" Recorddivider="FALSE" Wrap="TRUE"> <REM: *************Variable Usage Example***************> <TAG:Divider Weight="3" startat="20" endat="80"> <TAG:Cell startat="0" endat="50" name="TOTAL:" Align="RIGHT"> <TAG:Cell startat="50" endat="100" variable="VarTotal" Align="RIGHT"> <TAG:Cell startat="0" endat="50" name="TOTAL Defective:" Align="RIGHT"> <TAG:Cell startat="50" endat="100" variable="VarDefectiveTotal" Align="RIGHT"> <TAG:Cell startat="0" endat="50" name="TOTAL Good:" Align="RIGHT"> <TAG:Cell startat="50" endat="100" variable="VarGoodTotal" Align="RIGHT" <TAG:Cell startat="0" endat="50" name="Defective Count:" Align="RIGHT"> <TAG:Cell startat="50" endat="100" variable="VarDefectiveCount" Align="RIGHT"> <TAG:Cell startat="0" endat="50" name="Good Count:" Align="RIGHT"> <TAG:Cell startat="50" endat="100" variable="VarGoodCount" Align="RIGHT"> <TAG:Cell startat="50" endat="100" variable="VarReg"> <TAG:Cell startat="50" endat="100" variable="VarStr"> <TAG:Cell startat="0" endat="30" variable="VarDate"> <TAG:Cell startat="30" endat="70" variable="VarLongDate"> <TAG:Cell startat="70" endat="100" variable="VarTime"> <REM: ***********Variable Usage Example End***************> <TAG:Format Face="Helvetica" Size="12" Align="LEFT"> |
Siebel Service Handheld Guide | Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |