How do you add Serial Number in Sales AR Invoice

How do we add Serial Numbers in AR Invoice.What is the query. Can anybody guide me with the procedure.

Sanjay,
The sql sample I have given is to demonstrate the use of functions and not the exact SQL to be used for your requirement. BP Contacts is not relevant for you.
Serial numbers by default print on a seperate sheet along with the Invoice if your business process is Sales Order > Invoice (without the delivery step)
If you process involved the delivery step, then the serial number will be printed on a seperate sheet along with the delivery.
The $\[$ is SAP's syntax to dynamically use Form values in your queries. 
To understand the usage of this you need to completely understand about formatted seaches.
I was suggesting the usage of functions so that when you add the Invoice, the function would go to the OSRI and SRI1 tables and go in a loop to gather all the Serial number and add them to the User field which can be later printed on the PLD.
Suda

Similar Messages

  • How to know , when serial number in sales order is changed ?

    Hi All,
    I am changing Sales order line item serial number. So the equipment number and Serial number both are changed for that particular line item. But I am unable to know, what was the last Equipment number, and Last serial number for that material of sales order line item.
    Can any one please help me, how to determine the details about the date and time of change of serial number of a particular sales order line item ?

    I have already checked for VA02 -> Line item -> Environment ->changes.  It show changes related to fields available in VA02.
    But it is not showing changes related to Serial number change.
    I have also checked with table CDHDR, CDPOS. But the data related to change in serial number of SO line item is not captured in those tables also.
    Is there any other way to know?

  • How do you find Serial Number

    I lost my iPhone two days ago, I need to Serial Number or IMEI number in order to track it, but is there a way to find the serial number without the iPhone? I tried the iTunes way and it does not give me the serial number. Can I find the serial number through my Apple account,  find my iPhone, apps purchased, anything?? I called Apple and they can't help me unless I provide them with the IMEI number at least, which I also do not know how to find. Any suggestions?
    Thank You.

    The only ways to find a serial number without having the iPhone are by looking at the iTunes backup or on the packaging. If you don't still have the box and you didn't make a backup in iTunes or it doesn't show the serial number - see:
    http://support.apple.com/kb/HT4061
    then I know of no way you'll be able to get the serial. It will not be shown in your iTunes Store nor in iCloud.
    Regards.

  • HT4061 How do you find serial number if your device is stolen?

    My device was just stolen today, and I need to lock it so the theif can't get to my information.  How can I find the serial number if I don't have the device?

    You don't need the serial number. Go to http://icloud.com, log in, and lock or erase the device from there.
    Matt

  • How do you install serial number?

    Reinstalling PSE 8. Only 6 spaces provided for entering serial number. Number is much longer. How to proceed?
    gentihomme

    Hi gentihome,
    Make sure you are using the right serial number on the right installer.
    Please give me the serial number and I will check if it's right or not.
    Send me a private message. Do not post it here.
    If you dont know how to do that refer : http://forums.adobe.com/thread/1184148

  • How do you retrieve serial number for CS4? No product info available in my account.

    So I own CS4 and I recently backed up my computer and wiped clean of all files and applications and restored it back to factory settings.  I forgot to uninstall my software unfortunately but now I can't reinstall because I don't have my serial number.  I went into my adobe account and looked up the my products section and there is nothing there.  How can I retrieve a serial number so I can reinstall? thanks.

    adobe will only have your serial number if you purchased and downloaded your software from them.  also, you must use the same adobe id used to make the purchase and check your account.
    they might also have it if you registered your software with them.  otherwise, they won't have it.
    Find your serial number quickly

  • How do you implement serial number generation and/or paypal integration?

    Hi,
    perhaps this question is a bit of topic. But have you ever thought about this point or even better do you have an solution for this?
    Rgds - Wilko

    The only ways to find a serial number without having the iPhone are by looking at the iTunes backup or on the packaging. If you don't still have the box and you didn't make a backup in iTunes or it doesn't show the serial number - see:
    http://support.apple.com/kb/HT4061
    then I know of no way you'll be able to get the serial. It will not be shown in your iTunes Store nor in iCloud.
    Regards.

  • How can you find serial number on mac mini running bootcamp Windows 7?

    I am using a Mac mini and it is running bootcamp Windows 7, and I want to be able to look for the serial number using the Windows 7 side without booting up to the Mac OSX partition. can anyone help me out with this?

    I don't think there is a way to get the Mac serial number in Windows. You could carefully lift up the Mac and look at the printed serial number on the outside of the Mac without having to turn off the computer, otherwise it would be necessary to boot in to Mac OS X.
    If you still have the physical packaging the Mac came in the serial number would also be printed on that.

  • How do you add small number references (like footnote numbers) in Keynote

    Hi,
    I want to number various points in the text – 1, 2, 3, etc and will reference them on the last page. I can't find those little numbers.

    OK you mean superscript;
    type in the number reference, select only the number
    the inspector should show format > text > style
    in the Font section, click the options button (it looks like a gear wheel)
    in the baseline dropdown menu; select superscript

  • How to find macbook serial number

    How do you find serial number for stolen macbook?

    Look on the Box in was bought in.
    check your support profile:
    https://supportprofile.apple.com/homePage

  • Adding serial number in A/R Invoice

    Hi Experts,
    I am with a problem.I have 1 Records in the Database Table..In My SDKCode,Based on the Invoice Object I am adding the database tables values to the A/R Invoice LinesItems (itemcode,itemdescription,Taxcode,Quantity,Unitprice and serial number).When I am Updating, i am encountering an error "Cannot add row 1 without complete selection of batch/serial numbers"
    kindly guide me with this problem....and how we can insert serial number in A/R Invoice for a item carrying serial number
    Regards
    Pradeep
    Edited by: Pradeep.grd on Feb 15, 2012 7:36 PM

    Hi Pradeep,
    You can try this code for batch and serial no management in A/R Invoice:
    oItem.GetByKey(sku);
    SAPbobsCOM.Recordset oRecordset = (SAPbobsCOM.Recordset)(oCompany.GetBusinessObject(BoObjectTypes.BoRecordset));
    if (oItem.ManageBatchNumbers == BoYesNoEnum.tYES)
    string sqlstr = string.Format("SELECT sum(Quantity) FROM OIBT WHERE ItemCode = '{0}' AND STATUS = 0", oItem.ItemCode);
    oRecordset.DoQuery(sqlstr);
    if (!oRecordset.EoF)
    if (lInvoice.Lines.Quantity <= Convert.ToDouble(oRecordset.Fields.Item(0).Value))
    iRequired = lInvoice.Lines.Quantity;
                                                iAvailable = 0;
                                                iLineNo = 0;
                                                sqlstr = string.Format("SELECT * FROM OIBT WHERE ItemCode = '{0}' AND STATUS =                      0",oItem.ItemCode);
                                                oRecordset.DoQuery(sqlstr);
    while (!oRecordset.EoF)
                                                    if (Convert.ToDouble(oRecordset.Fields.Item("Quantity").Value) >= iRequired)
                                                        lInvoice.Lines.BatchNumbers.SetCurrentLine(iLineNo);
                                                        lInvoice.Lines.BatchNumbers.BatchNumber = oRecordset.Fields.Item("BatchNum").Value.ToString();
                                                        lInvoice.Lines.WarehouseCode = oRecordset.Fields.Item("WhsCode").Value.ToString();
                                                        lInvoice.Lines.BatchNumbers.Quantity = iRequired;
                                                        lInvoice.Lines.BatchNumbers.Add();
                                                        break;
                                                    else if ((Convert.ToDouble(oRecordset.Fields.Item("Quantity").Value) < lInvoice.Lines.Quantity))
                                                        iAvailable = Information.IsNumeric(oRecordset.Fields.Item("Quantity").Value) ? Convert.ToDouble(oRecordset.Fields.Item("Quantity").Value) : 0;
                                                        lInvoice.Lines.BatchNumbers.SetCurrentLine(iLineNo);
                                                        lInvoice.Lines.BatchNumbers.BatchNumber = oRecordset.Fields.Item("BatchNum").Value.ToString();
                                                        lInvoice.Lines.WarehouseCode = oRecordset.Fields.Item("WhsCode").Value.ToString();
                                                        lInvoice.Lines.BatchNumbers.Quantity = iAvailable;
                                                        lInvoice.Lines.BatchNumbers.Add();
                                                        iRequired -= iAvailable;
                                                        iLineNo += 1;
                                                    oRecordset.MoveNext();
    else if (oItem.ManageSerialNumbers == BoYesNoEnum.tYES)
                                        sqlstr = string.Format("SELECT TOP {0} * FROM OSRI WHERE ItemCode = '' AND STATUS = 0", Quantity, oItem.ItemCode);
                                        oRecordset.DoQuery(sqlstr);
                                        if (!oRecordset.EoF)
                                            if (oRecordset.RecordCount >= lInvoice.Lines.Quantity)
                                                iLineNo = 0;
                                                while (!oRecordset.EoF)
                                                    lInvoice.Lines.SerialNumbers.SetCurrentLine(iLineNo);
                                                    lInvoice.Lines.SerialNumbers.SystemSerialNumber = Convert.ToInt32(oRecordset.Fields.Item("SysSerial").Value);
                                                    lInvoice.Lines.SerialNumbers.InternalSerialNumber = Convert.ToString(oRecordset.Fields.Item("IntrSerial").Value);
                                                    lInvoice.Lines.WarehouseCode = Convert.ToString(oRecordset.Fields.Item("WhsCode").Value);
                                                    lInvoice.Lines.SerialNumbers.Add();
                                                    iLineNo += 1;
                                                    oRecordset.MoveNext();
    Edited by: utpal_maity on Feb 16, 2012 7:12 AM

  • How to enter serial number for sale order line  which is in shipped status

    Hi All,
    We have 2 different items which are defined as Serialized at Sale order issue at item definition.
    In one sale order,User has forgot to add serial number to one of the item at Ship confirm stage.
    He has entered serial number correctly to other item.
    Now the both Sale order lines are in Shipped status if we view them through Shipping>transactions.
    I am technical guy and new to OM.Could you please let me know the process to enter the serial number for the item to which user has missed it
    Thanks,
    Satya

    Hi Satya,
    Since the item is already shipped, you cannot enter serial number for this line.
    you have to enter serial numbers after pick confirm only.
    check this note
    How to Enter Serial Numbers in the Shipping Transactions Form [ID 1235403.1]
    As a workaround for the previous lines do RMA and try to receive the goods back to your subinventory.
    For all new transactions follow the above notes.
    Thanks
    -Arif.

  • HT3529 how do you add another person to your messages if they dont have a number.

    how do you add another person to your messages if they dont have a number.

    Never mind, disregard.  I went in and reset my password to my AirPort Express, and for some reason, it then went through, and is all working and good.

  • How do you add a mobile number and a home number to a contact on a 4S

    How do you add a mobile number and a home number to a contact on an iPhone4S?

    First add the mobile number. Once you've done that there should be another field that shows 'iPhone". Tap on 'iPhone' and change it to 'Home' then input the home number.

  • Someone stole my 4th gen. Ipod touch and i don't know how to find the serial number... Can you track it?

    I dont know how to find the serial number and someone stole my i pod can someone track it?

    You can easily get the serial number.  Having it will not help you track it.
    iPod: How to find the serial number
    If you activated find my ipod on the ipod BEFORE it went missng, then you may be able to track it.
    Otherwise, you cannot track it.

Maybe you are looking for

  • Nokia Communication Center 2.0 Does not support Ex...

    When exporting SMS messages with Chinese text to csv file, all Chinese characters will turn to confusion symbols. My phone: E51 Singapor edition; Windows XP English, with Chinese PRC for non-unicode program. English version of PC suite, Nokia communi

  • How can I find the buttons that there are in Searchaccount view IUICMD  ??

    Hello experts, Could you tell my where can I find the buttons ("Search", "Reset", "Create Account") that appear in the view "SearchAccount", please could help me?? Thanks in advance.

  • This new itunes is not syncing properly...

    When I change or edit the names of songs/ albums, it doesn't sync to my iPhone5 even tho it says it is. This new itunes *****!! These are all purchased songs through iTunes. Not downloaded..... Ive done this in the past MANY times before i stupidly u

  • 5.1.4 upgrade

    Hey I'm looking for an upgrade download from fcp 5.1 to 5.1.4. All my searches have yielded nothing. Does anyone have it and can I possibly get it from someone/download it from their server? please, please! and thanks...

  • Batch is blank for some production order number

    Hi Experts, For some cases planned order does not converting into production order,i mean batch(CHARG) is not updating.it seems production order link is missing,In CO03 transaction i'm not finding relative batch number for production order. Let me kn