PRINTING INVOICE FROM ENTRY FORM [message #177251] |
Tue, 13 June 2006 11:49 ![Go to next message Go to next message](/forum/theme/orafaq/images/down.png) |
starazam
Messages: 1 Registered: June 2006 Location: PAKISTAN
|
Junior Member |
|
|
hI.
I am new to developer 6i as well as to this forum. I tried to get a answer of my question by searching this forum. but cant find any.
I am creating a invoice generation program for a point of sale software. I want to enable the user to save & print the invoice after entry of records in the sale invoice form. I want to enable printing on invoice form. and don't want to navigate user to first generate a report and then printing it.
Please let me know about the procedure and code. I think logic is to generate a behind the screen report of invoice and then giving a behind the screen print command. if this how can i acheive that........
thanks in advance
|
|
|
|
Re: PRINTING INVOICE FROM ENTRY FORM [message #197387 is a reply to message #177251] |
Wed, 11 October 2006 02:04 ![Go to previous message Go to previous message](/forum/theme/orafaq/images/up.png) |
shahidmughal
Messages: 91 Registered: January 2006 Location: Faisalabad Pakistan
|
Member |
![shahid_mughal82%40yahoo.com](/forum/theme/orafaq/images/yahoo.png)
|
|
hi
try the following
DECLARE
pl_id ParamList;
BEGIN
Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
Add_Parameter(pl_id, 'DESTYPE', TEXT_PARAMETER, 'PRINTER');
Run_Product(REPORTS, 'report_name.REP', SYNCHRONOUS, RUNTIME,
FILESYSTEM, Pl_id,'NULL');
END;
regards
Muhammad Shahid Mughal
|
|
|