Expiration date

Hi,
For an item with serial number maintained with expiration date alert should be set 3 months before to the user.
Can u please help me what is the query i have to write in this regard.
Thanks,
Varalakshmi.

Refer this thread
[inventory ageing for Batch management item|Inventory ageing report;
Modify the Query in the replies in the thread as per your requirement

Similar Messages

  • How can I display the password expiration date for a user

    I have created a GUI (using PrimalForms) which runs powershel scripts to pull information like user ID, email address, last logon ec. for the helpdesk to help establish the validity of some user claims of "it worked yesterday" and the like.
    I have been asked to add the password expiration date, but I am struggling to get the code for this addition.
    Does anyone know how I can include this, and have it in a human readable format?
    The current scripts (there are 3) allow the helpdesk staff to search on user ID and display name, the third provides the last logon, it was impossible to include this in the other scripts so I added an extra search button and called it good. An example of
    these scripts is below (please note, PrimalForms needs a slightly different syntax in order to get the results displayed, but the core script is standard PS, I use Powershell 3.0)
    $results.Text=Get-ADUser -Filter "sAMAccountName -eq '$($EntryBox.text)'" -Properties DisplayName, sAMAccountName, mail, extensionattribute5, PasswordLastSet, PasswordExpired, PasswordNeverExpires, buMemberOf, telephoneNumber, msExchOmaAdminWirelessEnable, whenCreated, whenChanged, enabled, AccountExpirationDate | select givenName, surname, DisplayName, sAMAccountName, mail, extensionattribute5, PasswordLastSet, PasswordExpired, PasswordNeverExpires, buMemberOf, telephoneNumber, msExchOmaAdminWirelessEnable, whenCreated, whenChanged, enabled, AccountExpirationDate | Out-String
    $results.Focus()
    for info:
    $results.text is the window in the GUI results are displayed  in
    $entrybox.text is the text box the helpdesk staff use to input the user ID or display name of the account they are querying
    $results.focus simply tells the script to put the results in the results.text window
    The screenshot below shows the current setup, this is purely to put the above information into perspective. Obviously some of the information displayed has been removed/redacted along with our logo.

    Hi,
    Here's an example you can build from:
    $maxPasswordAge = 120
    Get-ADUser USER -Properties PasswordLastSet |
    Select SamAccountName,
    PasswordLastSet,
    @{N='PasswordLifeRemaining';E={$maxPasswordAge - ((Get-Date) - $_.PasswordLastSet).Days}},
    @{N='PasswordExpirationDate';E={(Get-Date $_.PasswordLastSet).AddDays($maxPasswordAge)}}
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • How To Change Default Expiration Date for Portal User in Linux and Windows?

    Hello,
    I have a couple of environments I recently installed:
    1. Oracle Application Server 10 Release 2 (10.1.2) SEOne on Windows
    2. Oracle Application Server 10g Release 2 (10.1.2) Enterprise Edition on Linux
    I heard the portal and orcladmin user passwords will expire in about 60 days. I want to prevent this from happening. How can I set the expiration date to never expire for both these users? Or at least give me some warning?
    I heard that you can do this through the Oracle Directory Manager. However, I am unsure as which server to enter on the field. I've used the following:
    <servername>.hostname.com/389
    <DBname>.hostname.com/389
    They say 389 is the default port. Since I did not really
    Does anyone have any ideas?

    You have the answer in yours hands:
    Search for "60 days" in the forum
    How can I enfore Password Expiry Without Lockout?
    for instance.
    For the servername, it's the name of your server and the port is depending of your platform (have a look to $ORACLE_HOME_INFRA/install/portlist.ini) and
    chech the value for: Oracle Internet Directory port
    Patrick.

  • HT1657 How can I delete a rented movie from my ipad before its expiration date?

    How can I delete a watched rented movie from my Ipad before its expiration date?

    Hello, K M Cartwright. 
    Thank you for visiting Apple Support Communities. 
    You definitely can delete the movie prior to the expiration date.  However, the movie will automatically disappear from your iTunes library 24 (or 48) hours after you've begun viewing it.  Here are the steps on how to delete iTunes media. 
    How to delete content you've downloaded from the iTunes Store, App Store, iBooks Store, or Mac App Store
    http://support.apple.com/kb/HT5772
    Cheers,
    Jason H. 

  • I just buy iPhone4 first hand on Jan 07,2013 but the warranty expire date How can i check for the date of production?

    I was bought iPhone4 16 GB on Jan 07, 2013 from online shop from Laos they told me that this iPhone from Apple in Hongkong (first hand) but I check for the warranty is already expire date. What should we do? I want to know about my iPhone4 first hand or second hand. How can i check?

    This will show you warranty status and give you an idea
    of when originally sold:
    https://selfsolve.apple.com/agreementWarrantyDynamic.do

  • HT201209 I don't see an expiration date on my ITunes gift card?

                   WHERE IS THE EXPIRATION DATE ON MY ITUNE GIFT CARD?

    In iOS 5 - the iPod app became the Music App. I assume that is what you are looking for. You can access your shared library in the Music App in the More button at the bottom of the App.
    If you are talking about the settings - go to Settings>Music>Home Sharing and enter your ID and password.

  • Alert based on Batch Expiration Date

    Scenario:
    Batch Managed Items
    Type: for every transaction
    Goods receipt PO >  Batch setup window > "Expiration date" ( activate expiration date field from form settings)  > set date
    Requirement:
    An alert to be sent to the purchase dept. user 10 days prior to the defined "expiration date"  (in the batch setup window)
    vijay
    Edited by: SU Vijay on Oct 6, 2008 3:42 PM

    Use this query
    SELECT T0.[ItemCode], T0.[ItemName],T0.[BatchNum], T0.[WhsCode],
    T0.[ExpDate],datediff(dd,getdate(),T0.[ExpDate]) as 'Days to Expire'
    FROM OIBT T0  where datediff(dd,getdate(),T0.[ExpDate]) =10

  • How to set dynamic expiration date in User Task

    Hi
    I need to set the expiration date of a User Task to a specific date, not a duration. Is it possible to do this?

    I have also got a smiliar problem. Does anyone have any further information to how this can be achieved?
    I have been able to use the Human Task Wizard screen (<usertask>.task) to hard code the expiration time. Using the Fixed Duration option of days, hours or minutes. I have tried to use the 'By Expression' to do this but have been unable to get it to work. I have tried to select the /task:task/task:systemAttributes/task:expirationDuration or the /task:task/task:systemAttributes/task:expirationDate element within the task workflow xsd but are unsure how to get it to read the date. I have tried to assign a time component to expirationDate and a time period P0DT0H20M to the expirationDuration element.

  • How can I set an expiration date on a pdf in adobe acrobat 9?

    I am trying to set an expiration date for some documents, I have tried to use several javascript methods with no success. My adobe skills are very minimal so the easiest way possible would be appreciated.

    Acrobat can act as a client to the LiveCycle DRM encryption system but you must have an existing account on a LiveCycle ES/ES2/ES3 server with the Rights Management module activated. That requires you either license a copy from Adobe or work for someone who already has it running and who can issue you an account.
    LiveCycle ES3 is an extremely powerful enterprise-class solution for document creation and publishing, designed for use by hundreds or thousands of employees. To say it's not cheap is somewhat of an understatement, and the Rights Management module is an optional extra.

  • Removing a mailbox expiration date/time

    Anyone know what value to specify to remove a mailbox expiration date/time?
    If I remove the value via C1, then the value returned by the Admin API as a
    64 bit real number is 0 representing 30/12/1899 0:0:0. However, setting this
    value results in C1 displaying an expiration date/time in 1943. What does
    work on my system (GW 7.0.3) is to specify 1-Jan-1970 13:00:00 but that does
    not work on other systems, possibly suggesting the value to specify is
    timezone dependent, although experimentation along those lines has so far
    proved unsuccessful.
    TIA, John

    I did eventually get an answer from Novell on this. Removing a mailbox
    expiration date has not been supported, but supposedly is from 8.0 SP1
    onwards where a value of zero should do the job.
    John
    "John Baird" <[email protected]> wrote in message
    news:IRNQl.1491$[email protected]..
    > Thats not working here. If I pass in a date/time of 1/1/70:0:0:0 C1 shows
    > 31/12/69:23:00:00. The only date/time that removes the expiration
    > date/time here is 1/1/70:13:00:00. Oddly, aside from that specific
    > date/time C1 1.3.6h, shows any date/time earlier than 15/3/70:2:00:00 as
    > one hour ealier than I specified. The value 1/1/70:13:00:00 does not
    > appear to work elsewhere. If I treat it as 1/1/70:00:00:00 + GMT offset +
    > 1 hour (our GMT offset is +1200), the corresponding value does not work in
    > other timezones. Frustrating ...
    >
    > Thanks for responding.
    > John
    >
    > "Tommy Mikkelsen" <[email protected]> wrote in message
    > news:qNHQl.1439$[email protected]..
    >> Not sure, but beleave you should set it to Unix Start Date...
    >>
    >>
    >> --
    >> Tommy Mikkelsen
    >> IT Quality A/S, Denmark
    >> Novell Support Forums SYSOP
    >>
    >> Sorry, but no support through email
    >> Be a GroupWiseR, go http://www.groupwiser.net
    >
    >

  • Terms of payment expiring date

    Good morning,
    I have some terms of payment that require an expiring date  for  master data, order and invoice.
    Do you know if there is a way to do this without  creating a customer table  end use it in  all the user exit   for master data, order and invoice ?
    many tanks !!!

    any suggestions?

  • How can I check the expiration date of a Certificate Keychain from terminal?

    Hello, I am writing a bash script to alert me when my corporate certificates are about to expire. How can I check the expiration date of a certificate in keychain? I'm running Mac OS 10.6.8 on a newer MacBook pro with full admin rights.
    Specifically I will be checking three certs: a Root Authority, Issuing Authority, and a user cert (Identity).
    I was exploring the Security and Openssl command line tools. But I can't seem to get the info I need.
    Any recommendations would be appreciated.
    Thank you!

    Anyone?

  • How can I add an expiration date to a pdf file?

    How can I apply an expiration date to a pdf document in Acrobat Pro X? Can this be done in Acrobat XI?

    Read this:
    http://forums.adobe.com/thread/1085319?tstart=0

  • Password expire date back to 2011 from 2012  after assigned  a user profile

    Friends,
    I created a profile test as
    COMPOSITE_LIMIT UNLIMITED
    SESSIONS_PER_USER UNLIMITED
    CPU_PER_SESSION UNLIMITED
    CPU_PER_CALL UNLIMITED
    LOGICAL_READS_PER_SESSION UNLIMITED
    LOGICAL_READS_PER_CALL UNLIMITED
    IDLE_TIME 60
    CONNECT_TIME UNLIMITED
    PRIVATE_SGA UNLIMITED
    FAILED_LOGIN_ATTEMPTS 5
    PASSWORD_LIFE_TIME 120
    PASSWORD_REUSE_TIME           60
    PASSWORD_REUSE_MAX           30
    PASSWORD_VERIFY_FUNCTION NULL
    PASSWORD_LOCK_TIME 1
    PASSWORD_GRACE_TIME 7;
    the user default profile default PASSWORD_LIFE_TIME is 180 and password expired date is 1/7/2012. the test account was created in 7/11/2011.
    Now I assign test user to test profile successfully.
    However. expire date becomes 11/8/2011 1 from 1/7/2012 by select dba_users
    which wrong is in my profile or somewhere?
    As I think, the account password expired should be start after assigned new profile with PASSWORD_LIFE_TIME. but is seems expire date is start from original account created date.
    Thanks
    newdba
    Edited by: Oradb on May 24, 2012 1:56 PM

    I would think the expire time would be based on the last password change time which Oracle stores in the rdbms base table for user information (user$). Find a second user, alter the password, check the expire date, then assign the user to the new profile, re-check the expiration date. Post back. Behavior may vary between releases so include full Oracle version of test.
    HTH -- Mark D Powell --

  • Insert document expiration date in a Word template

    Hello all,
    I have a problem I hope anyone can help me with. I need to include a column in Document Library with the Document expiration date and after that, include that expiration date into the Word templates I have in that library.
    In order to do that, I created a date column (not a calculated one) called "ExpDate" with a default value of Today + 365 as I want the document to expire one year after its creation. After that, I edit the word templates I have associated to the
    document library so as to include the new "ExpDate" column as a Quick part.
    The problem I find is the following: When I create a new document based in the document templates (through content types), the user has the chance to insert an expiration date (as it is metadata) or leave it empty (the column is not defined as mandatory). If
    the user leaves the expiration date empty, the new column is filled with the default value (today + 365 days) but when I open the word document I see the name of the column [ExpDate] instead of the default value.
    Is there a way of forcing the document information panel to be filled with the default value?
    Do you imagine an alternative solution to the requirement of including the expiration date inside the document without having to be defined by the user?
    Thanks a lot.
    Regards.

    Wordsub.llb should be somewhere in your Labview folder on your local drive. The path to it in my install is: C:\Program Files\National Instruments\LabVIEW 8.6\vi.lib\addons\_office\_wordsub.llb
    Also what specific problem are you referring to about 17 bookmarks? Is that the limit on the express style VI for filling them in from LV? If so what you will need to do is to use the lower level function 'Word Insert Field' under Word Advanced VIs. You will need to supply the VI the name of the bookmark and the text you want to insert.

  • Create a pdf document with an expiration date.

    as I can do to make the pdf document has an expiration date, starting from the date in which it has fallen.

    Actually, it can be done with JS, but it is far from a secure solution and there are various ways a user can get around it (download a new copy of the file, disable JS entirely, change their local time, etc.), so yes, for a real solution you'll need to use DRM technology.

Maybe you are looking for

  • Where are brightness and volume in percentage ?

    Hi, i'm configuring conky and i don't see where are brightness and volume. I found temperatures in /sys/class/thermal/thermal_zone0/temp, but i didn't find brightness or volume, i tryed find it via checking keyboardkeys, but i think i have controllin

  • PSD file placing in to indesign

    I can not place psd spot colour files into indesign

  • Dynamically updating Midlets

    Hi, I have made a Midlet which displays images on the mobile phone.(Packed the images into the Jar file) I want to dynamically update the images often. Is there an option of dynamically updating the images, when the application is live on the mobile?

  • How to Close Adobe Pdf Runtime

    Hi, I am using the Adobe PDF Runtime to Print the *10g Report* Directly to Printer. It's Is Working Fine. But After giving Print Option , The Adobe Runtime Still Running. Manually we need to Close that runtime window, then only the control come back

  • GR (MIGO) Non Deductible Tax Calculation

    Hi Experts, I have a requirement from my client to show a separate line item for non claimable tax "NAV" during GR (MIGO) But, during testing the accounting document did not even calculate the tax and show the separate line item for tax. Can anyone a