How to run logic one month at a time

Hi All
I got a script logic funding.which contains 6 sub logics in it.
for ex: funding calc
tax lgf
initialize lgf
fund_ob lgf
funding lgf
dirtax lgf
reservers lgf.
my problem is if i run the above logic for full year my balance sheet is out of balace. becoz my fund_ob is pulling prior values.
how can i run above set of logic by month wise.
for jan:
tax lgf
initialize lgf
fund_ob lgf
funding lgf
dirtax lgf
reservers lgf.
feb:
tax lgf
initialize lgf
fund_ob lgf
funding lgf
dirtax lgf
reservers lgf.
thanks everyone

If you are saying that you need to run a different set of logic for one month vs. another month,. then take a look at *Logic_BY and *Logic_Mode and *Logic_Property keywords in the online help, these allow you to run a different "default" logic script based on (in your example) the time dimension member being sent.  You will need to add a property called LOGIC to the Time dimension, and populate it with the name of the logic file you'll call in logic.
Greg

Similar Messages

  • How can i add one month to a date variable ?

    Unlike the week which always 7 days, month may change from 28 to
    31, so how can i add one month to a date variable ? Thanks in
    advance.

    Adding 365 won't always work because of leap years.
    You could use the following SQL statement:
    SELECT
         TO_DATE(
              TO_CHAR(TO_DATE(SYSDATE), 'DD-MON-') ||
                (TO_CHAR(TO_DATE(SYSDATE), 'YYYY') + 1)) NEXT_YEAR
    FROM
         dual
    NEXT_YEAR
    08-JAN-03Or you could create your own function. You would use this
    exactly like add_months:
    CREATE OR REPLACE FUNCTION add_years
         (v_date DATE, num_years NUMBER)
    RETURN DATE AS
         v_year DATE;
    BEGIN
         v_year := TO_DATE(
                   TO_CHAR(TO_DATE(SYSDATE), 'DD-MON-') ||
                         (TO_CHAR(TO_DATE(SYSDATE), 'YYYY')
                                             + num_years));
         RETURN v_year;
    END;     
    SELECT
         add_years(SYSDATE, 1) new_year
    FROM
         dual
    NEW_YEAR 
    08-JAN-03
    SELECT
         add_years(SYSDATE, -1) new_year
    FROM
         dual
    NEW_YEAR 
    08-JAN-01

  • How to run an "Automator" application at regular time intervals

    I would like to find out how to run an "Automator" application at regular time intervals, say at every 5 minutes.
    Is there any program, AppleScript or any method to do this?
    I would very much appreciate a help.
    Suwan

    save your workflow as an ical plugin, this will automatically insert the workflow into ical,and create a workflow category for it, then just set to repeat every 5 minutes, or save as an APP and use a program called CRONIX (freeware) to run the schedule.

  • How do I restore one contact from my Time Machine?

    How do I restore one contact from my Time Machine?

    From Time Machine Help:
    Restore items backed up with Time Machine
    If you use Time Machine to back up your Mac, you can easily bring back lost items or recover older versions of files.
    You can use Time Machine within many apps. If the iCloud Documents & Data feature is turned on, you can recover older versions of iCloud documents as well as regular documents.
    Open a window for the item you want to restore.For example, if you accidentally deleted a file from your Documents folder, open the Documents folder. To recover an email message, open your inbox in Mail. To recover an iCloud document, open the document’s app, choose File > Open, then click iCloud to view the iCloud documents for that app.
    If you’re missing an item from the desktop, you don’t need to open a window.
    From the Time Machine menu in the menu bar, choose Enter Time Machine. A message may appear while your Mac connects to the backup disk.
    Use the arrows and timeline to browse the snapshots and backups.White tick marks represent snapshots stored on your internal drive (portable computers only). Pink tick marks represent backups stored on your backup disk. If a tick mark appears dimmed or grayed, there’s no backup available or the backup disk is not connected.
    For more information about an item, double-click it.The windows in Time Machine behave just like Finder windows, so you can open folders, click items in the sidebar, and use the search field in the upper-right corner of the window.
    When you find the item you want to restore, select it, then click Restore. You can restore individual items, multiple items, folders, or your entire hard disk.The restored item is returned to its original location. For example, if the item was found in the Documents folder, it is returned to the Documents folder.
    Many apps let you use Time Machine within individual documents so you can examine and read the document’s past versions to find the version you want. For more information, see:
    View and restore past versions of documents
    RELATED TOPICSRecover items using Time Machine and Spotlight
    Recover your entire system
    Revert to a previous OS X version
    Use multiple backup disks
    Time Machine overview
    Time Machine problems

  • How can I display one line at a time on a PPT slide

    I am using OFFICE for the Mac (2008).
    In the past, I have known how to do this using PPT on a Windows PC..
    But something has changed and I can no longer figure out how to get each line on a PPT slide to appear one line at a time every time I click it.
    It's not that difficult, but I can't figured out where they moved the "Appear" option.
    I am NOT using KEYNOTE, but PowerPoint from OFFICE for the Mac (2008)
    Can someone help me.
    Thanks,
    Tom

    Since this is a Keynote discussion forum, there may be no one here that knows. I personally hate PP and could care less about how to make one line display at a time. It is easy on Keynote and that is all I need to know. You might want to look for a PP forum and ask there.

  • How do i have one bullet at a time

    In keynote how do I build one bullet to come on to the screen one at a time?

    Select the text box with the bullets
    Build Inspector > Build In > Delivery > By Bullet (or By Bulleted Group or By Highlighted Bullet)
    Then Build Inspector > More Options > set your build to by on Click or Automatically and set any timing.

  • How do I delete  one item at a time from trash?

    How does one delete one item at a time from trash?

    In general, one doesn't.
    I suggest you create a new folder (I use "Trash Soon") on the desktop near the trash icon. Move all the stuff out of the Trash bin into the Trash Soon Folder. Then move the things you really want to eliminate to the Trash can. Empty Trash.
    DO NOT store anything you want to keep in the real Trash can. There are many activities that may cause "Empty Trash" a a side-effect.
    If you have multiple drives, The Trash is an illusion created for your convenience. The actual Items may be on several different drives, but all marked as "in Trash". Moving them to a folder on a different drive may cause unexpected copying.

  • How to play just one song at a time

    I have been looking around in iTunes to see how in the heck I can tell it to only play one song at a time when I double click a song in my library (and not the next song). Anybody have any idea if this is even possible? Am I overlooking something?

    If you don't use the checkboxes for any other purpose then ctrl+click any checkbox to check/uncheck all visible items. If all items are unchecked iTunes will play any track you double-click on and then stop. As and when you want to listen to an album or a playlist straight through you can make use of the Up Next feature which plays all tracks added to it regardless of checked status.
    tt2

  • How to select only one record at a time in ALV

    Hi all,
    I have to use ALV report.  Each record on the report output should have a button (or radio button) which will allow the record to be selected.  My requirement is to select only one record at a time.
    please guide me how to proceed further.
    regards
    manish

    hi
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/sampleCheckBoxProgram
    Regards
    Pavan

  • How do you delete one call at a time?

    how do delete one call at a time rather than the entire list?

    At the present, you can't. It's all or nothing.

  • How do I close one page at a time?

    When I go from my email to a link and then can't get back to email using the back arrow I usually close that page and am back at my email. With Firefox I go to close and a message says that I am about to close 2 tabs and I have to say yes or it doesn't do anything and then it closes my email (which I am trying to get back to). Then to get back to my email I have to go through the multi step process to open it again and get back to the message I was reading before I opened the link. Frustrating! Pleas let me know who to be able to close only one link at a time. There must be a way or it will be too time consuming to use. Thank you

    Are there any entries in the tab history of the Back button on the Navigation Toolbar?
    Use one of these methods to open the tab history list:
    * Right click on the Back or Forward button
    * Hold down the left mouse button on the enabled Back or Forward button until the list opens
    You can close the current tab with a middle-click on that tab or via the keyboard shortcut Ctrl+W
    Make sure that you do not click the close X on the window title bar.
    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode

  • How do I download one app at a time in itunes or appstore

    Hi there fellow apple lovers, just got my first iphone, you see I have a habbit of downloading from the app store simultaneously, is there anyway I can set my iphone 5s to download one app at a time, well in other words queing them so that if a download finishes, it will automatically download the next app

    If the program/window is not a text-based one (such as a word processor), you can usually use the up and down arrow keys to scroll up or down one line at a time.
    There are often mods to this behavior, but exactly what depends on the program. Test with the up and down arrow keys in conjunction with the usual modifier keys - Shift, Command, Option, etc.

  • How do I print one page at a time for a photobook .pse project?

    I am trying to print a photobook project one page at a time as I am using double sided paper that I need to turn over.  One other project I did asked me if I wanted both sides and would I do the turning myself, but this one doesn't.  I also wanted no border on the prints and it came out with a border.  It is also frustrating to have to wait for it to load 75 pages and then it prints them back to front.  Is this PSE or the printer software?

    Yes, you can print one page one at time as you want .
    In print dialog, select other pages and click on remove button.(refer to screenshot).
    For border click on more options and ensure check box is not selected ( refer to screenshot)

  • How do I play one album at a time?

    I want to play one album at a time by artists for whom I have multiple albums. I have the newest generation ipod touch. One album at a time used to be the default mode, but with the new operating system iOS7, this is no longer the case.  Here's an example - I want to play the Pixies "Surfer Rosa," but when i click on the first song, it says it's playing 1 of 58 songs continuously - I want it to stop playing after "Surfer Rosa," I want it to say it's playing 1 of 14 songs.  Is there a simple fix for this?  Something in general settings or music settings that I have overlooked?
    I have found one way to play just one album, but it seems a bit complicated for what should be a simple fix.  I click on the first song on Surfer Rosa, then click on the 3 dot 3 line icon in the upper right corner, then click on another song, then back to the first song, then click done, and now it says it's playing 1 of 14 songs.  It's nice to have found this way around the issue, but, it's a lot of steps for something that used to be the default mode.

    Do you really mean upload as in transferring the files to another computer somewhere, or do you mean you ripped as in ripping a CD to copy the music to your computer?
    Select the tracks you want to edit, Get Info on them, then enter the desired album name.

  • How do I play one album at a time by an artist?

    I have the newest generation ipod touch and i just downloaded the new iOS7.  I would like to play one album at a time by an artist for whom i have multiple albums, but the new design won't let me do it (easily that is).  For example, if I want to play "Surfer Rosa" by the Pixies, I tap on the first song and it show it is 1 or 58 songs, meaning it will continuously play through all the albums.  I want it to say 1 of 14 so it will stop playing after "Surfer Rosa" is done.  I've checked in general settings and music settings and I can't find anything to fix the issue.  Am I missing something?
    I have found one way to play one album at a time.  I click on the first song in the album, then tap the "3 dot 3 line" icon on the right, click on another song in the album, then click on the first song again, tap "done" and then it shows that I am playing 1 of 14 songs.  This seems like an elaborate fix for something as simple as wanting to play one album at a time.

    Turn on *shuffle songs* and then start the Podcast episode you want. The display should say "1 of 1" because all Podcasts are set to *Skip on shuffle* so the one you're playing is the only option for the iPod.
    Phil

Maybe you are looking for