Baanboard.com

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

User login

Frontpage Sponsor

Main

Poll
For ERP LN feature pack upgrade, what method of install are you using?
Installation Wizard into existing VRC
35%
Installation Wizard into new VRC
42%
Manual into existing VRC
3%
Manual into new VRC
19%
Total votes: 31

Baanboard at LinkedIn


Reference Content

Reply
 
Thread Tools Display Modes
  #1  
Old 6th October 2016, 15:14
VishalMistry's Avatar
VishalMistry VishalMistry is offline
Guru
 
Join Date: Dec 2004
Location: India, Gujarat
Posts: 567
VishalMistry has a little shameless behaviour in the past
Baan: Baan IV, ERPLn - DB: SQL Server 2000 / 2008 - OS: Windows Server 2003 / 2008
Wink Finding fiscal year based on date
Baan: Baan IVc4
C/S: Both

Hi Everyone,

I just want to know is there any dll function which can return fiscal year and period based on date passed to it ?

Please guide.

Vishal
Reply With Quote
  #2  
Old 6th October 2016, 15:39
srprks srprks is offline
Member
 
Join Date: May 2016
Location: Bangalore
Posts: 62
srprks is on a distinguished road
Baan: 10.4,Baan IV - DB: Oracle,SQL - OS: Unix,Windows
Hi you can use this

Code:
tfgld.dll5005.get.year.period.from.date(get.compnr(),tfgld.ptyp.financial,gld.date,fyer,fprd,err)
Reply With Quote
  #3  
Old 10th October 2016, 16:55
VishalMistry's Avatar
VishalMistry VishalMistry is offline
Guru
 
Join Date: Dec 2004
Location: India, Gujarat
Posts: 567
VishalMistry has a little shameless behaviour in the past
Baan: Baan IV, ERPLn - DB: SQL Server 2000 / 2008 - OS: Windows Server 2003 / 2008
Wink I am on Baan IVc4

Hello,

Sorry I forgot to mention. I am on Baan IV. Although I worked on ERPLn FP2. But since last one year, I am on Baan IV.

I could not find any such library therein.

Can you suggest similar dll in Baan IV ?

Vishal
Reply With Quote
  #4  
Old 19th October 2016, 08:01
manish_patel's Avatar
manish_patel manish_patel is offline
Senior Member
 
Join Date: Apr 2007
Location: Surat-->Bangalore, INDIA
Posts: 183
manish_patel is on a distinguished road
Baan: Baan IVc4, Baan 5.0 b - DB: Oracle 11g R2 - OS: HP-UX 11.31
itfgld0012

You can use itfgld0012.get.year.prno.from.date() function.
__________________
Thanks & Regards,
Manish
Reply With Quote
Sponsored Links
  #5  
Old 19th October 2016, 09:47
VishalMistry's Avatar
VishalMistry VishalMistry is offline
Guru
 
Join Date: Dec 2004
Location: India, Gujarat
Posts: 567
VishalMistry has a little shameless behaviour in the past
Baan: Baan IV, ERPLn - DB: SQL Server 2000 / 2008 - OS: Windows Server 2003 / 2008
Thanks a lot for guidance,

The function is there, but, when i try to view it, it says itfgld0012 is not present. Can you guide me how can I view it's prototype ?

Vishal
Reply With Quote
  #6  
Old 19th October 2016, 14:19
manish_patel's Avatar
manish_patel manish_patel is offline
Senior Member
 
Join Date: Apr 2007
Location: Surat-->Bangalore, INDIA
Posts: 183
manish_patel is on a distinguished road
Baan: Baan IVc4, Baan 5.0 b - DB: Oracle 11g R2 - OS: HP-UX 11.31
Code:
  |* INPUT -      1) igld0012.gcmp - Group Company Number
  |*              2) igld0012.ptyp - Period Type - Financial, Reporting, Vat
  |*              3) igld0012.date - Date
  |*
  |* RETURN VALUE 1) TRUE  - If a valid year and period is found. Then you can
  |*                         directly use variables igld0012.year & igld0012.prno
  |*
  |*              2) FALSE - If there is no year and period in which this date
  |*                         falls.
  |*
  |* OUTPUT -     1) igld0012.year - Year Code
  |*              2) igld0012.prno - Period Number

  function long itfgld0012.get.year.prno.from.date(
                                  domain  tcncmp      igld0012.gcmp,  
                                  domain  tfgld.ptyp  igld0012.ptyp,
                                  domain  tfgld.date  igld0012.date)
__________________
Thanks & Regards,
Manish
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
Changing fiscal year due to Acquisition SujithKumar Finance, Invoicing and Integration 2 23rd July 2012 14:59
Changing Fiscal Year and Period preethish Blogs and Web links 0 26th April 2011 07:13
how can i get tax period & year from fiscal year & period? micku_100 Tools Development 3 2nd December 2005 23:10
Change in fiscal year rvanbeek Finance, Invoicing and Integration 2 25th September 2002 16:55


All times are GMT +2. The time now is 16:35.


©2001-2017 - Baanboard.com - Baanforums.com