Multiple Company Headings

Suni

Active Member
We are currently going through a restructuring where several companies that
used to report through us to our common owner will now report separately.
However, we will still do much of the processing for them.

Our problem: Most (if not all) reports and other printed materials default
to company 0 (zero) for the report heading. Currently, wr have company 0
set to our own company name. This is no longer possible--we need to have
reports that reflect the individual companies' names and have no reference
to our own.

JDE's solution is to blank out the description for company 0 and then
individually input the desired company into the header for every
dreamwriter, worldwriter, FASTR, etc. etc. etc.

Does anyone have a better idea, or some tricks they could pass on? Thanks
very muuch!


Suni Sommers
Foss Maritime Co
World Software A7.3 C11
 
Blank out heading and customise your stationary?





suni <[email protected]>@jdelist.com on 01-02-2001 04:11:48 PM

Please respond to [email protected]

Sent by: [email protected]


To: [email protected]
cc:

Subject: Multiple Company Headings ~~0:4917


We are currently going through a restructuring where several companies that
used to report through us to our common owner will now report separately.
However, we will still do much of the processing for them.

Our problem: Most (if not all) reports and other printed materials default
to company 0 (zero) for the report heading. Currently, wr have company 0
set to our own company name. This is no longer possible--we need to have
reports that reflect the individual companies' names and have no reference
to our own.

JDE's solution is to blank out the description for company 0 and then
individually input the desired company into the header for every
dreamwriter, worldwriter, FASTR, etc. etc. etc.

Does anyone have a better idea, or some tricks they could pass on? Thanks
very muuch!


Suni Sommers
Foss Maritime Co
World Software A7.3 C11




--------------------------
To view this thread, visit the JDEList forum at:
http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=0&Board=W&Number=4917

*************************************************************
This is the JDEList World Mailing List.
Archives and information on how to SUBSCRIBE, and
UNSUBSCRIBE can be found at http://www.JDELIST.com
*************************************************************





________________________________________________________________________
This message has been checked for all known viruses, by Star Internet,
delivered through the MessageLabs Virus Control Centre.
For further information visit:
http://www.star.net.uk/stats.asp
 
--------------4637DAE9386DE9AEC6558FB5
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

This can be easily changed with a few new lines in the code. Change the sort by
putting the company first with a level break. Then create a new heading variable
and global variable.

On the before level break load the company into the global variable and in the
heading section use the global variable to chain to F0010 and get the assocated
descriptions.

here is a small sample..


Page Header Section

Create two variables
Create a report variable APFG called ‘rpt_HeaderFlag’? APFG
Create a report variable DL40 called ‘rpt_CostCenter’ -? DL30
In the Do section initialize the DL30 report variable to the internal variable

In the main section enter the following sections in the Event Rules
Initialize Section
RV A/P status = “1”

Before Level Break Section
IF RV A/P status = “1” and BC Company (Fxxx) is not equall to >Null>
Single Fetch F0010 with the BC company and return the description into DL40
IF SV File IO = CO_SUCCESS
RV A/P Status = ‘2’
ENDIF
ENDIF


I picked this information up from the list last year and changed it a little to
make it more efficient

Thanks
Rob



suni wrote:

> We are currently going through a restructuring where several companies that
> used to report through us to our common owner will now report separately.
> However, we will still do much of the processing for them.
>
> Our problem: Most (if not all) reports and other printed materials default
> to company 0 (zero) for the report heading. Currently, wr have company 0
> set to our own company name. This is no longer possible--we need to have
> reports that reflect the individual companies' names and have no reference
> to our own.
>
> JDE's solution is to blank out the description for company 0 and then
> individually input the desired company into the header for every
> dreamwriter, worldwriter, FASTR, etc. etc. etc.
>
> Does anyone have a better idea, or some tricks they could pass on? Thanks
> very muuch!
>
> Suni Sommers
> Foss Maritime Co
> World Software A7.3 C11
>
> --------------------------
> To view this thread, visit the JDEList forum at:
> http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=0&Board=W&Number=4917
> *************************************************************
> This is the JDEList World Mailing List.
> Archives and information on how to SUBSCRIBE, and
> UNSUBSCRIBE can be found at http://www.JDELIST.com
> *************************************************************

--------------4637DAE9386DE9AEC6558FB5
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
This can be easily changed with a few new lines in the code. Change the
sort by putting the company first with a level break. Then create a new
heading variable and global variable.


On the before level break load the company into the global variable
and in the heading section use the global variable to chain to F0010 and
get the assocated descriptions.


here is a small sample..




Page Header Section


Create two variables

Create a report variable APFG called ‘rpt_HeaderFlag’? APFG

Create a report variable DL40 called ‘rpt_CostCenter’ -? DL30

In the Do section initialize the DL30 report variable to the internal
variable


In the main section enter the following sections in the Event Rules

Initialize Section

RV A/P status = “1”


Before Level Break Section

IF RV A/P status = “1” and BC Company (Fxxx) is not equall to
>Null>

Single Fetch F0010 with the BC company and return the description
into DL40

IF SV File IO = CO_SUCCESS

RV A/P Status = ‘2’

ENDIF

ENDIF




I picked this information up from the list last year and changed it
a little to make it more efficient


Thanks

Rob






suni wrote:
<blockquote TYPE=CITE>We are currently going through a restructuring where
several companies that

used to report through us to our common owner will now report separately.

However, we will still do much of the processing for them.


Our problem: Most (if not all) reports and other printed materials
default

to company 0 (zero) for the report heading. Currently, wr have
company 0

set to our own company name. This is no longer possible--we need
to have

reports that reflect the individual companies' names and have no reference

to our own.


JDE's solution is to blank out the description for company 0 and then

individually input the desired company into the header for every

dreamwriter, worldwriter, FASTR, etc. etc. etc.


Does anyone have a better idea, or some tricks they could pass on?
Thanks

very muuch!


Suni Sommers

Foss Maritime Co

World Software A7.3 C11


--------------------------

To view this thread, visit the JDEList forum at:

http://198.144.193.139/cgi-bin/wwwthreads/showflat.pl?Cat=0&Board=W&Number=4917

*************************************************************

This is the JDEList World Mailing List.

Archives and information on how to SUBSCRIBE, and

UNSUBSCRIBE can be found at http://www.JDELIST.com

*************************************************************</blockquote>
</html>

--------------4637DAE9386DE9AEC6558FB5--
 
Look at the version of JDE she Suni has in her signature.

Its World. Not One World. Your code will not work in World.

Basicly you had the right idea. But in World you would have to add that type of code to each program where you would want to print different heading values.



Scott Parker
Grote Industries, LLC.
WorldSoftware Version 8.1.2 AS/400 V4R5
 
Thanks everyone for your responses! Sounds like this is something JDE needs
to look at. :)

Specail thanks Al, for your suggestion to look into customizing the X00RSC
program to to peruse the DW data selection and/or proc opts to glean any
company-related information that could be used to pass back to the DW a
company name. I shall look into this; it has potential for being at the
very least a partial solution. Thanks!!!

Suni Sommers
Foss Maritime Co
World Software A7.3 C11
 
Back
Top