× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Turned out (after a bit of brow-beating) that the Treasurer/Owner had
"accidentally" run the close before December was even over!  Even though
there's a "Do You really want to do this?" panel, he gets distracted and
just turns around and presses the Enter key.  I have long been of the
opinion that a confirmation should require a more positive response than
just pressing the Enter key, such as pressing a command/function key.  I'll
probably get around to implementing that for this application since it
caused so much turmoil last week.

What I did some years back on jobs like that (like day close or run
the entire daily batch of orders to invoicing, etc) was make them
enter " *YES " and have to confirm it.

Here's a sample command definition:

CMD PROMPT('Run All Billing')

PARM KWD(RUN) +
TYPE(*CHAR) +
LEN(1) +
RSTD(*YES) +
DFT(*NO) +
SPCVAL((*YES Y) (*NO N)) +
PROMPT('Run all billing?')

PARM KWD(CONFIRM) +
TYPE(*CHAR) +
LEN(1) +
RSTD(*YES) +
DFT(*NO) +
SPCVAL((*YES Y) (*NO N)) +
PMTCTL(CNFDSP) +
PROMPT('Are you sure?')

CNFDSP: PMTCTL CTL(RUN) +
COND((*EQ Y))


First they have to change the *NO to *YES on the RUN parm. Then, and
only then the CONFIRM parm is shown, which they also have to change to
*YES for things to proceed. If either one is something other than a Y
in the CPP, they get a message that whatever job was not run because
it was not confirmed. They HAVE to answer C to THAT message so they
can't claim later they never knew they didn't run it.

--
Jeff Crosby
VP Information Systems
UniPro FoodService/Dilgard
P.O. Box 13369
Ft. Wayne, IN 46868-3369
260-422-7531
www.dilgardfoods.com

The opinions expressed are my own and not necessarily the opinion of
my company.  Unless I say so.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.