Can you close Material Codes/Groups which have not been used for a while?

Is it possible to close material codes/groups when they are no longer required? This would be similar to putting a date on Cost Centres in finance which then restrict the availability of use.

before putting deletion flag please be sure the stock in those material is ZERO
now rather than using MM06 use
WSE1
here you can block n put deletion flag for material
and to remove deletion flag use
WSE8

Similar Messages

  • List AD accounts that have not been used for months?

    Hello,
    I use oldcmp.exe to show me what computers have not been used for months and I can disable them, but I wish to do the same for users Active Directory accounts, is this possible?
    We use AD 2003
    Thanks

    sorry for slightly belated reply. I've used another version of this script that doesn't have the GUI interface on it, this will make it easier for you to run from a scheduled task.
    copy the code and make the relevant changes to the top section of the script as the comments explain. This will send and email with a link to the report generated.
    #Script designed to search AD for inactive user accounts, mark them as inactive and move them to a specific OU then disable them
    #Script can be run in the following formats
    # 1. Report only
    # 2. Report and move account
    # 3. Report, move and disable
    #Uses quest powershell tools which can be downloaded from http://www.quest.com/powershell/activeroles-server.aspx
    #Version 2.0
    #Added email functionality
    #Denis Cooper
    #Setup script Variables
    #Change the setting from True to false to alter the way the script runs (only one option can be true)
    $ReportOnly = "True" #Generates a CSV file showing all inactive user accounts
    $ReportandMove = "False" #Generates a CSV report, moves the users to a specific OU
    $ReportMoveDisable = "False" #Generates a CSV report, moves the users to specific OU, and sets the description
    #Set the period of inactivity in days
    $InactiveFor = "90"
    #Specify the OU to search for inactive users - us AD CN if searching enire AD
    $SourceOU = "OU=Users,DC=MyDomain,DC=Int"
    #Specify the destination OU to move inactive users to is using report and move or report move disable script options
    $DestinationOU = "OU=Inactive Users,DC=MyDomain,DC=Int"
    #Don't mark anyone with the the specified prefix in the description field to inactive - DND stands for Do Not Disable and is specified
    #in the users account description field for accounts which may not be used to login so will show as inactive but that you don't want to disable
    #must leave the * after the word for wildcard matching
    $DescriptionPrefix = "DND*"
    #Specify the description to set in the computer account on ReportMoveDisable option
    $Description = "Account disabled due to inactivity on $Today"
    #Specify the path to create the csv file (make sure the folder exists)
    $ReportFile = "\\server\share\InactiveUsersReport.csv"
    #Get todays date and store it in the $today variable
    $Today = Get-Date
    #Email Settings
    $SMTPServer = "smtp-server-name" #replace this with your internal smtp server
    $FromAddress = "[email protected]" #replace this with your from address
    $ToAddress = "[email protected]" #replace this with your TO address
    $CCAddress = "[email protected]" #replace this with your TO address
    $Subject = "This is your subject line" #replace this with the subject line for the email
    $MessageContent = "
    Hello,
    Please find a link to the latest report containing users that have been inactive for $inactivefor days
    $ReportFile
    Please take the appropriate action.
    Thanks you,
    IT
    #NO CHANGES BELOW THIS LINE
    Function SendEmail {
    $messageParameters = @{
    Subject = $subject
    Body = $messagecontent
    From = $fromaddress
    TO = $ToAddress
    CC = $CCAddress
    SmtpServer = $SMTPServer
    Send-MailMessage @messageParameters
    #Generates a report showing inactive users
    Function ReportOnly {
    $inactiveUsers | Export-Csv $ReportFile
    $count = $inactiveUsers.Count
    Write-Host -ForegroundColor White "$count inactive users were found and are being processed"
    SendEmail
    Invoke-Item $ReportFile
    #Generates report and moves accounts to desitnation OU
    Function ReportandMove {
    $inactiveUsers | Export-Csv $ReportFile
    $count = $inactiveUsers.Count
    Write-Host -ForegroundColor White "$count inactive users were found and are being processed"
    Invoke-Item $ReportFile
    $inactiveUsers | foreach {
    Move-QADObject $_ -NewParentContainer $DestinationOU
    #Generates report, moves accounts to destination OU, disables the account and sets the description
    Function ReportMoveDisable {
    $inactiveUsers | Export-Csv $ReportFile
    $count = $inactiveUsers.Count
    Write-Host -ForegroundColor White "$count inactive users were found and are being processed"
    Invoke-Item $ReportFile
    $inactiveUsers | foreach {
    Disable-QADUser $_
    Set-QADUser $_ -Description $Description
    Move-QADObject $_ -NewParentContainer $DestinationOU
    #Runs the script
    #Finds all inactive user accounts which are in an enabled state and store them in the variable $inactiveusers
    $inactiveUsers = Get-QADUser -SizeLimit 0 -SearchRoot $sourceOu -NotLoggedOnFor $InactiveFor -Enabled | Where-Object {$_.description -notlike $DescriptionPrefix}
    #Checks which script to run
    If (($ReportONly -eq "True") -and ($ReportandMove -eq "True" -or $ReportMoveDisable -eq "True")) {
    Write-Host -ForegroundColor RED "Only one run condition is allowed, please set only one run value to True and the others to false"
    Break
    If ($ReportONly -ne "True" -and $ReportandMove -ne "True" -and $ReportMoveDisable -ne "True") {
    Write-Host -ForegroundColor RED "No valid run condition was specified, please set only one run value to True and the others to false"
    Break
    If ($ReportONly -eq "True") {
    Write-Host -Foregroundcolor Green "Script running in report only mode."
    Write-Host -Foregroundcolor Green "Checking for accounts inactive for $inactivefor days in the OU $SourceOU"
    Write-Host -Foregroundcolor Green "The report will open automatically once complete, or you can find it here $ReportFile"
    ReportOnly
    If ($ReportandMove -eq "True") {
    Write-Host -Foregroundcolor Green "Script running in report and move mode."
    Write-Host -Foregroundcolor Green "Checking for accounts inactive for $inactivefor days in the OU $SourceOU"
    Write-Host -Foregroundcolor Green "The report will open automatically once complete, or you can find it here $ReportFile"
    Write-Host -ForegroundColor Green "Any inactive accounts will be moved to this OU $destinationOU"
    ReportAndMove
    If ($ReportMoveDisable -eq "True") {
    Write-Host -Foregroundcolor Green "Script running in report, move and disable mode."
    Write-Host -Foregroundcolor Green "Checking for accounts inactive for $inactivefor days in the OU $SourceOU"
    Write-Host -Foregroundcolor Green "The report will open automatically once complete, or you can find it here $ReportFile"
    Write-Host -ForegroundColor Green "Any inactive accounts will be moved to this OU $destinationOU and disabled and their description updated"
    ReportMoveDisable
    This link should help you create a scheduled task to run the script
    http://dmitrysotnikov.wordpress.com/2011/02/03/how-to-schedule-a-powershell-script/
    Regards,
    Denis Cooper
    MCITP EA - MCT
    Help keep the forums tidy, if this has helped please mark it as an answer
    My Blog
    LinkedIn:

  • HT5654 Hi my wife has a 2008 iPod Touch which has not been used for at least 5 years.  It will not charged and I have tried to carry out a DFU with out any result.  Any ideas please?

    Hi my wife has a 2008 iPod Touch which she has not used for approximately 5 years.  It will not charge and I have tried to carry out a Device Firmware Upgrade to no effect.  Can anyone please help?

    Try disabling the computer's antivirus and firewall.
    - Next try the manual install method of:
    iDevice Troubleshooting 101 :: iPhone, iPad, iPod touch
    Place the iPod in recovery mode after the firmware download is complete and then restore using the instructions in the article. Sometimes recovery mode timeouts and returns to disabled before the firmware download is complete.
    - Then try on another computer

  • I have an old mini Ipod which has  not been used for years.  Two questions. Why does my machine keeps switching itself on?  Second question:  via my computer I downloaded a classical CD. I cannot find it on my Ipod.  When I tried to down load it a second

    I have an old miniIpod which works OK.  But it frequently switches itself on.  I down loaded a classical CD via  my computer and cannot find it on my Ipod despite extensive searching.  When I tried to download a second time I was told that it had already downloaded.  mike

    Read the PDF user manual for the proper way of syncing music from iTunes to your iPod Nano:  iPod Manuals
    mikefromweymouth wrote:
    I have an old miniIpod which works OK.  But it frequently switches itself on.  I down loaded a classical CD via  my computer and cannot find it on my Ipod despite extensive searching.  When I tried to download a second time I was told that it had already downloaded.  mike
    Identifying iPod models

  • View all files that have not been opened for a while?

    I'm trying to clean up my computer and make some space
    Problem is I just have too many files folders and subfolders so going in and out of each folder will take way too long
    So my question is
    Is there a search method that will show me all the files that I haven't used or opened in a while so that I could just browse through those?

    omsaj wrote:
    Is there a search method that will show me all the files that I haven't used or opened in a while so that I could just browse through those?
    Yep, sure is.
    Download the free Easy Find (direct download)
    https://s3.amazonaws.com/DTWebsiteSupport/download/freeware/easyfind/4.9/EasyFin d.app.zip
    Now what your going to do is select your Home folder or a folder inside say Documents
    Then your going to adjust your search settings on the left and use the letter "a" as the search term and click the search and let it rip, it will take some time.
    Next click sort by the "Modified" date and you can then go about it
    Repeat for the letter "e" "i" "o" "u"
    Be careful, Easy Find also finds invisible and hidden files, and you dont' want to delete the iPhoto Libray or anything in the hidden Users/Library folder.
    Perhaps you should create a backup first, then later on if you made a mistake you can recover
    Most commonly used backup methods

  • I have a D7160 that have not been using for awhile. Get Error message: Oxc18a0206

    I have replaced the ink cartridges and tried all of the online troubleshooting ideas that I have found such as power off/power on. How do I get to the PC board to check the cmos battery? Any other ideas?

    TLDR
    But I did skim over some of it, and I see a big mistake repeated several times:
    "&" is the bitwise AND operator.
    "&&" is the logical AND operator.
    You've confused them, but you're using them in such a context that it's not a syntax error, so you're probably getting unexpected results. When used with booleans, it will probably work okay, although the operators will not be evaluated conditionally. But when used near ints, you've got a problem:
    Int examples:
    if (targetList.size() != 0 & inRangeList.size() != 0){
    if (actor.getX() == actorList.get(inRangeList.get(currentClosest)).getX() & actor.getY() == actorList.get(inRangeList.get(currentClosest)).getY() ){
    for (int i = 0;
                    i < inRangeList.size() &inRangeList.size() != 0;
                i++){
    if (actor.getX() == d.getWidth() & actor.getY() == d.getHeight()){
    Boolean examples:
    if (brainState.getFoodLocationFound() & actorFound){
    else if (brainState.getNestLocationFound() & actorFound){           
    else if(brainState.getFoodLocationFound() & !actorFound){Also, avoid declaring variables named "l".
    Some of those while() loops would be better rewritten as for() loops so that the loop variable will be limited in scope to the loop.

  • How does this happen: The picture of recent apps you get when double clicking the home button showed in Settings-Wifi that I had been connected to a network I have not been near for two months. Its not a recent "image" of Settings-Wifi. Can anyone explain

    How does this happen: The picture of recent apps you get when double clicking the home button showed in Settings-Wifi that I had been connected to a network I have not been near for two months. Its not a recent "image" of Settings-Wifi. Can anyone explain?

    Greetings,
    I've never seen this issue, and I handle many iPads, of all versions. WiFi issues are generally local to the WiFi router - they are not all of the same quality, range, immunity to interference, etc. You have distance, building construction, and the biggie - interference.
    At home, I use Apple routers, and have no issues with any of my WiFi enabled devices, computers, mobile devices, etc - even the lowly PeeCees. I have locations where I have Juniper Networks, as well as Aruba, and a few Netgears - all of them work as they should.
    The cheaper routers, Linksys, D-Link, Seimens home units, and many other no name devices have caused issues of various kinds, and even connectivity.
    I have no idea what Starbucks uses, but I always have a good connection, and I go there nearly every morning and get some work done, as well as play.
    You could try changing channels, 2.4 to 5 Gigs, changing locations of the router. I have had to do all of these at one time or another over the many years that I have been a Network Engineer.
    Good Luck - Cheers,
    M.

  • I believe for the year I have not been using photoshop photography but something else so I never really used it or photoshop photography ..can you check for me

    now that I just re-newed my photoshop photography ....I have not been using that for some reason I have been using something else. they had changed me a couple
    of times last year from one thing to another ...so I never go photoshop photography downloaded. I used the other one very little because I wasn't sure I should...gee
    I hope that makes sense.
    I need to download photoshop photography.
    Sherri nicholas

    You need to get the owner's manual for your Ford's bluetooth system to see how to put your system into discovery mode for the iPhone as well as the appropriate steps to take. 
    In addition, you should see if the iPhone is supported.

  • I received a text today while at work about iCloud keychain verification code. I have not signed up for it or anything that uses it. I work out of the city with limited internet access so not sure why I would be getting this. Is my info safe??

    I received a text today while at work about iCloud keychain verification code. I have not signed up for it or anything that uses it. I work out of the city with limited internet access so not sure why I would be getting this. I only got this number about a month ago. Apparently someone else had the number before because I get texts from his family members wondering whats going on. I got one yesterday and the person didn't seem to thrilled that the number was cutoff and today I got 2 texts about iCloud Keychain which I don't even know what it is. Seems suspicious to me. If the person who use to own the number is doing it he should know it is not his number anymore because he obviously didn't pay his bills.  I'm not too sure about iCloud Keychain so just want to know my info safe?? It says it can store credit card numbers which is what gets me worried. Frankly I think it's pretty stupid to save that kind if information with any kind of app. But I don't want some random person trying to access my personal information because they are bitter they lost their number.  Please let me know as soon as possible so I can change passwords or anything that is needed.
    thanks

    If it were me, I would go to my carrier and get a new number. Since you have only had it for a month, the inconvenience would be minimal.
    Barry

  • Report for materials which have not been cycle counted.

    Hi,
    Is there any report which can show me materials which have not been cycle counted and also materials which have been cycle counted with the cc date?
    Sincerely,
    Nicky

    Hi,
       As of my knowledge, there is no standard report which can fulfill your requirement. You may go for development. Please check the similar thread: Cycle count analysis report
    Regards,
    AKPT

  • How to find photos which have not been updated to the current Process Version?

    How can I search and/or filter to find photos which have not been updated to the current Process Version?  I would like to get a list of the photos rather than going through them one by one and looking for the lightening bolt.

    Thank you!  As my memory fades, it is good to know that my memory is backed up with you and others on this forum!

  • I accidentally set up two accounts.  One account with my old e-mail address which I've been using for years and has all of my purchases on it.  Now I have a new account with my current e-mail address. How do I disable this new account?

    I accidentally set up two accounts.  One account with my old e-mail address which I've been using for years and has all of my purchases on it.  Now I have a new account with my current e-mail address. How do I disable this new account?  I need to disable the new e-mail address account so that I can add it as an additional e-mail to my old account.  THEN, how do I make this new e-mail address my primary e-mail for this old account?

    Did yoo go to Settings>iTunes and App Stores and sign out and sign back in?
    Next see:
    Frequently Asked Questions About Apple ID

  • My itunes store account it still active but its declining my visa account which i have been using for a while to download apps

    My itunes store account it still active but its declining my visa account which i have been using for a while to download apps

    My experience in this situation has been that's it's related to the visa card, and not necessarily the phone or the iTunes store.  In addition to verifying all of the credentials on the card as entered, I'd also check with you card bank and see if they have declined the charges due to some type of security concerns.  I have a Chase card, and they will decline a charge even though there are sufficient funds available, if the charges meet some security screening criteria. 

  • I am trying to sync music from my iTunes library on my iMac to my iPhone. I only want selected music but I'm getting unwanted songs. How can I delete those songs on my iPhone or how can I prevent these unwanted songs that have not been selected from appea

    I am trying to sync music from my iTunes library on my iMac to my iPhone. I only want selected music but I'm getting unwanted songs. How can I delete those songs on my iPhone or how can I prevent these unwanted songs that have not been selected from appearing on my iPhone? Help!

    http://support.apple.com/kb/HT1296

  • Am I able to view the text message log through Verizon Mobile? I can view it from my computer, but have not been able to locate it on Verizon Mobile from my phone.

    Am I able to view the text message log through Verizon Mobile? I can view it from my computer, but have not been able to locate it on Verizon Mobile from my phone.

    The logs are only available through the desktop version of My Verizon.

Maybe you are looking for