[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: BillMax questions -- make_statements re-generating statements?
There is an option, I think, to tell make_statements to cerate
statements through the current date.
The default is to make statements up to the day prior to the current
date.
I don't recall the command line switch off the top of my head, but the
documentation on the utilities is usually quite good.
Best of luck,
Chris
On Wed, 2005-11-09 at 08:43 -0600, Netlink Tech wrote:
> Hello,
> This morning (2005-11-09) the billmax-admin nightly ran
> correctly and generated and sent the statements I expected it to.
> Unfortunately, some of the due dates were incorrect.
> I solved that and the statement displays with correct data when I look at
> it in the "Billing Functions" of the Billmax interface.
> So, having fixed what is in the database, I am trying to re-generate the
> statements.
>
> >From a search on billmax.com, I found doug37@billmax.com answered this
> with:
> -----------------------------------
> This can be done as follows:
>
> 1. Edit billmax/logs/make_statements.state and change the date to
> the first date to generate the statements.
> 2. Edit billmax/logs/send_statements.state and change the date to
> the day before make_statements.state
> 3. cd to billmax/statements and
> rm -rf 2002-05*
> this will get rid of any old statements. You may want to tar up
> these
> directories first.
> 4. Make the statements
> billmax/bin/make_statements -s
> the "-s" prevents creating a new summary records.
> 5. Send the statements
> billmax/bin/send_statements -e -f -p
> (normal flags as currently specified in billmax.conf).
>
> -------------------------------------
>
> I only want to re-generate statements for 2005-11-09 (today), so I left
> make_statements.state 2005-11-09.
> I set send_statements.state to 2005-11-08.
> (closeofday.state is set to 2005-11-09)
> I removed the current statements in statements/2005-11-09/*
> Then I ran: make_statements -s 2005-11-09
> (-s so it doesn't update payhist)
> I get response:
> make_statements has already been run for today
>
>
> If I set make_statements.state to 2005-11-08 and run
> make_statements -s 2005-11-09
> I get response:
> start date '2005-11-09' for re-generating statements must be less than or
> equal to the last processed date
>
> When I run make_statements -s 2005-11-08, it processes statements for
> 2005-11-08 just fine, but not for 2005-11-09.
>
> So how do I tell it that I know it already ran
> make_statements for today...I want to run it again?
> (which file or database entry)
>
> Thanks!
> Curt
> -----------------------------------------------------------------------------
> To unsubscribe from the "BillMax Questions" mailing list, please
> send a message to "majordomo@billmax.com" with "unsubscribe questions"
> in the message body. The message must be sent from the exact email
> address on the list.
-----------------------------------------------------------------------------
To unsubscribe from the "BillMax Questions" mailing list, please
send a message to "majordomo@billmax.com" with "unsubscribe questions"
in the message body. The message must be sent from the exact email
address on the list.