Using Today's Date in World Writer

ashutosh_a007

Member
Using Today\'s Date in World Writer

Hello All,

I trying to select records in World Writer everyday by the current
date. I know there was some discussion in this forum at some point of
time about using *Today in the data selection criteria but evidently
that only works with Dream Writer and not WW.

So is there some way to acheive this in World Writer.

Any help on this will be appreciated.

Thanks,
Ash

__________________________________________________
Do You Yahoo!?
Yahoo! Photos - Share your holiday photos online!
http://photos.yahoo.com/
 
Re: Using Today\'s Date in World Writer

Make a copy of F00365 and copy the p00365 program also Have the copy of the program only populate 1 record into this new copy of the f00365 copy. Have this program run at 12:01am every morning and have it put *today in. so that file only has 1 record in it.
Link the WW to that file.

Thats the quick answer.

If you need further help you can always ask again or search the archives of the JDEList.

Scott Parker
Grote Industries, LLC.
WorldSoftware Version 8.1.2 AS/400 V4R5
 
Re: Using Today\'s Date in World Writer

I got a couple e-mails from some "NON-Programmers" asking for more detailed directions. So here it is. This is something that would only take me about 5 to 10 mins. (15 mins for you "NON-programmers") Once it is done you can set the new version of PG00365 to run every morning at 12:01am. Then you can use that new file FG00365 to join to and basicly select *today.

Make sure you "Know" where this Custom Source and Objects are going before you do this. (Libraries)

In SVR Inquire on the F00365
put a 3 in the option to Copy.
Change the Name to FG00365
10 to Design
Change the first line from I00365 to IG00365
F3 to exit
14 to compile

Inquire on J00365
put a 3 in the option to Copy
Change Name to JG00365
2 to Edit.
Every Place it says F00365 replace with FG00365
Every Place it says R00365 replace with RG00365
Every Place it says P00365 replace with PG00365
F3 to exit
Save
14 to compile

Inquire on P00365
put a 3 in the option to Copy
Change Name to PG00365
2 to edit
Every Place it says F00365 replace with FG00365
Every Place it says I00365 replace with IG00365
Every Place it says R00365 replace with RG00365
Every Place it says P00365 replace with PG00365
F3 to Exit
Save
14 to compile

Inquire on R00365
put a 3 in the option to Copy
Change Name to RG00365
10 to design
Every Place it says F00365 replace with FG00365
Every Place it says I00365 replace with IG00365
Every Place it says R00365 replace with RG00365
Every Place it says P00365 replace with PG00365
F3 to Exit
Save
14 to compile

Then you have to copy the Processing Options

type PO on the command menu line
Inquire on P00365
change action code to A
Change Form ID to PG00365
Hit enter

Then you have to create the Version in the Version list.
type VL on command line
Form = PG00365
3 to add
Fill out the version titles
hit enter
on the additional parms screen the based on file is *NONE
On the processing Options the only one that needs a value is number 4. Clear the file before generating new info.
Options 1 and 2 MUST REMAIN BLANK. that way the beginning date used is the system date and the ending date used is the system date. Only 1 day is written.


Scott Parker
Grote Industries, LLC.
WorldSoftware Version 8.1.2 AS/400 V4R5
 
Back
Top