Slide 1 -
Slide 1
Slide notes
In this tutorial, we want to look at what a 'Unit
Final Line' is, and how we use it. In this example, we see a Unit producing 2
output lines. Now, we ask, what if we want an underline at the bottom of the 2 Columns
for Quantity and Amount? How would we do that?
Slide 2 - Slide 2
Slide notes
Slide 3 - Slide 3
Slide notes
Because it is a Unit and a Unit is a repeat of Line
behaviour, we cannot just use an underline at those Tags, because then it will
be produced for all lines, and we only want it at the last, or final line.
Slide 4 - Slide 4
Slide notes
Slide 5 - Slide 5
Slide notes
Slide 6 - Slide 6
Slide notes
Slide 7 - Slide 7
Slide notes
Slide 8 - Slide 8
Slide notes
Slide 9 - Slide 9
Slide notes
Slide 10 - Slide 10
Slide notes
To demonstrate the challenge, we will now underline
the Quantity and Amount Tags.
Slide 11 - Slide 11
Slide notes
Slide 12 - Slide 12
Slide notes
Slide 13 - Slide 13
Slide notes
Slide 14 - Slide 14
Slide notes
Slide 15 - Slide 15
Slide notes
Slide 16 - Slide 16
Slide notes
Slide 17 - Slide 17
Slide notes
Slide 18 - Slide 18
Slide notes
Slide 19 - Slide 19
Slide notes
Slide 20 - Slide 20
Slide notes
Slide 21 - Slide 21
Slide notes
Slide 22 - Slide 22
Slide notes
Slide 23 - Slide 23
Slide notes
Slide 24 - Slide 24
Slide notes
Slide 25 - Slide 25
Slide notes
Slide 26 - Slide 26
Slide notes
Slide 27 - Slide 27
Slide notes
Slide 28 - Slide 28
Slide notes
Slide 29 - Slide 29
Slide notes
And the result is as predicted - we have Quantity
and Amount underlined at each line that is produced.
Slide 30 - Slide 30
Slide notes
Slide 31 - Slide 31
Slide notes
Now we return to the layout.
Slide 32 - Slide 32
Slide notes
And look at what we have done here. Immediately
below the Unit Line, we have made another line just like that, i.e. everything
is the same although of course the Tag Numbers are different.
Slide 33 - Slide 33
Slide notes
And we have underlined the Quantity and Amount Tags
on the new line, which is called the Unit Final Line.
Slide 34 - Slide 34
Slide notes
Slide 35 - Slide 35
Slide notes
Slide 36 - Slide 36
Slide notes
Slide 37 - Slide 37
Slide notes
Slide 38 - Slide 38
Slide notes
Slide 39 - Slide 39
Slide notes
Slide 40 - Slide 40
Slide notes
Slide 41 - Slide 41
Slide notes
And now our result is perfect! The underline effect
is only present at the last line that the unit produces. Whether the Unit
produces 2 or 20 or a dozen lines, the underline will only appear at the last
line. So how is this done at the Tags?
Slide 42 - Slide 42
Slide notes
Our Unit itself is called at Tag 3, and ends at Tag
9
Slide 43 - Slide 43
Slide notes
Slide 44 - Slide 44
Slide notes
Immediately following that, we have an equal number
of Tags, and all are Unit Dependents just like above, except for the 1st Tag in
the group, which is a 'Final Unit Line'.
Slide 45 - Slide 45
Slide notes
Slide 46 - Slide 46
Slide notes
Slide 47 - Slide 47
Slide notes
Let's look at this 'Final Unit Line' Tag.
Slide 48 - Slide 48
Slide notes
It uses the Template called 'Unit Final Line', and
the setting for 'Revert to Base Line' and
has the effect that if the Unit produces only 1
line of output, then the underline or other
modifications on the final line will not kick in.
Slide 49 - Slide 49
Slide notes
Slide 50 - Slide 50
Slide notes
Slide 51 - Slide 51
Slide notes
Slide 52 - Slide 52
Slide notes
So that is how we use the Template for 'Unit Final
Line'.