Performance of start and Default macro

Hi,
        Let me know the difference between the start and Default macro in the performance point of view.
Thanks,
SIva.

Hi Siva,
You need to keep the macro under Level Change to make sure the macro executes when you drill-down. A start macro will not necessarily execute after you drill-down or drill-up. The default macro will strictly not execute immediately upon drill-down or drill-up. It will execute only when you have made some changes and hit enter post drill-down or drill-upp. This that point in time the default macro will not kick in.
Please see the standard macros defined in the SNP94(1) data view. The Stock Balance, Safetry Stock/Reorder Point, Day's Supply macros are set as default. So these will execute everytime there is a change in the data. The Determine Workdays macro is set as Start and Level Change. The result of this macro is a pre-requisite for computation of the Day's Supply macro. However the values computed by this macro will not change within a session (determined by the SD Calendar for the location) hence there is no point executing it as a default macro (reduce the system load). So its run as Start Macro. If you drill down by location then you need this macro to execute again as the SD Calendar for each different locations can result in different values. Based on that the Day's Supply Value will be recomputed. Hence its important to set it as a Level Change macro as well. On the other hand as the Total Demand, Total Receipts and Stock data changes the Day's Supply value also needs to change - hence the macro is set as Default macro.
It is important to note other Standard macros (i.e. Start and Level Change) execute before the Default Macros.
Hope this explains well.
Thanks,
somnath

