jim s
24th January 2004, 18:10
I've seen this somewhere once before, but now I can't find any reference to it. Doesn't the Baan text editor have a way to mark lines of text to print just on internal documents, or just external documents? I think it's the "<" and ">" characters, but I'm not sure. And if so, which is which? Any other notes on how this really works?

I would assume that external documents would be sales orders and purchase orders, and virtually everything else would be considered internal documents (work orders, BOMs, pick lists, etc).

Any help would be appreciated. You'd expect this to be mentioned in the main help screens for text, but I can't find it.....

Thanks.

DStroud
25th January 2004, 20:47
See attached Baan help regarding handling text.

jim s
26th January 2004, 19:41
Thank you for the response, this confirms what I thought I had seen, I just couldn't find it. This could be quite useful, I still wonder why they don't have it in a more generic text help screen somewhere. Oh, well, I guess that's our beloved Baan help.

Can anyone confirm my supsicions on what constitutes internal vs external text?

lbencic
26th January 2004, 21:45
In general,
< means Internal
> means External

Keep in mind though that this is actually programmed into the report script, not an inherent part of Baan text. If you are running a report that Baan has not programmed this logic into (minor report they do not expect external text to be on), then this logic to determine internal vs. external will not be in there. Also, if you create custom reports you need to specifically code this in the report script for it to work.

You can see the logic in just about any major external report script, it looks like this (as taken from Sales Order Ack. report script):


field.tdsls040.txta:
before.print:
validate.textline()


...

function validate.textline()
{
if ( lattr.prline(1;1) = ">" ) then
lattr.prline = lattr.prline(2)
else
if ( lattr.prline(1;1) = "<" ) then
lattr.print = false
endif
endif
}