Hi Steve,
 
Here are three ideas for getting around that:
 
1) Use tcc.payroll as a Select Field and use the Screen Field Attribute DFT2="PAYROLL"
 
 You add that Screen Field Attribute using option # 8.  You can replace "PAYROLL" with the mnemonic of the Payroll you  want to use.
 
2) Select another PP DPM, such as PP.PER, for your Report DPM.  You can still use PP.PAY as your Detail DPM and your   Index DPM.  You will not be forced to use tcc.payroll as a select field at all in this case.
 
3) If PP.PAY is your report and Detail DPM, use tcc.payroll as a Select Field with operator LI and a prompt, as if the   end-user would enter in responses. 
 
 Then, use a footnote to run a macro at the start of your report: AL START start.macro
 
 In your start.macro code, use c.tcc.payroll.  Here are examples:
 
 1^c.tcc.payroll["PAYROLL1"],
 1^c.tcc.payroll["PAYROLL2"],
 1^c.tcc.payroll["PAYROLL3"]
 
 Replace those "PAYROLL"s listed above with the mnemonics of the Payrolls you want to use.
 
 File and translate your macro.
 
 File and translate your report again.
 
 Using option #8, Enter/Edit Screen Elements, set up this attribute: IFE=""
 
 Now file and translate.
 
 When the end-user runs the report, they will see the prompt for entering in payrolls; however, they will be unable to  enter/edit any because of the IFE attribute; your start.macro will set up the payrolls for them.
 
Please let me know if you have any questions.
 
Thanks,

Brian Schmit
Sr. Programmer, Picis
Direct: 781 557 3315
Fax: 781 557 3140
100 Quannapowitt Parkway
Suite 405
Wakefield, MA 01880
[EMAIL PROTECTED]
www.picis.com

Please visit http://www.picis.com/services/technical/npr.asp# for additional information about our NPR Report Writing Trainings.

The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access or use by any other person to this internet email is not authorized and may be unlawful. If you are not the intended recipient, please delete or destroy this email. If you do not wish to receive future emails from the sender, please reply directly to this email requesting you be removed from any mailing list.


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Steve Hughes
Sent: Monday, November 06, 2006 4:53 PM
To: [email protected]
Subject: [MEDITECH-L] Fragmenting to PP.PAY

Has anyone written a report that allows you to fragment to a PP.PAY report and gets around the security feature of requiring you to enter @tcc.payroll as a select?  Any help would be greatly appreciated.

 

Steve Hughes

Information Systems

Trinity Health System

(740) 283-7532

[EMAIL PROTECTED]

 


======================================
All messages should be posted in plain text.  
HTML will be converted to attachments.    

The meditech-l web site is MTUsers.com
______________________________________
meditech-l mailing list
[email protected]
http://mtusers.com/mailman/listinfo/meditech-l

Reply via email to