Lot number generation when ever GR is done

Dear All,
As there is a requirement like Lot number generation when ever GR is done.
For each material Lot Number is defined by the client.
And there is partial receipt of Goods.
Whenever you do GR system automatically generates Lot number.
So we need when ever we do GR system should generate Lot number once the
Lot size as defined is completed.
Regards,
Veeresh

When a material is batch managed, and you do GR, either you specify the batch ID, or, if not, system will generate one. There are some exceptions, like when you do GR from production order, and have created the batch ID in advance in the order.
Otherwise, if you want to have some kind of private logic of the kind, you'll need to employ a user exit.

Similar Messages

  • Problem on forms for serial number generation with last record next_record.

    Hi Experts,
    currently i'm facing one problem like :
    i'm populating one receipt detail in Multi block , like when user key in one receipt number that time record should go in first record ,and if they key in second receipt number then record should go in second record . mean to say every time record go in last record ..but the problem is i want to generate Serial no correspondence to every last record ..
    here is my approch :
    cursor c1 is
    select * from table
    where cname =:blk_name.clm_name.
    Last record;
    next_record;
    for v1 in c1 loop
    processed record;
    next_record;
    end loop;
    last_record;
    go_block(___);
    first_record;
    :sno := system.cursor_record ;
    next_reocrd;
    end loop;
    first_record;
    And in block level i'm writing code for Serial number generation when user key in manual entry for receipt detail:
    :blk_name.coulumn_name := :system. cursor_record;
    so in this approach their is no problem it is working properly but the problem is that
    when user fetch one receipt automatically and then after he want to enter next record manually and he decided to go in detail block ,
    and once he reached in detail block that time block level trigger i firing .ans serial number 2 generated and then suddenly he came to know no i want to fetch next record automatically mean to say now user going again master block and fetching next receipt detail ,
    but the problem is when user leaving seccond sr no and going in master block and population next receipt detail that time cursor going on 3 record
    but logically have to replace the second Serial no and generate the again serial number 2 record population .mean to say its not refreshing last_record..
    so i'm appreciating is anyone if came accoross this type of issue please corrrect my code and send updated code ..plsssssssssssssssssssssssssssssss
    Thanks
    Abhishek
    [email protected]

    hi
    I put this below code on when_new_record_instance on block level..
    :blk_name.column_name :=system.cursor_record;
    so can you please help me.....
    Thanks
    Abhishek

  • My iPod touch 4 generation 32gb sometimes is really slow and when ever I get on a app it will shut it down. My lock botton is broken and I use the accesery botton to lock it. That being said I can't power down my iPod. I need help, I don't know what to do

    My iPod touch 4 generation 32gb sometimes is really slow.When ever my iPod is being slow and I get on an app the app will shut down. My lock botton is broken and I use the accesery botton to lock it. That being said I can't power down my iPod. I need help, I don't know what to do! Could you tell me how I can power down my iPod or how I can fix the slowness and the shutting down of the apps.

    - Periodically double click the home button and close all the apps in the recently used dock. Then power off and then back on the iPod. This frees up memory. The 4G only has 256 MB of memory.
    - Next, reset the iPod
    To reset the iPod without the hardware buttons,
      Reset network settings: Settings>General>Reset>Reset Network Settings. All your wifi and bluetooth preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected. You will have to rejoin wifi networks and repair BT devices
    Then you can try:
    - Restore from backup. See:                                                
    iOS: How to back up                                                                                     
      - Restore to factory settings/new iOS device.

  • How can I get the apps that I paid for on iTunes and the app store I don't have a computer I paid for them using my ipad and everytime I try to redownload them it asks for my card number and when I put the number in it tells me that the number is not a wo

    Ok can anyone tell how I can get the apps that I paid for on iTunes and the app store using my I pad because I don't have a computer and when I try to redownload the apps it keeps asking me for my card number and when I give it my card info it says that it's an invalid number when I know that it's not

    If you are getting an 'invalid security code' message then is the address on your iTunes account exactly the same (format and spacing etc) as on your credit card bill : http://support.apple.com/kb/TS1646 ? If it is then you could try what it says at the bottom of that page :
    If the issue persists, contact your credit card company and verify that they and any company they use to process credit card authorizations have the correct information on file.
    And/or try contacting iTunes support : http://www.apple.com/support/itunes/contact/ - click on Express Lane, then iTunes > iTunes Store

  • When ever I try to watch any video, from a link or YouTube say, using Firefox, I get a message 'An error as occurred. Please try again later'. It has been this way for some weeks. I don't have this problem using Safari or Opera.

    When ever I try to watch any video, from a link or YouTube say, using Firefox, I get a message ‘An error as occurred. Please try again later’. It has been this way for some weeks. I don’t have this problem using Safari or Opera.

    I believe that our “Werbung problem” adds an additional second hyperlink to the pop-up window. This second link is activated whenever you trigger a saved hyperlink to a Mail.com site.
    I had the same problem and eliminated it by deleting all bookmarks, hyperlinks and automatic links that take firefox to a mail.com address. So I just deleted all bookmarks I had saved for mail.com. I also changed my home page link because it also went to my email at mail.com. I then did a warm boot, opened firefox and re-saved my bookmarks and homepage to the desired addresses. Good luck.

  • When ever i click a picture in photo booth it does not automatically update its content is this a bug or i don't know how to do it?

    when ever i click a picture in photo booth it does not automatically update its content is this a bug or i don't know how to do it?
    whenever you click a picture in photobooth you have to manually insert it one by one in iphoto
    i want to know is there any other option in iphoto which can do this type of thing(adding pictures automatically to iphoto )
    so that i do not have to do it manually

    Once you take the photo with Photo Booth, select the photo in the tray at the bottom and click on the iPhoto button just abouve and to the left:
         Click to view full size
    That will import the photo into iPhoto automatically.  But PB does not import any and all photo taken into iPhoto automatically.  That choice is left to the user.
    OT

  • Increment the number with date/time string. when ever the next date come's it should reset again with initial number

     i want to store the number of records in a file. Every time when ever i run the program the record will be incremented well i using forloop with count value 1 as a constant .in the for loop i am using autoincrement with the  feedback node . to view the number i have attached the indicatator .the number will be increment every time . i am using number to time time stamp  that is connected to get date/time string. from that we can view the date string and time string . so , my issue is when ever i close the code again it is coming with intial value . i should get from that number only where ever i close the code . after the date completed again it should come from intial value . i am attaching the code so that u guys can solve my problem.
    Attachments:
    record.doc ‏34 KB

    here you can see.......the file path in case structure in that i have included my requirement of increment the number 
    -> if the case is true then it goes in ok file path and the no of records string will pass in the file by seeing these code u will get the clarity
    my requirement is the number of records should increase ........ whnever the program runs...that i made it. by the next day again it should begain with the intial value.........that is my requirement. i hope u understand .
    suggest me how can i use the  intial  value .......
    Attachments:
    code.vi ‏35 KB

  • In ALV  I need to color the records when ever material number changes

    Hi ,
    I need to color the records in alv when ever the material changes.
    for ex : I have 10 records .
    1 to 3 records same material number so yellow color
    4 to 8 records same material numberso blue color
    9 to 10 recrods same material number  so yellow color.
    Please do the favour..
    thank you.
    karthik.

    Hi,
    Have one more column in the final table as
             ROWCOLOR(4),              "reqd only if row is color
    Do the coding like this.
    Keep canging the Row number to get different colors. Like C410 etc.
      LOOP AT T_FINAL.
        IF T_FINAL-NUMBER = 'XXX'. " <b>Do your comparison operation here</b>.
          T_FINAL-ROWCOLOR = 'C510'.
          MODIFY T_FINAL TRANSPORTING ROWCOLOR.
        ENDIF.
      ENDLOOP.
    Also modify the layout giving the field as
    DATA : W_LAYOUT TYPE SLIS_LAYOUT_ALV.
      W_LAYOUT-INFO_FIELDNAME = 'ROWCOLOR'.
    Hope this helps you.
    Regards,
    Subbu.

  • I don't know why but  I create a WEB site and my friends who use a pc windows, have a lot of trouble when they open my movies.  The other friends who use Apple, they don't have problem.  I have iMovie11 and my extension file is .m4v.  Is it because the ex

    I don’t know why but  I create a WEB site and my friends who use a pc windows, have a lot of trouble when they open my movies.  The other friends who use Apple, they don’t have problem.  I have iMovie11 and my extension file is .m4v.  Is it because the extension .m4v is bad for windows ?

    No web site expert here but I would suggest changing the .m4v to .mp4 and ask one of those friends if they still have problems.  .m4v is something I always associate with iTunes and don't really see it used elsewhere.

  • I have an old ipod touch 3rd generation and when ever i open it , it doesn't open or it turn blank, if i click on the home button and the power button to do the reboot it works but when i remove my finger it close. i can acced the ipod from the cpu but no

    i have an old ipod touch 3rd generation and when ever i open it , it doesn't open or it turn blank, if i click on the home button and the power button to do the reboot it works but when i remove my finger it close. i can acced the ipod from the cpu but not from the actual device

    Try:                                               
    - iOS: Not responding or does not turn on
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable
    - Try on another computer                            
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

  • When ever link any link on a web page many popups are opening. I don't get popups or adds when I use chrome or IE. Really frustrated with Firefox.

    Fire fox current version very frustrating and allows losts of ads and popups. When ever I click on any link from a web page ( any web page) i get a pop ups from ads like jabong, etc. I use the url of the same web page in chrome or IE I do not get such popups. It also crashes often.
    The only way to get rid of this is to get use to Chrome or some other browser.

    vksh89, What Extensions do you have installed as there are a few that can insert ad links on pages for example.
    Also if Firefox is your default browser something on computer may be targeting it.

  • Hello my name is Vittorio about 2 years agoi've bought an student teacher licensed cs6 master collection, which worked quite well until recently. I don't know why but now it quit working, and keeps asking for my serial number. When i enter my serial numbe

    Hello my name is Vittorio. 2 years ago i've bought the CS6 master collection which has worked perfectly until recently.
    Now i keep getting the question to enter my serial number and when i do that i get the Invalid reaction. But it is the same number that worked before! What can i do to make CS6 work again?

    Hi Vittorio,
    We would like to know if you have re-installed your product on this machine. We would also like to know your OS version.
    Meanwhile, try:
    Error "The serial number is not valid for this product" | Creative Suite
    Invalid serial number error
    Error "Invalid serial number" | Acrobat 9 | CS4
    -Atul Saini

  • Process Order Batch number generation at the time of order creation

    Dear All,
    I m facing some issue at the time process order creation:
    Current Settings:
    1. Batch Number Creation at the time of order create.
    Reason for this setting: Release of order is done  by releasing operations one by one, therfore batch number will be generated on the final operation release, thats why we set up batch creation at the time of order create.
    2. For FG batch number generation there is a program that copy the SFG(in Order BOM) Batch number to FG. ITs a industry requirement.
    Problem:
    when we create FG order system generate the error message at the time of order creation tht No batch could be determine.
    Please suggest the solution
    Thanks,

    Hi
    Hope you have cretaed Batch serch strategy in COB1
    U need to maintain it as per your strategy type.

  • Lot Number API

    Is there an API to insert lot numbers - we want to insert the lot number assigned at to the Discrete Job and the associated part number into the MTL_LOT_NUMBERS table - to have this table show all part/lot relationships -
    Currently the lot number associated with and item on a discrete job is not added the MTL_LOT_NUMBERS until a WIP Completion transaction is done, we would like to see all lot numbers in this table -
    we want to be able to print labels in MWA for the Item on Discrete Job with the lot number before a completion transaction is performed -we need to label product on the production floor as it moves between operations on the job. - we want some validation that the label is being printed for a valid part/lot combination - just as the list of lot on hand is presented when printing a a label.
    any other ideas would be appreciated
    Thanks
    Pam

    DECLARE
    x_object_id NUMBER;
    x_return_status VARCHAR2 (1);
    x_msg_count NUMBER;
    x_msg_data VARCHAR2 (4000);
    x_expire_date DATE;
    BEGIN
    fnd_global.apps_initialize (1007921, 20634, 401);
    inv_lot_api_pub.insertlot (p_api_version => 1
    , p_init_msg_list => fnd_api.g_false
    , p_commit => fnd_api.g_false
    , p_validation_level => fnd_api.g_valid_level_full
    , p_inventory_item_id => 11816
    , p_organization_id => 204
    , p_lot_number => '001'
    , p_expiration_date => x_expire_date
    , x_object_id => x_object_id
    , x_return_status => x_return_status
    , x_msg_count => x_msg_count
    , x_msg_data => x_msg_data
    dbms_output.put_line ('x_object_id :' || x_object_id);
    dbms_output.put_line ('x_return_status :' || x_return_status);
    dbms_output.put_line ('x_msg_count :' || x_msg_count);
    dbms_output.put_line ('x_msg_data :' || x_msg_data);
    END;
    Thanks
    Nagamohan

  • Want to pick perticular serial / Lot number from MSCA

    Want to pick perticular serial / Lot number from MSCA for WMS enable organization. The problem, which I am facing, from MSCA it is automatic taking the first serial number. And when, I am running pick release with Auto Allocate as No , the corresponding WMS task is not getting created.
    Any help will be appreciated.

    I have a similar problem. I am trying update the lot for an existing serial number and it doesnt work. If you set the lot for a NEW serial number then it does work. But if that serial number ever existed in OSRI it doesn't seem to work

Maybe you are looking for

  • How to stop iTunes from adding songs to library automatically???

    I love iTunes and almost everything about it. Pretty much the one and only complaint with it is that every time I download a music file (not to my music folder), iTunes can be completely shut down, but starts up and adds the file to my library. I dow

  • Problems with Mini Display port to VGA Adapter (A1307)

    This has never worked, at the moment of truth, when we plug in, in front of client. SOmetimes their tech guys fiddle with display settings etc, but to no joy. So, a) should it just work straight way with no changes to settings etc and b) how do I kno

  • Mail Attachment from KM

    I have some trouble to send a File in a Mailattachment from KM. The Mail has a Attachment with the correct name of the file, but the File on the Mail is empty. Hier is the code: //Init Session session = Session.getInstance(props, new javax.mail.Authe

  • Safari crash when using HTTPS through ISA 2006 proxy

    Hi, I have been struggling for a few days (well, since I got Leopard) with a problem that I have finally reduced to a being solely related to using an ISA server 2006 as an HTTPS proxy. It works fine with a 2004 proxy and it works fine through HTTP o

  • Spry-ied div still on top of other elements even when faded-out

    i have a <div> with applied Spry.Effects.Fade, so when i click a button, the <div> shows up, when i click the button again, the <div> "disappears" thru fade. the problem is that the <div> is just "hidden", meaning it's still on top of the other eleme