Text At Bottom Of Multi Page Report

lpatena
Advanced Member
lpatena
Advanced Member
Joined: January 26th, 2006, 8:13 pm

March 21st, 2006, 8:12 pm #1

To all:

Never came across having to do this ...

In the example of the Pick Slips (created in Wh130) - I need to add a custom modification where I print specific text at the bottom OF EVERY PAGE for that Pick Slip (for that shipment number).

Currently, the WH130 will print the heading information on every page - how do I tell it I want this new footing information printed on every page??

HELP!

Thanks in advance,

Laura
Laura Patenaude
Senior Programmer Analyst
Yankee Candle Company

lpatena@yankeecandle.com
Quote
Like
Share

Milo
LawsonTalk Addict!
Milo
LawsonTalk Addict!
Joined: February 9th, 2006, 4:25 pm

March 23rd, 2006, 6:56 pm #2

Laura:

Here's a quick answer, but from a programmer's perspective. (Someone else might know of something in the program itself to do what you want)

Modifying Lawson (based on Apps 8.0.3.9):
- Identify where in WH130 the report prints each page of the pick slip. I took a very quick look but didn't find it. It may be a in subprogram.
- Customize the .rpt in 1 of 2 ways: Either
1. Add your custom statement to the bottom of a section that prints on every page; or
2. Add a new report section
- If option 2, you must also customize WH130PD (or a subprogram) to print the new report section. [That's why option #1 is better, if possible.]

Another solution:
If you use a custom printing solution for laser forms, like those supplied by Bottomline, Moore-Wallace, and others, you would add the message there. No changes to Lawson need be made.

(Interesting - did a search on BOTTOM-COMM and it looks like there's a provision for a Bottom Comment functionality ... hmm, it's used for something else, apparently.)

Sorry I can't do more digging, this is on Company time.

-- Milo --
-- Milo --
Quote
Like
Share

tghost
Newbie
tghost
Newbie
Joined: January 23rd, 2006, 4:53 am

March 28th, 2006, 5:55 pm #3

Hi Laura,

There is another (easier) way to create the footer information that you want at the bottom of each page. (Caution, tech speak ahead..)

When creating a program or report using the Lawson CASE tools, you have the ability to create a standard footer, which can display the type of information that you are looking for. I have not had many clients use a footer in a report, but there are a few small program changes that would enable you to add this detail to the program that you are looking at. What I have done before is to paint a generic report using what is called a standard footer, then copy the code created during generation of the generic report into the program you want to add the detail to (making sure that I delete the generic program afterwards). You need to note that this is a modification to the program, which would not be supported by GSC, and would need to be reapplied anytime you get a new version of the program from Lawson.

The program changes include a new report group to the program's ".rpt" file, and a 2 line code addition to the program's "PD" file.

This is actually a relatively simple change to make, and does not involve a lot of logic changes to the program.

Ted
Quote
Like
Share

trezaei
LawsonTalk Addict!
trezaei
LawsonTalk Addict!
Joined: January 23rd, 2006, 9:08 pm

March 28th, 2006, 6:12 pm #4

Yes tghost is absolutely correct, this is the best way to do this. Its under "Report Options". You can turn on the "Standard footer" then when you go to paint the report you'll see a footer section.
Tan Rezaei
Sr. Technology Consultant
www.nogalis.com
Quote
Like
Share

lpatena
Advanced Member
lpatena
Advanced Member
Joined: January 26th, 2006, 8:13 pm

April 24th, 2006, 12:39 pm #5

OK - still need your help. I got the footer to work and it works wonderfully if I dont' try to change the data in the footer.

Basically, what I'm doing is trying to print customer specific information at the bottom of a pickticket created in WH130. When the shipment # changes, I need to change the variable information in the footer.

If I try to print just one pick slip at a time, it works perfectly. If I try to print more than one, and change the variable footer data, I get the error:

PrtDtlGrp: LINE.SkipCnt < 1 (Grp 1, Line 0)

and the program goes into needs recovery.

PLEASE HELP! I tried going to GSC, to no avail. Custom program. Although they have no problem with the hours I'm still spending cleaning up the mess created by their admitted bugs in IC190. I'm working weekends to clean this up because we need a quiet system.

Thanks in advance!
Laura Patenaude
Senior Programmer Analyst
Yankee Candle Company

lpatena@yankeecandle.com
Quote
Like
Share

trezaei
LawsonTalk Addict!
trezaei
LawsonTalk Addict!
Joined: January 23rd, 2006, 9:08 pm

April 24th, 2006, 3:36 pm #6

Have you tried to use the debugger at all? Are you NT or UNIX. If you're on UNIX I would really recommend using the debugger and running through two pages to see if there is a counter that needs to be reset or something like that.

Also paste the portion of your rpt file that contains the footer just in case we can see something.

If all else fails and you have to get it done, here's something else you can do which I did many years ago to do a similar thing for printing pick tickets. I didn't even use a report file. I just used a regular work file and formatted it as I went. So each line consisted of one 80 character field would I basically formatted as I went. Its not as difficult as it sounds.

And then I had a counter. Each time I wrote a line to the file, I incremented the counter by one, up to 59, then I would write my footer line (line 60) and reset the counter for the next page (if your pages have 60 lines total. This method works great and you have a lot of control over your report layout. Especially for something like a pick ticket or ship ticket it is sometimes necessary to do something a little unusual like this.

After you close your file you'll have to find a way to display it to the user, I just had to send it to the printer so I didn't have to think that far but I am sure you'll think of something.

For now though, since you've come this far I would definitely stick to the debugger option if its available to you.

Keep us updated.
Last edited by trezaei on April 24th, 2006, 3:37 pm, edited 1 time in total.
Tan Rezaei
Sr. Technology Consultant
www.nogalis.com
Quote
Like
Share

wengdongdong
Advanced Member
wengdongdong
Advanced Member
Joined: June 15th, 2015, 1:13 am

December 28th, 2017, 5:47 am #7

20171228 junda
swarovski outlet
snapbacks wholesale
swarovski outlet
canada goose outlet
cheap ugg boots
coach outlet store online
moncler outlet
hermes birkin bag
canada goose uk
mulberry outlet逗号mulberry handbags outlet
coach outlet online
blackhawks jerseys
michael kors outlet
nike shoes
ugg outlet
michael kors online
polo ralph lauren
michael kors outlet clearance
oakley sunglasses
christian louboutin
snapbacks wholesale
michael kors outlet online
oakley sunglasses
true religion outlet
longchamp bags
polo ralph lauren outlet
coach outlet online
moncler outlet
hermes birkin
michael kors outlet clearance
ralph lauren polo
cheap oakley sunglasses
canada goose outlet online
oakley sunglasses
ugg outlet
oakley sunglasses
cheap soccer jerseys
michael kors outlet clearance
lacoste polo
coach factory outlet
prada outlet
jordan shoes
true religion jeans
cheap nike shoes
ugg boots
canada goose jackets
ugg outlet
polo ralph lauren
pandora charms
true religion outlet
nike shoes
ugg outlet online
oakley sunglasses
canada goose outlet online
longchamp handbags
michael kors outlet
polo ralph lauren shirts
coach outlet canada
canada goose outlet
coach canada
true religion jeans
snapback hats
christian louboutin shoes
longchamp bags
new balance outlet
cheap jordan shoes
air huarache
nike shoes
michael kors outlet
moncler coats
oakley sunglasses
tory burch outlet online
huaraches shopping
mlb jerseys wholesale
oakley sunglasses
christian louboutin shoes
michael kors outlet clearance
ecco outlet
nike sko
longchamp handbags
canada goose coats
cheap oakley sunglasses
cheap nfl jerseys
scarpe hogan
cheap ugg boots
mcm outlet
michael kors handbags
ralph lauren outlet
canada goose outlet
nike foamposite
polo outlet
tory burch outlet stores
ferragamo outlet
uggs outlet online
mbt outlet
cheap michael kors handbags
ralph lauren uk
canada goose outlet store
michael?kors?outlet?online
Quote
Like
Share