Skip to main content
Solved

Mass print in Picked Pick List Lines

  • December 2, 2019
  • 5 replies
  • 297 views

Forum|alt.badge.img+3
  • Do Gooder (Customer)
  • 7 replies

Dear IFS Heroes,

I want to print 100 lines in one go via Picked Pick List Lines but IFS 9 returns an error:

At present I can print nothing more than 20 lines in one go.

Is there a way to mass print more lines?

 

Thank you.

Best answer by Himasha Abeywickrama

Hi @rmonov,

 

You would get the error message if you try to print different reports which has same parameters and values and if one report is already in WAITING or WORKING state. The message should only be shown if the same report is ordered twice with the same report parameters and values and print attributes such as the layout, language etc. Solution 249468 fixes this issue. 

 

Hope this helps!

 

Himasha

View original
Did this topic help you find an answer to your question?

5 replies

Himasha Abeywickrama
Superhero (Customer)
Forum|alt.badge.img+18

Hi @rmonov,

 

What’s the Client Version of the IFS Application you’re running? You can check this by clicking on Help on the menu bar, clicking on About…

 

Himasha


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Customer)
  • 7 replies
  • December 2, 2019

Hi @Himasha Kapugeekiyanage,

It’s 9.0.47.0


Himasha Abeywickrama
Superhero (Customer)
Forum|alt.badge.img+18

Hi @rmonov,

 

You would get the error message if you try to print different reports which has same parameters and values and if one report is already in WAITING or WORKING state. The message should only be shown if the same report is ordered twice with the same report parameters and values and print attributes such as the layout, language etc. Solution 249468 fixes this issue. 

 

Hope this helps!

 

Himasha


dsj
Superhero (Partner)
Forum|alt.badge.img+22
  • Superhero (Partner)
  • 836 replies
  • December 5, 2019

Hi @rmonov,

 

Are you using  PLSQL custom menu for the mass print or is it standard logic in IFS?

If it’s a custom menu and all picklists are printed in same printer, it’s possible to pack all lines in one print job.

DECLARE
BEGIN

--create a print job
print_job_api.New(print_job_id_,attr_);

 FOR rec_ in get_picklists LOOP
 --create archive record
 archive_api.New_Client_Report(result_key_, report_attr_, parameter_attr_, distribution_list_, print_attr_); 
 ARCHIVE_API.GET_INFO(instance_attr_, parameter_attr_, result_key_);

 --create print job instance
 client_sys.Add_To_Attr('PRINT_JOB_ID',print_job_id_,instance_attr_);
 client_sys.Add_To_Attr('RESULT_KEY',result_key_,instance_attr_);

 print_job_contents_api.New_Instance(instance_attr_);
 END LOOP;
print_Job_API.Print(print_job_id_);
END;

 

hope it helps!


Forum|alt.badge.img+3
  • Author
  • Do Gooder (Customer)
  • 7 replies
  • December 5, 2019

Hi @dsj 

Yes it is, thank you for the code will give it a go.

Cheers


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings