Topic Options
#38086 - 08/07/13 08:20 AM Subledger Fiscal Year/Period on Gridview
GeorgeandLaura Offline
Adagio Scholar

Registered: 08/09/10
Posts: 92
Loc: LaSalle Ontario
Hi All,
I am looking for some technical help on a grid view issue. I have some views being called by command line for various data. For the AR and AP data, I need to add fiscal period and year to each transaction record. Since the fields are not available in the field list, I would like some ideas on how to get the fields without a huge formula, and be able to link it to the fiscal calender, while still being able to call the view and export to Excel from the command line. Thanks for any ideas.

Top
#38090 - 08/07/13 09:27 AM Re: Subledger Fiscal Year/Period on Gridview [Re: GeorgeandLaura]
Lauren Stief Offline
Adagio Padawan

Registered: 09/13/12
Posts: 442
Loc: Waterloo, ON
Hi Laura,

It depends on whether the fiscal calendar and actual calendar match. If so then I would just use the Date/Time functions when creating a calculated column to pull them from the Transaction date field and create a new column in the view. So to get the fiscal period I would use: MONTH({Trx Date} ). For the fiscal year: YEAR({Trx Date} )+1900. You might have to adjust the formatting for the column to get rid of decimal places.

If they don't match then you will need to adjust the formula, let's pretend they have an October year end. To get the fiscal period I would use: If (MONTH({Trx Date} )<10 , MONTH({Trx Date})+2, MONTH({Trx Date})-10). For fiscal year: If (MONTH({Trx Date} )<10 , YEAR({Trx Date})+1900, YEAR({Trx Date})+1901).

Send me an email if you have any more questions,
Lauren


Edited by Lauren Stief (08/07/13 09:39 AM)
Edit Reason: Adding fiscal year formulas
_________________________
Lauren Stief
Stief Group
Adagio Solutions and Support
1-800-540-3164

Top
#38096 - 08/07/13 12:43 PM Re: Subledger Fiscal Year/Period on Gridview [Re: GeorgeandLaura]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
Hi there,

What exactly are you trying to get to. The fiscal year and period are store in the GL transaction file, along with most of the other data from at AR/AP transaction. That would be a simple way to get to that.

If your fiscal calendar follows the natural calendar, then Lauren's approach works well.

If you fiscal calendar is 13 period or something odder, then I can send you a workspace that uses GETLINKEDVALUE() to get the year and period.

The next Upgrade to GridView includes functions to calculate this from a given date - but you'll have to wait for that a bit.
_________________________
Andrew Bates

Top
#38119 - 08/08/13 09:58 AM Re: Subledger Fiscal Year/Period on Gridview [Re: Retired_Guy]
GeorgeandLaura Offline
Adagio Scholar

Registered: 08/09/10
Posts: 92
Loc: LaSalle Ontario
It does not follow the natural calendar (that would be too easy). I am taking detailed information from the AR records (Invoices, aging and one for cash) and another view pulls the AP records (Invoices, aging and disbursements). I appreciate any tips.

Top
#38120 - 08/08/13 10:23 AM Re: Subledger Fiscal Year/Period on Gridview [Re: GeorgeandLaura]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
Check the fields in the General Ledger Posted Transaction file and see if they meet your requirements.
_________________________
Andrew Bates

Top
#38123 - 08/08/13 10:33 AM Re: Subledger Fiscal Year/Period on Gridview [Re: GeorgeandLaura]
Bruce Gardner Offline
Adagio Wizard

Registered: 06/15/04
Posts: 3613
Loc: Toronto ON, Canada
Hello:
Laura's formulas will work with a fiscal year that doesn't follow the natural calendar. GV also has a function named FiscalStart() to help determine the 1st day of the fiscal year (though you will still need a formula).
_________________________
Bruce Gardner
ARX Business Solutions Inc.

Top
#38125 - 08/08/13 11:21 AM Re: Subledger Fiscal Year/Period on Gridview [Re: Bruce Gardner]
GeorgeandLaura Offline
Adagio Scholar

Registered: 08/09/10
Posts: 92
Loc: LaSalle Ontario
Thanks Bruce, The calendars are all over the place - through the years they had two short fiscal years and they never follow any pattern. I could make a formula, but I wanted that to be a last resort. I will take Andrew's advice and pull from the GL. It's not ideal, but I think I can make it work. Thanks all!

Top
#38127 - 08/08/13 12:25 PM Re: Subledger Fiscal Year/Period on Gridview [Re: GeorgeandLaura]
Retired_Guy Offline
Adagio Master

Registered: 03/16/99
Posts: 10504
Loc: Canada
Here's a workspace that applies the Fiscal Year and Period to the AR/AP Transactions. It will be accurate as long as no one changed the Fiscal Period when the batch was retrieved to Ledger, and they always assigned the period based on the date of the transaction.


Attachments
GLFiscalLookup.zip (43 downloads)

_________________________
Andrew Bates

Top


Moderator:  Christa_Meissner 
Who's Online
3 registered (Carol Wojick, 2 invisible), 59 Guests and 0 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
1865 Members
5 Forums
14467 Topics
70661 Posts

Max Online: 432 @ 01/20/25 10:17 PM
April
Su M Tu W Th F Sa
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30