Baanboard.com

Go Back   Baanboard.com > Forum > Baan Quick Support: Functional & Technical > Tools Development

User login

Frontpage Sponsor

Main

Google search


Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
17%
200 - 500 GB
17%
500 - 800 GB
6%
800 - 1200 GB
6%
1200 - 1500 GB
17%
1500 - 2000 GB
17%
> 2000 GB
22%
Total votes: 18

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 5th October 2018, 11:23
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 56
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Report Customization
Baan: ERP LN 6.1 FP11 (Infor ERP 10.5)
C/S: Both

Hi,
I have 4 reports for printing invoices. I want to show only one report for one of my company when they print and all other for other companies. Can anyone help how to do this
Thanks in advance
Reply With Quote
  #2  
Old 5th October 2018, 12:54
tmannais's Avatar
tmannais tmannais is offline
Member
 
Join Date: Jul 2017
Posts: 94
tmannais is on a distinguished road
Baan: LN 10.5 - DB: MySQL - OS: Windows
Try hardcode the condition before printing each report to check if this report should be printed in current company.

To prevent the standard print command to print, use this in the before.choice of the print button or form command.
Code:
choice.again()
To get current company, use this predefined function.
Code:
get.compnr()
Reply With Quote
  #3  
Old 5th October 2018, 13:01
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 56
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Report Customisation

I cannot hardcode it. Because script is standard one. Only reports I have made customised.
Thanks in advance
Reply With Quote
Sponsored Links
  #4  
Old 5th October 2018, 15:05
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 519
Ajesh is on a distinguished road
Baan: LN 10.4 - DB: Oracle - OS: HP-Unix
You can use extensibility for that right? Session Extensibility, on.command for Print Data
Reply With Quote
  #5  
Old 8th October 2018, 06:40
Premahari Premahari is offline
Member
 
Join Date: Mar 2018
Posts: 56
Premahari is on a distinguished road
Baan: InforLN 10.5 - DB: SQL Server - OS: Windows
Hi,
Thanks Ajesh.
Can you please explain how to use application extensibility
Thanks in advance
Reply With Quote
  #6  
Old 8th October 2018, 14:52
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 519
Ajesh is on a distinguished road
Baan: LN 10.4 - DB: Oracle - OS: HP-Unix
Hi PRemahari.. There is a DOcument on Application Extensibility named "Infor LN Extensions Development Guide". You can find that document from Infor Xtreme Site. My Guess is that Extensibility is already initialized in your system, its 10.5 right? Please consult rest of your team member. And in that you can use Session Extensibility for this standard Session and in that you can use Standard Print Command, You can use hook, on.command for that...
Reply With Quote
  #7  
Old 8th October 2018, 20:34
Ajesh's Avatar
Ajesh Ajesh is offline
Guru
 
Join Date: Feb 2009
Posts: 519
Ajesh is on a distinguished road
Baan: LN 10.4 - DB: Oracle - OS: HP-Unix
Whats the Session Code??
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Report customization pralash Tools Development 17 18th November 2017 07:20
Invoices printing issue-display last record with 2 lines tracylee Tools Development 7 20th October 2017 10:51
Report Customization ailisee Tools Development 5 7th November 2011 12:11
Why LN6 do not allow customization report for tdsls4401m000 & tdpur4401m000? brad997 Tools Development 10 9th June 2005 13:32
solving recursion problems rmarles Tools Development 2 25th January 2005 21:23


All times are GMT +2. The time now is 12:23.


©2001-2018 - Baanboard.com - Baanforums.com