Previous Thread
Next Thread
Print Thread
Joined: Aug 2010
Posts: 92
G
Adagio Scholar
Adagio Scholar
G Offline
Joined: Aug 2010
Posts: 92
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.

Joined: Sep 2012
Posts: 452
L
Adagio Padawan
Adagio Padawan
L Offline
Joined: Sep 2012
Posts: 452
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

Last edited by Lauren Stief; 08/07/13 02:39 PM. Reason: Adding fiscal year formulas

Lauren Stief
Stief Group
Adagio Solutions and Support
1-800-540-3164
Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
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
Joined: Aug 2010
Posts: 92
G
Adagio Scholar
Adagio Scholar
G Offline
Joined: Aug 2010
Posts: 92
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.

Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
Check the fields in the General Ledger Posted Transaction file and see if they meet your requirements.


Andrew Bates
Joined: Jun 2004
Posts: 3,692
B
Adagio Wizard
Adagio Wizard
B Offline
Joined: Jun 2004
Posts: 3,692
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).

Joined: Aug 2010
Posts: 92
G
Adagio Scholar
Adagio Scholar
G Offline
Joined: Aug 2010
Posts: 92
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!

Joined: Mar 1999
Posts: 10,504
Adagio Master
Adagio Master
Joined: Mar 1999
Posts: 10,504
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 (34.88 KB, 73 downloads)


Andrew Bates

Moderated by  Softrak Support 

Link Copied to Clipboard
Who's Online Now
0 members (), 136 guests, and 3 robots.
Key: Admin, Global Mod, Mod
Forum Statistics
Forums5
Topics14,679
Posts71,625
Members1,874
Most Online1,408
Dec 9th, 2025
November
S M T W T F S
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
Powered by UBB.threads™ PHP Forum Software 8.0.0