Similar Messages

  • I have a corrupted version of Snow Leopard (10.6.8) and do not have the install disc to perform remote start and repair.

    I am wondering if I can download a copy of Snow Leopard somewhere and create a boot disc, so I can boot from the disc and then run a disc repair. 
    Alternately, could I install Lion and resolve the issue, or would the underlying corrupted files remain? (When I run fsck -fy, it detects multiple threads but can't repair the issue)
    Any help or insight would be appreciated
    Thanks
    Mike

    I also have this problem which has gone from bad to worse.  I bought a new installation disc now I cannot use the computer at all.  It states I can not iinstall...I cannot repair ....

  • All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default s

    I don't know what happened. All of a sudden, my settings have been changed, my homepage, and EVERYTHING. No matter how many times I go in and change them again, the SAME pages open up when I start FireFox and I am constantly being asked if I want Yahoo as my start page and default search engine. I click the box 'do not ask me again' and it comes up EVERY TIME. I change things like I don't want history remembered, and when I reload FireFox again, it's back to the way it was BEFORE. EVERY SINGLE TIME. I don't know why this is happening, or how to fix it. What do I do??

    I do not want to download another virus program.. I do not believe it is a virus. I am running the full version of Norton 360 and it is doing a daily scan. I have Windows 7, 64 bit OS.
    This is very irritating !! If I wanted Yahoo I would ask for it !

  • How to set a default start and/or end date for New Events based on trigger date.

    I'm using the CalendarActivityListener to get current row when clicking on an existing event. As per previous posts this listener gives you access to event detail including Start Date, End Date, etc.
    However, what I want to do is to default the start (and end) dates for New Events based on the trigger date.
    I've tried the CalendarListener and can grab the Trigger Date from it - however, I can't see a way to pass this directly to the popup/dialog I'm using to create the new event.
    At present I'm putting the TriggerDate into the ADFContext session scope e.g. ADFContext.getCurrent().getSessionScope().put("TriggerDate",calendarEvent.getTriggerDate());
    Then, I've tried multiple approaches to try and "get" the TriggerDate from session scope to drop it into my new Calendar Event basically, I'm trying to default the InputField(s) associated with the Start Date using the value from the session - I've tried
    1. setting the default value for the InputField in the jspx using a binding expression i.e. value="#{sessionScope.TriggerDate}" - this actually sets the value appropriately when the jspx is rendered but, when I go to create I get a NPE and I can't debug. I assumed that it might be a Date type issue - it would appear that CalendarListener provides a date of type java.util.Date and that the StartDate attribute of my VO/EO/table is a DATE and therefore requires oracle.jbo.domain.Date so I tried casting it - to no effect
    2. Using a Groovy expression *(StartDate==null?adf.context.sessionScope.TriggerDate:StartDate)* in my calendar's EventVO to default the Start Date to the same result
    Any thoughts or ideas?

    John,
    Thanks for that suggestion - could not get it to work. However, I did manage a different approach. I finally determined the sequence of events in terms of how the various events and listeners fire (I think).
    Basically, the CalendarActivityListener fires, followed by the listener associated with the Calendar object's Create facet, followed finally by the CalendarEventListener - the final is where the TriggerEvent is available and then finally, control is passed to the popup/dialog in the Create facet. So, my approach of trying to set/get the TriggerDate in the user's HTTP session was doomed to failure because it was being get before it had been set :(
    Anyway, I ended up adding a bit of code to the CalendarEvent listener - it grabs the current BindingContext, navigates through the DCBindingContainer to derive an Iterator for the ViewObject which drives the calendar and then grabs the currently active row. I then do a few tests to make sure we're working with a "new" row because I don't want to alter start & end dates associated with an existing calendar entry and then I define the Start and End dates to be the Trigger Date.
    Works just fine. Snippet from the listener follows
    BindingContext bindingContext = BindingContext.getCurrent();+
    *if ( bindingContext != null )    {*+
    DCBindingContainer dcBindings = (DCBindingContainer) bindingContext.getCurrentBindingsEntry();+
    DCIteratorBinding iterator = dcBindings.findIteratorBinding("EventsView1Iterator");+
    Row currentRow = iterator.getCurrentRow();+
    if ( currentRow.getAttribute("StartDate") == null)+
    currentRow.setAttribute("StartDate", calendarEvent.getTriggerDate());+
    if (currentRow.getAttribute("EndDate")==null)+
    currentRow.setAttribute("EndDate", calendarEvent.getTriggerDate());+
    *}*

  • Basic Start and Finish Date coming as default while Order Creation (IW31)

    Hi Members,
    I am in situation where in i am trying to cretae an order from IW31 but after the order creation basic start and basic finish date is being updated as default date which is the current date of creation.
    I have written my code in Include LCOINFNJ where basic start and basic finish date should get populated as per my written code .After debugging i found that the code is populating the dates in structure CAUFVD-GSTRP(basic start date)  and
    CAUFVD-GLTRP(basic end date) but whill posting at user command  SAVE the fields are getting updated back to default dates.
    Even after adding an enhancement point at the end of below given FM where in i am hardcoding the values still the issue remains the same .
    Function Module : CO_ZV_ORDER_POST is the FM responsible for posting.
    Please help regarding this issue .  
    Thanks and Regards.
    Gaurav Chopra

    Hi ,
          If you do not want start and finish date as current date then u can do it via config
    spro ->pm -->maintenance order processing -->Maintenance and service orders -->general data -->Activate default date for current date as basic date  here for a particular plant remove the tick mark in default current date , thus when u create MO on that plant then u will not get any default dates in basic start date and finish date ...
    regrds
    pushpa

  • I chose an option which eliminated the word Bookmarks from my start page menu, and of course all of the rest. i wish ti return to the original default, but see no option to do this. currently i see: most visited,getting started and latest headlines, which

    i chose an option which replaced 'bookmarks' in the menu with most visited, getting started and latest headlines. I want to go back to the default, simply 'Bookmarks' How do I do this?

    <u>'''Can't see the Menu Bar'''</u> (File, Edit, View, History...Help)? Hold down the key ( key in OSX) and press the following letters in this exact order: V T M
    The Menu Bar should now be displayed permanently, unless you turn it off again (View > Toolbars). Turning the Menu Bar on and off is a new feature in version 3.6.
    See: http://support.mozilla.com/en-US/kb/Menu+bar+is+missing
    <u>'''See other Toolbars'''</u> under View > Toolbars. Clicking on one of them will place a check mark (display) or remove the check mark (not displayed).
    <u>'''To display the Status Bar'''</u>, View, then click Status bar to place a check mark (display) or remove the check mark (not displayed).
    <u>'''Full Screen mode'''</u>
    http://kb.mozillazine.org/Netbooks#Full_screen
    Also see:
    ''' [[Back and forward or other toolbar buttons are missing]]'''
    '''[[Navigation Toolbar items]]'''

  • How to start and keep Skype at contacts, no home for default?

    iMac Snow Leopard 10.6.8, skype 6.15 (335) How can I start and keep skype showing my contacts by default instead of the no_idea_why_it_exists_ "home" option?  I NEVER use (and have no need for) the home stuff. Thanks.

    With 10g and previously a correlation was on the instance i,e, as soon as it was initiated and the instance was alive an exception would be thrown if we tried to create another instance. It seems to be on activity in 11g. Is that correct ?

  • SCSM 2012 Change form issue - Scheduled start and end times default to 12:00:00

    I have a report that the Change Form in SCSM 2012 is not allowing users to set the scheduled start and end times.  The date stays correct, but the time reverts back to 12:00:00, and the user has to save to the initial form,  then re-open and
    change the times.
    I checked in the authoring tool, the time/date field is set to full date and time. (I think these are custom fields)
    I am not sure where else to look to adjust any settings as needed.
    Thanks for any assistance.
    Joshua Fuente

    Hi Joshua,
    Is this situation on all consoles or few ones? Check the time format on the user's PC. 24h or 12h could affect the DateTime control's behavior.
    Cheers,
    Marat
    Site: www.scutils.com  Twitter:
      LinkedIn:
      Facebook:

  • Performance with MySQL and Database connectivity toolbox

    Hi!
    I'm having quite some problems with the performance of MySQL and Database connectivity toolbox. However, I'm very happy with the ease of using database connectivity toolbox. The background is:
    I have 61 variables (ints and floats) which I would like to save in the MySQL-database. This is no problem, however, the loop time increases from 8ms to 50ms when using the database. I have concluded that it has to do with the DB Tools Insert Data.vi and I think that I have some kind of performance issue with this VI. The CPU never reach more the 15% of its maximum performance. I use a default setup and connect through ODBC.
    My questions are:
    1. I would like to save 61 variables each 8-10ms, is this impossible using this solution?
    2. Is there any way of increasing the performance of the DB Tools Insert Data.vi or use any other VI?
    3. Is there any way of adjusting the MySQL setup to achieve better performance?
    Thank you very much for your time.
    Regards,
    Mattias

    First of all, thank you very much for your time. All of you have been really good support to me.
    >> Is your database on a different computer?  Does your loop execute 61 times? 
    Database is on the same computer as the MySQL server.
    The loop saves 61 values at once to the database, in one SQL-statement.
    I have now added the front panel and block diagram for my test-VI. I have implemented the queue system and separate loops for producer and consumer. However, since the queue is building up faster then the consumer loop consumes values, the queue is building up quite fast and the disc starts working.
    The test database table that I add data to is created by a simple:
    create table test(aa int, bb char(15));
    ...I'm sure that this can be improved in some way.
    I always open and close the connection to the database "outside the loop". However, it still takes some 40-50 ms to save the data to the database table - so, unfortunatly no progress to far. I currently just want to save the data.
    Any more advise will be gratefully accepted.
    Regards,
    Mattias
    Message Edited by mattias@hv on 10-23-2007 07:50 AM
    Attachments:
    front panel 2.JPG ‏101 KB
    block diagram.JPG ‏135 KB

  • SP1 for Exchange 2013 install fails with ECP virtual directory issues and now transport service won't start and mail is unavailable

    SP1 for Exchange 2013 install failed on me with ECP virtual directory issues:
    Error:
    The following error was generated when "$error.Clear();
              $BEVdirIdentity = $RoleNetBIOSName + "\ecp (name)";
              $be = get-EcpVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              if ($be -eq $null)
              new-EcpVirtualDirectory -Role Mailbox -WebSiteName "name" -DomainController $RoleDomainController;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -InternalUrl $null -ExternalUrl $null;
              . "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeECPAppPool" -Version:"v4.0";
            " was run: "The virtual directory 'ecp' already exists under 'server/name'.
    Parameter name: VirtualDirectoryName".
    Error:
    The following error was generated when "$error.Clear();
              $BEVdirIdentity = $RoleNetBIOSName + "\ECP (name)";
              $be = get-EcpVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              if ($be -eq $null)
              new-EcpVirtualDirectory -Role Mailbox -WebSiteName "name" -DomainController $RoleDomainController;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -InternalUrl $null -ExternalUrl $null;
              . "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeECPAppPool" -Version:"v4.0";
            " was run: "The operation couldn't be performed because object 'server\ECP (name)' couldn't be found on 'DC0xx.domain.com'.".
    Error:
    The following error was generated when "$error.Clear();
              $BEVdirIdentity = $RoleNetBIOSName + "\ECP (name)";
              $be = get-EcpVirtualDirectory -ShowMailboxVirtualDirectories -Identity $BEVdirIdentity -DomainController $RoleDomainController -ErrorAction SilentlyContinue;
              if ($be -eq $null)
              new-EcpVirtualDirectory -Role Mailbox -WebSiteName "name" -DomainController $RoleDomainController;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -FormsAuthentication:$false -WindowsAuthentication:$true;
              set-EcpVirtualdirectory -Identity $BEVdirIdentity -InternalUrl $null -ExternalUrl $null;
              . "$RoleInstallPath\Scripts\Update-AppPoolManagedFrameworkVersion.ps1" -AppPoolName:"MSExchangeECPAppPool" -Version:"v4.0";
            " was run: "The operation couldn't be performed because object 'server\ECP (name)' couldn't be found on 'DC0xx.domain.com'.".
    !! And now transport service won't start and mail is unavailable !!
    Any help would be appreciated.
    I have removed the ecp site from default site and attempting to rerun SP1 now. I do not have high hopes. :(

    Hi,
    Thanks for your response.
    From the error description, you need to manually remove the ECP with IIS manager in both the Default Web Site and the Exchange Back End firstly. And then continue the upgrade to check the result.
    Hope this can be helpful to you.
    Best regards,
    Amy Wang
    TechNet Community Support

  • Firefox clears the searchbox on ebay when i perform a search and nothing happens!

    Firefox clears the search-box on ebay when i perform a search and nothing happens! The page just refreshes and i can't find any items. It works as normal when i try with IE though..
    == This happened ==
    Every time Firefox opened
    == about 3-4 months ago..

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions 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

  • Table for Start and End time of Process Chain

    greetings experts,
    Hi All,
    I Have to give an Excel Sheet to Top level manager on Start and End Time of Data Load in each InfoPackage (PSA Load) triggered by Process Chain, please let me know if there is any table who keeps these information.
    Regards
    Sulochan

    Hi,
    You can use the program /SSA/BWT to give the Timings of the process Chain runs.
    1) To access this tool Goto SE38 .Type in u201C/SSA/BWTu201D as the Program name and click on execute. The list of all the tools that this Program contents are displayed.
    2) By default the option u2018Process Chain Analysisu2019 is selected. Now click on the execute button. Then you are displayed with the options through which you can select to perform analysis at Process Chain level or Process Type level. (Along with that, the Time Zones used to display the information is also displayed)
    3)If you click on the button u2018Process Chainsu2019 a window Pops up, here you need to provide the Chain-ID and/or the Log-ID and the Start Date/Time and the End Date/Time.
    4)Decide the parameters to enter as per your requirement, suppose your requirement is to check the runtime of a particular process chain for the past one week, then provide the technical name of that chain in the field Chain-ID and the start and end dates as per last one week and click on execute.
    5)Then the logs of the Process Chain for the selected dates are displayed along with the status (Red, Green or Yellow). The logs of the local chains (if any exist in the Process Chain selected) are also displayed (Much more additional information exist which is self explanatory). Now you can have a look at the Runtimes of different logs.
    Regards,
    Suprajah.

  • I am getting a voltage spike on starting and stopping a daqmx task

    Hello,
    I am having a problem with a PXI-4461 DSA board that I can't explain.  When starting or stopping an analog output task, I am getting a voltage spike before the generation starts and after it stops.  We have put a speaker on the output, and the spike sounds like a "pop" when that happens.  However, the pop goes away when the card is also acquiring an analog input in the card.  This is a repeatable event, and very strange.  We have used the two examples "ContAcqGraph Voltage" for the analog input and the "Retriggering_Analog_Output_Waveform_Generation" to generate this phenomena.
    Has anyone ever seen this before?  Is our card the culprit?
    Thanks,
    Rob

    Hey Rob,
         I found out some information that might be helpful to you.  There was a problem identified with that particular SVT example awhile ago where spikes would happen due to a Device Reset during the generation.  This device reset was performed by default in the example if there was an error with the AO generation.  Since your code was based off of this example, I believe that there's a Device Reset happening due to some error.  If you could, please go through your application and ensure proper error chaining so that any errors generated are seen by the user.  You can also go through and probe the error clusters coming out of the VIs in order to get a quick picture of what might be happening. 
         The specific VI in question is "SVT Close Swept Sine (DAQmx).vi".  You can set a breakpoint before the "DAQmx Reset Device.vi" on the block diagram and verify that this is happening(see attachment screenshot).  Let me know what you find out.
    Good luck
    Gavin Goodrich
    National Instruments
    Attachments:
    svt_close_swept_sine.jpg ‏35 KB

  • I am getting a service start and stop alert while doing the windows server updates.

    HI
    I am getting a service start and stop alert while doing the windows server updates. Services are wmiApSrv , WPDBusEnum. Can you please help me to under stand why i am getting the service start and stop alert.
    Thanks & Regards
    Abhilash K Joy

    Hi,
    The WMI Performance Adapter (wmiApSrv) service provides performance library information from Windows Management Instrumentation (WMI) providers to clients on the network. This service only runs when Performance Data Helper is activated.
    This service is installed by default and its startup type is Manual. When started in the default configuration it will log on using the Local System account.
    You can try troubleshooting the issue using Clean Boot to check if the issue is related to third-party software.
    How to perform a clean boot in Windows
    http://support.microsoft.com/kb/929135/en-us
    Best Regards,
    Mandy
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Windows service start and stop automatically

    i'm trying to start windows service, which i installed via running beasvc with parameters. everything used to work fine, but yesterday somthing broke up: i press the start button in the control panel, service tries to start, but then it stops and the following message appears: "Weblogic 9.0 Workspace Service service on Local Computer started and then stopped. Some services stop automatically if they have no work to do, for example, the Performance Logs and Alerts service." sometimes it stops right after starting without giving any messages.
    any ideas what's wrong with it&

    If I run from a cmd box it shows a successful start, however when I look at the services through the MMC it is not started. Basically, it starts successfully and then immediately shuts off stating the message in the original post. This is after and only after I apply sp7 for BEA 7. If I roll the server back to just v 7, I don't have a problem. I have downloaded V7 twice, and I get the same result. I have followed the install instructions to a T and still the same result. I have also tested removing the user created pages, and I get the same exact error telling me either it's a generic error or, SP7 has issues. The only reason we are rolling to SP7 is because of a security issue, but for the time being we have locked down the firewall. Any other suggestions? I have had my Maximo Administrator contact BEA, and MRO about this problem (Maximo is the only system we use web logic for) and they default to the answer that it is a java issue. That V7 is not supported above java 1.3.xxx which is bull because we were running version 1.4, due to a security issue with JVM 1.3 and all worked well. I have replicated the install with JVM 1.3xxx for BEA 7 sp 7, and that did not solve the problem either. Sorry for the long post I just wanted to try to get all the info out.
    Thank you for you time and consideration
    Tanner

Maybe you are looking for

  • DVI LCD really necessary?

    I'm thinking about buying an inexpensive but good quality 17 inch LCD. Since my PB comes with a DVI output, I'm wondering whether I should get a DVI monitor instead of VGA. What would really be the difference I see? Also, if you have a 17 inch LCD to

  • Reg Function module for getting date

    Hi, My requirement is, If I entered some date I need to get past three months number of days. Eg: if I entered 26thDec,2007 I need to get number of days form October 1st to 26th Dec. Regards, sarath.

  • How to provide a button in bsp that downloads data from SAP into powerpoint

    hi, how to provide a button in bsp that downloads data from SAP into powerpoint this absurd requirement is needed by my client. thanks saad

  • Can i replace social icons in the Muse CC 2014 social widget?

    I would like to replace the embedded social icons in the Muse Social Widget with some flat png icons I have. Can I?

  • Apple Address Won't Open

    On my iMac G5, my Apple Address Book won't open. It has been working perfectly and I've never had a problem since buying the computer about a year ago. Though the name appears on the top menu bar and the triangle shows beneath the Address Book icon o