[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] Question about printing paychecks/advices
easy. modify sqr so that it will only print signature when running on
your production environment.
ie:
encode '<27>(8U<27>(s1p180v0s-7b24623TVOID<27>(3@' into
$TroyPrnVoid
!...............................................................................
begin-procedure hcchk-200-Get-Database-Instance-Name
#debugs show $pgm_name '-debugs,
hcchk-200-Get-Database-Instance-Name'
BEGIN-SELECT ON-ERROR=SQL-Error
NAME
let $hc_instance_name = rtrim(&NAME, ' ')
FROM V$DATABASE
END-SELECT
if instr($hc_instance_name, 'PROD',1)
let $hc_Prod = '1' !true
else
let $hc_Prod = '0' !false
end-if
end-procedure
Then later on
if $hc_Prod = '0'
print $TroyPrnVoid (80,15)
end-if
We let the signature print, but if not on production the above line
causes rather LARGE
"VOID" to print. Alternately you can use above test to cause sig not to
print at all, but sooner or later you'll need to do so for
alignment/verification before going to production
>>> "Moss, Mike " <MMoss@geico.com> 7/17/2006 9:53:30 AM >>>
I need to print some "mock" paychecks/advices. We would like to
accomplish a few things
* Suppress any signatures
* Print "void", or "non-negotiable" on the checks/advices in the
appropriate places
Has anyone done this before? If so, can you point me in the right
direction? Maybe send a copy of the modified SQR's? Thanks.
====================
This email/fax message is for the sole use of the intended
recipient(s) and may contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution of this
email/fax is prohibited. If you are not the intended recipient, please
destroy all paper and electronic copies of the original message.
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users