Prvent a PO when there is a contract

how to prevent creating an independent POfor a material, when there a "A centrally agreed contract exists for this material"this we have as a warning.. but we want it as an error
i tried SPRO->MM->purchasing->environment data->define attributes for system messages
but i couldnt find this message (number 06 578)
thanx in advance

HI
You can do it from the Environment messages but you also should make sure it will also have an effect on all the other materials that have a contract, then you won't be able to create a PO for that material other than a Release order.

Similar Messages

  • If I got an unlocked iPhone 4s would I be able to use a 3G network? Like so when there is no wifi network can I use a 3G network if I got an unlocked iPhone? Or do you have to have a locked iPhone to do this?

    if I got an unlocked iPhone 4s would I be able to use a 3G network? Like so when there is no wifi network can I use a 3G network to go on the internet when i am out if I got an unlocked iPhone? Or do you have to have a locked iPhone to do this?

    If I am reading your question correctly, yes if there is no wifi
    you can use 3G IF you have a contract with a wireless provider
    and the appropriate SIM card if required. Being unlocked does not
    give you access to 3G for free; you still have to pay for it. Same
    for locked iPhone. Difference is that you would have to get contract
    with whatever provider the iPhone is locked to if you have locked
    iPhone; if iPhone is unlocked, you will have to make a choice from
    your local providers.
    If this does not answer your questions, please post back with more
    details and someone will answer you.

  • Looking for some app which send SMS when there is Sim change in Iphone 4 G. Do we have any such software which is free

    looking for some app which send SMS when there is Sim change in Iphone 4 G. Do we have any such software which is free or even paid will work.

    I thought that is what the big deal was that people did not know until they opened the box and started using the iPhone 5, that it not only worked with one carrier but several carriers.  I did not say it will work with any carrier at one time.  I was trying to find out the reason for this and why people were so surprised that the iPhone 5 had this function and the reason for it.  As stated in my post, is it there so that after your contract is up and you want to go to another carrier you do not have to purchase a new iPhone, you  cna purchase a SIM card that works with your new carrier.
    The Otterbox Defender has a tendency to let too much dirt, dust, etc. in the cracks on the case. At least this has been my expereince.  I was thinking something more along some of the really durable cases at BallisticCaseCo.com
    As far as the iPhone 5 having issues, I have heard that there were more than usual with the first couple of manufactured batches that were shipped.  For example the Map App by Apple, the scratches on the backside of hundreds of iPhones, etc.  I am hoping these will get to be less and less, but with the recent riot at the one plant in China where the iPhone 5 is assembled is supposed to increase the waiting time.

  • I am having a strange typing glitch when I type in contractions. Help!

    I have the strangest problem. When I type a contraction (such as "I'm"), the word capitalizes than kicks me out of the program - it doesn't shut the program down, but just removes the cursor from that program (if that makes any sense). I thought it was my Bluetooth keyboard, but it also happens when I use the computer's keyboard. Seems to happen primarily in Microsoft programs (Word and Outlook). Any ideas??

    I'm flummoxed - never seen or heard of this. I can think of some things to look at; not fixes but a start at investigating the cause. 1) You say it primarily happens in Office produces. Have you tried turning off spell checking and grammar checking in the Office programs? If the problem stops we can look closer at Office. 2) OS X has its own buit in spell checking. Look under the Edit menu for Spelling and Grammar. Try turning off Check Spelling while typing to see if this has any affect. 3) create a new user account and log into it. See if your problem follows you there.

  • How can I eliminate delays in one NIC when there is traffic on second NIC

    Using LabVIEW TCP/IP VIs, my LV application is  accessing a database though a LAN, and  through a second NIC, it is controlling an instrument.  The instrument is connected directly to the computer NIC with a cross-over cable.  I have made a permanent route for the IP address of the instrument in the IP route table.  The LAN and the instrument have different subnet numbers.  Using a packet sniffer, I don't see any traffic meant for the LAN going to the NIC connected to the instrument.  The OS of the computer is Windows XP and the NICs are PCI cards.
    The message traffic to the instrument suffers from intermittent delays when there is traffic going to the LAN. 
    How can I eliminate the delays?  What could be the cause of the delays?  Thanks in advance for your recommendations and suggestions.

    Hi LabBard,
    Could you tell us a little more about the device that you are connected to? What you could try is to have a VI accessing the LAN, and a separate VI communicating with the instrument, and see how things play out.
    Let us know how it goes!
    Rasheel

  • Possibility to edit datasets, when there is already a maintenance view?

    Hello again,
    is it right that I can modify datasets even when there exists a generated maintenance view for the table?
    It was usual for me, that in the transaction SE16 don't allow that.
    Thank you for your answers!
    Melanie

    Depends on the setting for "delivery and maintenance" in SE11, should be set to "allowed with restrictions" for the underlying tables of the view. Also check the very good F1 help for this field.
    Thomas

  • Can't see data in data tab when there is a "." in table name

    Hi,
    I have a problem with SQL Developer 2.1 (this works with 1.5).
    When there is a dot (".") in table name, we can't see data in data tab (we have no synonyms so it's not same bug).
    If I try to export data on same table, in "WHERE" tab, I can see sample !
    Any idea ?
    Thanks

    logged
    Bug 9393866 - datatb shows no columns for table name containg [dot]
    -Raghu

  • How to find port number , when there will be different instance number ?

    In case of portal url,
    port number is 50000 for default instance number 00.
    how to find port number , when there will be different instance number , instead of 00?
    Thanks

    Hi
    You can find the port number by your instance number as follows:
    There is a general format for the port number like you have mentioned.
    For 00 instance the port number is 50000.
    The general format for the port number goes like this:
        <b>5<instance_no>00</b>
    If your <b>instance number is 01</b> then the port number would be <b>50100</b>.
    It depends on the installation type which you perform.
    You can also change the instance number during the installation but normally you dont do this.
    If you have many components or units installed on your system you may have more than one instance in that case it may go like this 00, 01, 02....accordingly port number will be 50000, 50100, 50200...resp.
    Hope this solves your doubt.
    If you need some more clarification please lemme know.
    Regards
      Sumit Jain
    **Rewrd with points if useful.

  • Bug: Bookmarks do not show up on the browser when there is no connection

    Pre is not showing bookmark icons when there is no internet connection.
    I am currently on international roaming with no data connection, but am using the Pre over WiFi. The Pre turns off WiFi when not in use, and then reconnects as soon as i turn it on. 
    However, it takes a few seconds to reconnect to WiFi, and if I open the browser in the mean time, it just opens a blank window with no bookmarks. It has the address bar, but doesn't really work.
    If I open the browser once it has connected to WiFi, everything works fine.
    Post relates to: Pre p100eww (Sprint)

    Same thing happens in Airplane mode.  I'll pass this along.... thanks!
    (You can't even edit full bookmarks list, either.  I can understand, kinda, not displaying the icons as their only purpose it to launch a data connection to the site, which obviously you're not going to do when not connected to data.  But IMO, you should still be able to organize your bookmarks, which doesn't look like you can do)

  • How to change the default JRE when there are several version of JRE in Sys

    How to change the default JRE when there are several version of JRE in System?
    i have installed j2sdk1.5.0 then installed j2ee1.4,then installed Weblogic6.1 which use jdk1.3
    Now the JRE is jdk1.3\bin
    When run class that was compiled with jdk1.5,throw:
    java.lang.UnsupportedClassVersionError
    How can i change the jre to 1.5?

    There is a workaround to move from 1.5 version to the older 1.4 version. But this could be specific to the browser setting the JRE version.
    Excerpts from sun docs:
    However, a user can still run older versions. To do so, launch the Java Plug-in Control Panel for the older version, then (re)select the browser in the Browser tab.
    Example:
    Assume you are running on Microsoft Windows with Microsoft Internet Explorer, have first installed version 1.4.2, then version 5.0, and you want to run 1.4.2.
    Go to the j2re1.4.2\bin directory where JRE 1.4.2 was installed. On a Windows default installation, this would be here: C:\Program Files\Java\j2re1.4.2\bin
    Double-click the jpicpl32.exe file located there. It will launch the control panel for 1.4.2.
    Select the Browser tab. Microsoft Internet Explorer might still appear to be set (checked). However, when 5.0 was installed, the registration of the 1.4.2 JRE with Internet Explorer was overwritten by the 5.0 JRE.
    If Microsoft Internet Explorer is shown as checked, uncheck it and click Apply. You will see a confirmation dialog stating that browser settings have changed.
    Check Microsoft Internet Explorer and click Apply. You should see a confirmation dialog.
    Restart the browser. It should now use the 1.4.2 JRE for conventional APPLET tags.
    Details are here
    http://java.sun.com/j2se/1.5.0/docs/guide/deployment/deployment-guide/jcp.html
    My system (Windows XP) has the version 1.5_09 set as the default. However i just installed JRE 1.5_06 and would like to revert back to _06 as the default JRE..
    Will update if i find more information

  • Problem with XML Publisher report when there are no detail records.

    I am working on an Oracle XML Publisher procurement report (Oracle E-Business Suite R12) that starts with a budget amount that is imported from our financial system, then lists all requisitions and orders that are in process (not approved). The amounts of all those unapproved requisitions/orders are totaled using a Sum form field, to be followed by a field where the unapproved requisition/order total is subtracted from the budget amount (amount available). I am running into a problem when there are no unapproved requisitions. When I run the report for such instances, it completes with a warning -- here is what it states in the OPP log:
    oracle.xdo.parser.v2.XPathException: Extension function error: Method not found 'sum'
    I have altered my sum field on the RTF template to include an if statement in case of a null value...
    <?sum (EXTENDED_COST)?> <?xdofx:if sum (EXTENDED_COST) = " then 0 end if?>
    ...but this does not work.

    Hi,
    You are on right track. Simply put summary field in header group and remember to set reset at property to Header Group Not Child and now you can use this field in format trigger.
    Format trigger must be written on header frame.
    Cheers !
    Adinath Kamode

  • SQL-01403 error reported in a Report Region when there is data to display

    I have a report region populated by a PL/SQL function body returning a SQL Query. When the region is displayed, "ORA-01403: no data found" is output when there should be rows displayed on the report. I see a lot of postings related to ORA-01403, but none seem to describe why this problem occurs or how to solve it.
    Here is the generated SQL query:
    SELECT DISTINCT entry_type, active_time, expire_time, facility, via, output_remarks, p_reports.f_get_to_positions (entry_id, NULL) pos FROM (SELECT 'RSTN' entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_restriction_daily_all WHERE (entry_type in ('RSTN', 'APREQ', 'GS')) UNION ALL SELECT 'RSTN' entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_restriction_daily_all WHERE (entry_type in ('RSTN', 'APREQ', 'GS')) UNION ALL SELECT 'RSTN' entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_restriction_daily_all WHERE (entry_type in ('RSTN', 'APREQ', 'GS')) UNION ALL SELECT 'APERQ' entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_apreq_daily_all WHERE (entry_type IN ('APREQ', 'RSTN')) UNION ALL SELECT 'GS' entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_apreq_daily_all WHERE (entry_type IN ('GS', 'RSTN')) UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_edct_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_runway_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_deicing_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_delay_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_swap_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_sua_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_information_daily UNION ALL SELECT entry_type, active_time, expire_time, facility, via, output_remarks, entry_id FROM v_outage_daily ) WHERE (active_time BETWEEN TO_DATE (:G7_LOCAL_MIDNIGHT, 'YYYYMMDDHH24MI') AND TO_DATE (:G7_LOCAL_MIDNIGHT, 'YYYYMMDDHH24MI') + 1)
    I am using version 1.6.0.00.87.
    Please advise. Thanks.

    Create a summary column (lets say "CS_TotalRecords") at report level, and set the following properties:
    Function: Count
    Source: column which can not be null (if report displays some data)
    Reset At: Report
    Create a format trigger at most outer frame (the frame you want to hide and all object within that), and write following code:
    BEGIN
    IF NVL(:CS_TotalRecords,0) = 0 THEN
    RETURN (FALSE);
    END IF;
    RETURN (TRUE);
    END;
    Hope this helps.

  • IPhone 4s has yahoo mail icon permanently on safari when there are no open pages

    My iPhone 4s using iOS7.0.2 has a Yahoo mail icon displaying permanently on the top of Safari when there are no open pages. The icon did not disappear even when I deleted my Yahoo mail account. The icon also has my Yahoo username displayed below it. Is there any way I can remove the Yahoo mail icon from permanently displaying on Safari? I cleared my history, cookies and data, but the Yahoo icon is still there.

    I have the same issue and koban4max's sugggestion doesn't work (well, it works, but you'll need to do it once a day.) I am surprised this hasn't been widely reported either as an iphone, Verizon or Yahoo issue. I tried various suggestions (deleting/re-adding account, moving messages to a new folder and changing password on computer/iphone, etc.) It will push for a while but stop pushing in a few hours or a few days. This leads me to believe somewhere in the interface corrupts the process. I would love to know if it's unique to Verizon, iphone 4S or IOS 5, or all of the above. The phone doesn't even fetch according to schedule, only when you are in the application. BTW, the Exchange push solution for Gmail works wonderfully.
    iphone 4S, IOS 5, Verizon.

  • Removing a row from SQL query results when there is a duplicate hostname

    I have a query created for a software usage report in SCCM. When there are multiple versions of the same software (Acrobat) installed on the same machine, I will receive duplicate results for the same machine. For example, it will come back with Acrobat
    9 and another Acrobat 10 for HOSTNAME1. However, only Acrobat 10 has a usage count. Is it possible to delete the row for Acrobat that has a software usage count of "0/null" if there is another Acrobat results showing up that actually has a usage
    count? Let me know if I need to clarify. Any suggestions would be appreciated.

    It is more complicated than doing just "Where usage count >0 and usage is not NULL"
    because I still want results that have a 0 usage count. I just don't want to have duplicate machines show up for the same software IF one of them returns a usage count of 0.
    SELECT DISTINCT
    abc.SECTOR
    ,abc.BA
    ,abc.SITE
    ,abc.HOSTNAME as 'Name0'
    ,rs.ResourceID
    ,CASE
    WHEN mf.OriginalFileName = 'dwrcc.exe' THEN 'DameWare'
    WHEN mf.OriginalFileName = 'matlab.exe' THEN 'MathWorks'
    WHEN mf.OriginalFileName IN ('encoder.exe','expressionweb.exe','exprwd.exe','mappoint.exe','winproj.exe','visio.exe','devenv.exe','VBExpress.exe','VCExpress.exe','VCSExpress.exe','VWDExpress.exe','excel.exe','groove.exe','infopath.exe','msaccess.exe','mspub.exe','onenote.exe','outlook.exe','powerpnt.exe','winword.exe','communicator.exe')
    THEN 'Microsoft'
    WHEN mf.OriginalFileName IN ('acrobat.exe','Acrobat Elements.exe','AfterFX.exe','Audition.Exe','Adobe Audition.Exe','AdobeCaptivate.exe','CFReportBuilder.exe','Coldfusion.Exe','Contribute.exe','director.exe','Projector.exe','dreamweaver.exe','Adobe
    Encore.exe','Adobe Encore Dvd.Exe','Encoredvd.Exe','Fireworks.exe','FlashBuilder4.exe','flash.exe','Flex Builder.exe','FlexBuilder.exe','Framemaker.Exe','framemaker+sgml.exe','illustrator.exe','HomeSite+.exe','homesite4.exe','homesite45.exe','Homesite5.exe','InDesign.exe','Lightroom.exe','Adobe
    OnLocation.exe','Pm65.Exe','Pm70.Exe','pm.exe','pm4.exe','pm5.exe','pm6.exe','photoshop.exe','Photosle.exe','Photoshopelementsorganizer.Exe','Photoshopelementseditor.Exe','photoshp.exe','Lightroom.exe','Adobe Premiere Elements.Exe','Adobe Premiere Elements
    8.0.Exe','Adobe Premiere Elements 10.Exe','Adobe Premiere Elements 9.Exe','Adobe Premiere Elements 7.0.exe','Premiere.Exe','Adobe Premiere Pro.Exe','Adobe-Pr-Vc.Exe','Robohelp.Exe','robodemo.exe','roboinfo.exe','Adobe Soundbooth CS5.exe','Adobe Soundbooth
    CS4.exe','Adobe Soundbooth CS3.exe','Adobe Media Encoder.exe','speedgrade.exe','adobe prelude.exe') THEN 'Adobe'
    ELSE 'OTHER'
    END as 'Publisher'
    ,(CASE mf.OriginalFileName
    WHEN 'acrobat.exe' THEN 'Acrobat'
    WHEN 'Acrobat Elements.exe' THEN 'Acrobat Elements'
    WHEN 'AfterFX.exe' THEN 'After Effects'
    WHEN 'Audition.exe' THEN 'Audition'
    WHEN 'Adobe Audition.exe' THEN 'Audition'
    WHEN 'AdobeCaptivate.exe' THEN 'Captivate'
    WHEN 'CFReportBuilder.exe' THEN 'Coldfusion Builder'
    WHEN 'Coldfusion.exe' THEN 'Coldfusion Standard'
    WHEN 'Contribute.exe' THEN 'Contribute'
    WHEN 'dwrcc.exe' THEN 'DameWare Mini Remote Control'
    WHEN 'director.exe' THEN 'Director'
    WHEN 'Projector.exe' THEN 'Director'
    WHEN 'dreamweaver.exe' THEN 'Dreamweaver'
    WHEN 'Adobe Encore.exe' THEN 'Encore'
    WHEN 'Adobe Encore Dvd.exe' THEN 'Encore'
    WHEN 'Encoredvd.exe' THEN 'Encore'
    WHEN 'encoder.exe' THEN 'Expression'
    WHEN 'expressionweb.exe' THEN 'Expression'
    WHEN 'exprwd.exe' THEN 'Expression'
    WHEN 'Fireworks.exe' THEN 'Fireworks'
    WHEN 'FlashBuilder4.exe' THEN 'Flash Builder'
    WHEN 'flash.exe' THEN 'Flash Pro'
    WHEN 'Flex Builder.exe' THEN 'FlexBuilder'
    WHEN 'FlexBuilder.exe' THEN 'FlexBuilder'
    WHEN 'Framemaker.exe' THEN 'FrameMaker'
    WHEN 'framemaker+sgml.exe' THEN 'FrameMaker'
    WHEN 'HomeSite+.exe' THEN 'Homesite'
    WHEN 'homesite4.exe' THEN 'Homesite'
    WHEN 'homesite45.exe' THEN 'Homesite'
    WHEN 'Homesite5.exe' THEN 'Homesite'
    WHEN 'illustrator.exe' THEN 'Illustrator'
    WHEN 'InDesign.exe' THEN 'InDesign'
    WHEN 'Lightroom.exe' THEN 'Lightroom'
    WHEN 'mappoint.exe' THEN 'MapPoint'
    WHEN 'Adobe Media Encoder.exe' THEN 'Media Encoder'
    WHEN 'Adobe OnLocation.exe' THEN 'OnLocation'
    WHEN 'Pm65.exe' THEN 'PageMaker'
    WHEN 'Pm70.exe' THEN 'PageMaker'
    WHEN 'pm.exe' THEN 'PageMaker'
    WHEN 'pm4.exe' THEN 'PageMaker'
    WHEN 'pm5.exe' THEN 'PageMaker'
    WHEN 'pm6.exe' THEN 'PageMaker'
    WHEN 'photoshop.exe' THEN 'Photoshop'
    WHEN 'Photosle.exe' THEN 'Photoshop'
    WHEN 'Photoshopelementsorganizer.exe' THEN 'Photoshop Elements'
    WHEN 'Photoshopelementseditor.exe' THEN 'Photoshop Elements'
    WHEN 'photoshp.exe' THEN 'Photoshop Elements'
    WHEN 'Lightroom.exe' THEN 'Photoshop Lightroom'
    WHEN 'adobe prelude.exe' THEN 'Prelude'
    WHEN 'Adobe Premiere Elements.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 8.0.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 10.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 9.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 7.0.exe' THEN 'Premiere Elements'
    WHEN 'Premiere.exe' THEN 'Premiere Pro'
    WHEN 'Adobe Premiere Pro.exe' THEN 'Premiere Pro'
    WHEN 'Adobe-Pr-Vc.exe' THEN 'Presenter'
    WHEN 'winproj.exe' THEN 'Project'
    WHEN 'Robohelp.exe' THEN 'RoboHelp'
    WHEN 'robodemo.exe' THEN 'RoboHelp'
    WHEN 'roboinfo.exe' THEN 'RoboHelp'
    WHEN 'Adobe Soundbooth CS5.exe' THEN 'Soundbooth'
    WHEN 'Adobe Soundbooth CS4.exe' THEN 'Soundbooth'
    WHEN 'Adobe Soundbooth CS3.exe' THEN 'Soundbooth'
    WHEN 'speedgrade.exe' THEN 'Speedgrade'
    WHEN 'visio.exe' THEN 'Visio'
    WHEN 'devenv.exe' THEN 'Visual Studio'
    WHEN 'VBExpress.exe' THEN 'Visual Studio'
    WHEN 'VCExpress.exe' THEN 'Visual Studio'
    WHEN 'VCSExpress.exe' THEN 'Visual Studio'
    WHEN 'VWDExpress.exe' THEN 'Visual Studio'
    WHEN 'WinWord.exe' THEN 'Word'
    WHEN 'matlab.exe' THEN 'MATLAB'
    ELSE mf.OriginalFileName
    END) as 'ProductName'
    ,mf.OriginalFileName
    ,sf.FileDescription
    ,CASE
    WHEN sf.FilePath like '%acrobat%' and sf.FileVersion != '' THEN left(sf.FileVersion,patindex('%.%',sf.FileVersion)-1)
    ELSE sf.FileVersion
    END AS 'FileVersion'
    ,sf.FilePath
    ,mf.MeteredFileID
    ,ISNULL(mus.UsageTime, '') as 'USAGETIME'
    ,ISNULL(mus.UsageCount, '') as 'USAGECOUNT'
    ,mus.LastUsage
    --,ISNULL(CONVERT(VARCHAR,mus.LastUsage,21),'') as 'Last Used'
    ,CASE
    WHEN mus.LastUsage IS NULL and
    sf.FilePath like '%\Program Files\Hewlett-Packard\%'
    or sf.FilePath like '_:\Windows\%'
    or sf.FilePath like '% old %'
    or sf.FilePath like '%[_]old[_]%'
    or sf.FilePath like '%backup%'
    or sf.FilePath like '_:\Data\%'
    or sf.FilePath like 'C:\Users\%'
    or sf.FilePath like 'C:\Documents and Settings\%'
    or (sf.FileName = 'acrobat.exe' and sf.FileDescription IS NULL)
    THEN 'FALSE'
    ELSE 'TRUE'
    END as 'VALID'
    ,ISNULL(ui.UserName,scum.TopConsoleUser0) as 'PrimaryUser'
    FROM
    v_MeteredFiles mf
    INNER JOIN v_GS_SoftwareFile sf on mf.MeteredFileID = sf.FileID
    --LEFT JOIN v_SoftwareFile sfi on sfi.FileID = sf.FileID
    LEFT JOIN v_R_System rs on sf.ResourceID = rs.ResourceID and rs.Obsolete0 = 0 and rs.Active0 = 1
    LEFT JOIN v_CH_ClientSummary ch on ch.ResourceID = rs.ResourceID
    INNER JOIN [CUSTOM].[dbo].[ABC_SITES] abc on rs.Name0 = abc.HOSTNAME and abc.SERV_FL = 'N'
    LEFT JOIN (
    SELECT ResourceID,FileID,SUM(UsageCount) as 'UsageCount',MAX(MeteredUserID) as 'UserID',SUM(UsageTime) as 'UsageTime',MAX(LastUsage) as 'LastUsage'
    FROM v_MonthlyUsageSummary
    GROUP BY ResourceID,FileID
    ) mus on mus.ResourceID = sf.ResourceID and mus.FileID = mf.MeteredFileID
    LEFT JOIN v_Users ui on ui.UserID = mus.UserID
    LEFT JOIN v_GS_SYSTEM_CONSOLE_USAGE_MAXGROUP scum on scum.ResourceID = rs.ResourceID
    WHERE
    (ch.LastActiveTime >= GETDATE()-30 or bae.LOGON_TMSP >= GETDATE()-30)
    and mf.OriginalFileName != 'WinWord.exe'
    --Exclude files in Recycle Bin
    and sf.FilePath not like '_:\$Recycle.Bin%'
    --Exclude invalid flash FileID's:
    and sf.FileID not in ('216172782114109353','216172782113863960','216172782113863969','216172782114336737','216172782114337853','216172782114009539','216172782114088205','216172782114148960','216172782114088174','216172782114109319','216172782113854316','216172782114045303','216172782114103331','216172782114318673','216172782113997536','216172782114103319','216172782114035585','216172782114035580','288230376151905593','288230376152414835','288230376152326390','288230376152414762','288230376152752371','288230376152238194','288230376151864114','288230376152221470','288230376152194417','288230376152452591','288230376152433530','288230376151826881','288230376151905590','288230376151993886','288230376152142718','288230376151766967','288230376151949862','288230376151870700','288230376151805491','288230376151796019','288230376152041232','288230376152068486','288230376152330596','288230376151982279','288230376151982277','288230376152126901','288230376151864098','288230376152129697','288230376152055728','216172782113836986','288230376152068474','288230376152068500','288230376151754145','288230376152241787','216172782113974892','288230376152107352','288230376152049272','288230376152367258','288230376152014270','288230376152423348','288230376151777614','288230376152137355','288230376152699042','288230376151777252','288230376152025890','288230376152688217','216172782113850093','216172782113850201','216172782114478326','216172782114139161','216172782113976965','216172782114084839','216172782114084848','288230376151766956','288230376152068464','288230376151766948','288230376152068455','288230376151903237','288230376151857402','288230376151933218','216172782113888320','216172782113867157','216172782113798401','216172782113884867')
    and sf.FileDescription not like '%PackageForTheWeb%'
    and sf.FileDescription not like '%Projector%'
    and sf.FileDescription not like '%Adobe Reader%'
    and sf.FileDescription not like '%Netopsystems%'
    and abc.SECTOR in (@Sector)
    and abc.BA in (@Business_Area)
    and abc.SITE in (@Site)
    and (CASE mf.OriginalFileName
    WHEN 'acrobat.exe' THEN 'Acrobat'
    WHEN 'Acrobat Elements.exe' THEN 'Acrobat Elements'
    WHEN 'AfterFX.exe' THEN 'After Effects'
    WHEN 'Audition.exe' THEN 'Audition'
    WHEN 'Adobe Audition.exe' THEN 'Audition'
    WHEN 'AdobeCaptivate.exe' THEN 'Captivate'
    WHEN 'CFReportBuilder.exe' THEN 'Coldfusion Builder'
    WHEN 'Coldfusion.exe' THEN 'Coldfusion Standard'
    WHEN 'Contribute.exe' THEN 'Contribute'
    WHEN 'dwrcc.exe' THEN 'DameWare Mini Remote Control'
    WHEN 'director.exe' THEN 'Director'
    WHEN 'Projector.exe' THEN 'Director'
    WHEN 'dreamweaver.exe' THEN 'Dreamweaver'
    WHEN 'Adobe Encore.exe' THEN 'Encore'
    WHEN 'Adobe Encore Dvd.exe' THEN 'Encore'
    WHEN 'Encoredvd.exe' THEN 'Encore'
    WHEN 'encoder.exe' THEN 'Expression'
    WHEN 'expressionweb.exe' THEN 'Expression'
    WHEN 'exprwd.exe' THEN 'Expression'
    WHEN 'Fireworks.exe' THEN 'Fireworks'
    WHEN 'FlashBuilder4.exe' THEN 'Flash Builder'
    WHEN 'flash.exe' THEN 'Flash Pro'
    WHEN 'Flex Builder.exe' THEN 'FlexBuilder'
    WHEN 'FlexBuilder.exe' THEN 'FlexBuilder'
    WHEN 'Framemaker.exe' THEN 'FrameMaker'
    WHEN 'framemaker+sgml.exe' THEN 'FrameMaker'
    WHEN 'HomeSite+.exe' THEN 'Homesite'
    WHEN 'homesite4.exe' THEN 'Homesite'
    WHEN 'homesite45.exe' THEN 'Homesite'
    WHEN 'Homesite5.exe' THEN 'Homesite'
    WHEN 'illustrator.exe' THEN 'Illustrator'
    WHEN 'InDesign.exe' THEN 'InDesign'
    WHEN 'Lightroom.exe' THEN 'Lightroom'
    WHEN 'mappoint.exe' THEN 'MapPoint'
    WHEN 'Adobe Media Encoder.exe' THEN 'Media Encoder'
    WHEN 'Adobe OnLocation.exe' THEN 'OnLocation'
    WHEN 'Pm65.exe' THEN 'PageMaker'
    WHEN 'Pm70.exe' THEN 'PageMaker'
    WHEN 'pm.exe' THEN 'PageMaker'
    WHEN 'pm4.exe' THEN 'PageMaker'
    WHEN 'pm5.exe' THEN 'PageMaker'
    WHEN 'pm6.exe' THEN 'PageMaker'
    WHEN 'photoshop.exe' THEN 'Photoshop'
    WHEN 'Photosle.exe' THEN 'Photoshop'
    WHEN 'Photoshopelementsorganizer.exe' THEN 'Photoshop Elements'
    WHEN 'Photoshopelementseditor.exe' THEN 'Photoshop Elements'
    WHEN 'photoshp.exe' THEN 'Photoshop Elements'
    WHEN 'Lightroom.exe' THEN 'Photoshop Lightroom'
    WHEN 'adobe prelude.exe' THEN 'Prelude'
    WHEN 'Adobe Premiere Elements.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 8.0.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 10.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 9.exe' THEN 'Premiere Elements'
    WHEN 'Adobe Premiere Elements 7.0.exe' THEN 'Premiere Elements'
    WHEN 'Premiere.exe' THEN 'Premiere Pro'
    WHEN 'Adobe Premiere Pro.exe' THEN 'Premiere Pro'
    WHEN 'Adobe-Pr-Vc.exe' THEN 'Presenter'
    WHEN 'winproj.exe' THEN 'Project'
    WHEN 'Robohelp.exe' THEN 'RoboHelp'
    WHEN 'robodemo.exe' THEN 'RoboHelp'
    WHEN 'roboinfo.exe' THEN 'RoboHelp'
    WHEN 'Adobe Soundbooth CS5.exe' THEN 'Soundbooth'
    WHEN 'Adobe Soundbooth CS4.exe' THEN 'Soundbooth'
    WHEN 'Adobe Soundbooth CS3.exe' THEN 'Soundbooth'
    WHEN 'speedgrade.exe' THEN 'Speedgrade'
    WHEN 'visio.exe' THEN 'Visio'
    WHEN 'devenv.exe' THEN 'Visual Studio'
    WHEN 'VBExpress.exe' THEN 'Visual Studio'
    WHEN 'VCExpress.exe' THEN 'Visual Studio'
    WHEN 'VCSExpress.exe' THEN 'Visual Studio'
    WHEN 'VWDExpress.exe' THEN 'Visual Studio'
    WHEN 'WinWord.exe' THEN 'Word'
    WHEN 'matlab.exe' THEN 'Matlab'
    ELSE mf.OriginalFileName
    END) IN (@MeteredProduct)
    ORDER BY
    abc.SECTOR
    ,abc.BA
    ,abc.SITE
    ,abc.HOSTNAME

  • GR/IR clearing when there is difference in value and quantity is matching

    Dear friends,
    I'm having a problem to clear the GR / IR account where there is a value difference in dr and cr line items. when ther is foreign currency postings some of the dr or cr line items are having value difference in decimals. I checked the tolerance limits also still those entries are pending for clearing in f.13. This is GR/IR clearing account so I cannot do manual clearing. This has to be done through automatic clearing. Please reply in detail. Thanks in advance for going through my query and for giving your value time.

    Hi
    debit GR/IR 10000.99
    credit GR/IR 10000
    Credit P/L .99(as per the setting it will hit the account.
    Please guide me how to credit the .99 and where the settings and what settings has to be done.
    GR/IR is an auto clearing. So how can I post that difference which you suggested.
    regards
    satya
    Edited by: SATYA on Aug 24, 2009 8:38 AM

Maybe you are looking for

  • How can I put a numeric indicator into a case structure using VI scripting

    I'm using VI scripting and I'm trying to add a numeric indicator inside a case structure.  I'm able to add the case structure and the numeric indicator just fine, but as soon as I specify the case structure as the "owner" of the numeric (as opposed t

  • Auto PO creation against GR

    Hi all, I want a purchase order to be generated automatically as soon as the GRN is done. The purchase order will be created of the GR quantity. Can someone help me out with the steps to be followed for doing the same. Regards Sushil

  • Playing the audio file from the point of mark

    Hi All, i want to play a audio file from the point of mark. i have used mark() method to mark but when i play the audio it is still playing the audio from the starting point. please help me.

  • Need help with setting a variable using xml

    So I am trying to import in XML and this is working fine, But once in flash I need to reference this variable in a later script. Here is what I got. function loadXML(loaded) { if (loaded) { /////this is the variable, which is working, it pulls the in

  • How can I stop new tabs to show up while I am using Firefox? It happens all the time...

    While I am using Firefox, new pages keep opening all the time, new tabs. Even for writing this message I had to close new pages many times. It is boring, I am considering not using Firefox any more if I can´t fix it.