Duplicate Item Codes

Every item has 12 digits code.
Reason of duplicate item code opening:
1. Different description formats for same part
2. Different unit of measurement
3. Different export place(e.g. China and India)
4. Different old code
5. Same use of part in different system leads to different catalog
so different code
Due to these reason the person who create code for items can’t
differentiate between the new item and existing item code. This
leads to opening of new item code for an existing code and hence
duplicate code.

Hello,
I think application do not help you with this. This is business problem not application problem. In my company a few person can create items and a few person can request new items. This process should be centralized and you have make some procedure in your organization. You can make some rules to valid new item before creating it.
Regards,
Luko

Similar Messages

  • Duplicate Item code

    Hi All,
    My query goes like this
    SELECT DISTINCT(T0.[ItemCode]), T0.[ItemName], T1.[OnHand] as STOCK_IN_METER, T2.[Price] as BASE_PRICE, T0.[U_Length_In_Meter],T1.[OnHand]/T0.[U_Length_In_Meter] as STOCK_IN_PIECE, T0.[U_Weight_kgm], T1.[OnHand]* T0.[U_Weight_kgm] as TOTAL_KG FROM OITM T0  INNER JOIN OITW T1 ON T0.ItemCode = T1.ItemCode INNER JOIN OINM T2 ON T0.ItemCode = T2.ItemCode WHERE T1.[WhsCode] ='03' and T0.[ItmsGrpCod] ='102' and  T1.[OnHand] <>0
    Why Duplicate item code is coming and how to solve that?
    Regards,
    Rupa Sarkar

    Hi Rupa,
    There could be many different Prices under OINM for one item. You can only use OITM.LastPurPrc or a specific price under a specific price list for a item.
    Thanks,
    Gordon

  • Duplicate Item Number Lines Sync

    Hey guys,
    We were having problems with custom information not coming into Netpoint properly and we were able to trace it to some logic that the programmer wrote which prevents custom information from being populated when the number of the lines in Netpoint is not equal to the number of lines in SAP.
    When we reviewed the lines in Netpoint, one line was missing and it happened to be the only line with the same item number as another line in that order. 
    By adding more duplicate item codes in the order in Business One, we were able to establish that if the same item code is entered in two separate lines in SAP, the duplicate item code lines will not be synced!
    What is the logic that determines which lines will be synced and is this an expected result?
    Thanks,
    Kevin Lee

    Yes, it's happened to everyone who has tried to recapture. Are you using Media Manager? If not, try that.
    The upshot is that you need to convince FCP the clips are no longer available regardless of their corporeal existence. That may mean restarting the machine, repairing permissions or deleting your prefs or, at least changing enough of your prefs so that the file is altered significantly.
    Wait, you're saying these files are not associated with your project?

  • Stored procedure in purchase order for duplicate item for a vendor

    Hi all
    I have written a stored procedure for duplicate item for vendor the output i need from this SP is whenever for a vendor we will raise purchase order the system should check that their shouldn't be any po in the system for the same item by the selected vendor. Its working fine when only one item is selected but it is behaving wrongly when more than one item is selected.
    If (@object_type='22' and @transaction_type='A')
    BEGIN
    Declare @Vend as varchar(200)
    Declare @ItemCode as varchar(200)
    Select @Vend =CardCode From OPOR Where DocEntry = @list_of_cols_val_tab_del
    Select @ItemCode=ItemCode From POR1 Where DocEntry=@list_of_cols_val_tab_del
    IF 1 !=(Select Count(T0.DocEntry) From OPOR T0  Inner Join POR1 T1 On T0.DocEntry=T1.DocEntry  Where T0.CardCode=@Vend and T1.ItemCode=@ItemCode)
    Begin
    select @error =1
    select @error_message = 'Item Code Already Exists For This Vendor'
    end
    end
    Thanks
    Rashid.

    Hi Rashid,
    Try this,
    if @object_type = N'22' and @transaction_type in (N'A', N'U')
    begin
    declare @line1 int
    declare @lin1 int
    declare @out1 int
    Set @out1 = 0
    SET @lin1 = 0
    Declare @Vend as varchar(200)
    Declare @ItemCode as varchar(200)
    Select @Vend = CardCode From OPOR Where DocEntry = @list_of_cols_val_tab_del
    Select @line1 = Max (LineNum)FROM POR1 WHERE POR1.DocEntry = @list_of_cols_val_tab_del
    While @lin1 < @line1
    Begin
         Select @ItemCode=ItemCode From POR1 Where DocEntry=@list_of_cols_val_tab_del and LineNum = @lin1
          if (SELECT COUNT(T0.DocEntry) FROM POR1 T0 inner join OPOR T1 on T0.DocEntry = T1.DocEntry
          WHERE T0.ItemCode = @ItemCode and T1.CardCode = @Vend)> 1
          Begin
               Set @Out1 = 1
               Break;
          END
               Else
               Begin
               Set @lin1 = @lin1+1
               Continue
          END
    END
    Set @lin1 = @lin1 + 1
    if @out1 = 1
    begin
          Set @error = 1
          Set @error_message = 'Item Code in line ' + CONVERT(nvarchar(4), @lin1) + N'already Exists For This Vendor!'
    End
    END
    Regards,
    Bala

  • Help needed in removing duplicate items of list box  in java

    How to remove duplicate items of list box while dynamically inserting (on-click event)
    It is not identifying duplicate data
    Variable name is HP_G1
    HP_dmg1 = (DefaultListModel) HP_G1.getModel();
    int a = HP_G1.getModel().getSize();
    System.out.println("HP list no--------> "+a);
    if(a!=0)
    for (int j=0; j<a; j++)
    String item1 = String.valueOf(HP_List.getModel().getElementAt(j));
    System.out.println("HP list added--------> "+item1);
    if(HP_dmg1.equals(item1)){
    HP_dmg1.remove(j);
    else
    HP_dmg1.addElement(GPL);
    }

    Your code is unreadable, so I'll ignore it. In the future please press the message editor's CODE button to format code.
    As to your problem, to the point you normally use a Set instead of List when you don't want duplicates in a collection.

  • Duplicate item 'ARCMGTAP/10052' could not be created

    Hi
    Am getting error while am saving the record acutally i implemented a new submit button progamtically and now it is giving error when i click that button and i have extended the controller and i have created one more submit button with SaveContinue ( means to be Save and Continue) but i am getting wrong .
    so plz help me am giving u the error am getting and i will give u the code which i wrote.
    Thankq
    oracle.apps.fnd.framework.OAException: java.sql.SQLException: ORA-20002: 3122: Duplicate item 'ARCMGTAP/10052' could not be created.
    ORA-06512: at "APPS.WF_ENGINE", line 4154
    ORA-06512: at "APPS.AR_CMGT_WF_ENGINE", line 919
    ORA-06512: at line 1
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
    and in extended controller i wrote a new submit button for that the code is here
    process request()
    OAPageButtonBarBean oapagebuttonbarbean = (OAPageButtonBarBean)oawebBean;
    OAViewObject oaviewobject = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
    oaviewobject.setMaxFetchSize(0);
    OASubmitButtonBean oasb= (OASubmitButtonBean)oapageContext.getWebBeanFactory().createWebBean(oapageContext,"BUTTON_SUBMIT");
    oasb.setID("SaveContinue");
    oasb.setUINodeName("SaveContinue");
    oasb.setEvent("SaveContinue");
    oasb.setText("Save&Continue");
    oasb.setLabel("Save&Continue");
    oawebBean.addIndexedChild(oasb);
    oracle.jbo.Row row = oaviewobject.first();
    if(row != null)
    String s1 = row.getAttribute("Status") != null ? row.getAttribute("Status").toString() : "-99";
    if(s1.equals("SaveContinue"))
    OAWebBean oawebbean4 = oapagebuttonbarbean.findIndexedChildRecursive("FndSaveContinueButtonSubmit");
    oawebbean4.setRendered(false);
    Processformrequest()
    String s1 = oapageContext.getParameter("_FORM_SUBMIT_BUTTON");
    String s2 = oapageContext.getParameter("SaveContinue");
    if(oapageContext.getParameter("SaveContinue")!=null)
    OAViewObject oaviewobject1 = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
    oaviewobject1.first().setAttribute("Status", "SAVE");
    } else
    if(s2 == null && s1.equals("YesButton") && !oapageContext.getRootRegionCode().equals("ARCMBANKREFERENCEPAGELAYOUT") && !oapageContext.getRootRegionCode().equals("ARCMGUARANTORPAGELAYOUT") && !oapageContext.getRootRegionCode().equals("ARCMOTHERDATADETAILSPAGE") && !oapageContext.getRootRegionCode().equals("ARCMTRADEREFERENCEPAGELAYOUT"))
    oapageContext.getRootRegionCode().equals("ARCMCOLLATERALDATADETAILSPAGE");
    if(s1.equals("SaveContinue") || s1.equals("ArCmSubmit") || s1.equals("YesRefButtonWarn"))
    oapageContext.getApplicationModule(oawebBean).invokeMethod("saveApplication");
    OAViewObject oaviewobject2 = (OAViewObject)oapageContext.getApplicationModule(oawebBean).findViewObject("creditRequestsVO");
    oracle.jbo.Row row = oaviewobject2.first();
    String s5 = null;
    if(row != null)
    s5 = row.getAttribute("ApplicationNumber").toString();
    String s6 = "OA.jsp?akRegionCode=ARCMCUSTSEARCHPAGE&akRegionApplicationId=222&OASF=ARCMAPPCUSTSEARCH&OAHP=ARCMMENUAPPLICATION";
    MessageToken amessagetoken[] = new MessageToken[1];
    amessagetoken[0] = new MessageToken("APPL_NUMBER", s5);
    if(s1.equals("ArCmSubmit") || s1.equals("YesRefButtonWarn"))
    OAException oaexception = new OAException("AR", "AR_CMGT_APPLN_SUB_CNFRM_DESC", amessagetoken);
    OAException oaexception2 = new OAException("AR", "AR_CMGT_APPLN_SUB_CNFRM_INSTR");
    OADialogPage oadialogpage1 = new OADialogPage((byte)3, oaexception, oaexception2, s6, null);
    oadialogpage1.setReuseMenu(false);
    writeDiagnostics(oapageContext, this, "Before +++++++++++++");
    oapageContext.redirectToDialogPage(oadialogpage1);
    } else
    OAException oaexception1 = new OAException("AR", "AR_CMGT_APPLN_SAVE_CNFRM_DESC", amessagetoken);
    OAException oaexception3 = new OAException("AR", "AR_CMGT_APPLN_SAVE_CNFRM_INSTR");
    OADialogPage oadialogpage2 = new OADialogPage((byte)3, oaexception1, oaexception3, s6, null);
    oadialogpage2.setReuseMenu(false);
    oapageContext.redirectToDialogPage(oadialogpage2);
    //url of the page // here the code i s for return back to the same page after saving the details
    String url ="/oracle/apps/ar/creditmgt/application/webui/ARCMCREDITAPPPAGE";
    //retain am parameter
    String amMode ="true";
    //Computing page_url
    String page = url + "&retainAM=" + amMode + "&fndOAJSPinEmbeddedMode=y" + "&";
    //Computing final url
    String destURL =
    OAWebBeanConstants.APPS_HTML_DIRECTORY + OAWebBeanConstants.APPLICATION_JSP +
    "?" + OAWebBeanConstants.JRAD_PAGE_URL_CONSTANT + "=" + page;
    }

    Hi,
    I'm not sure but it seems that it is trying to invoke WF for item key which already exists.
    Regards,
    Reetesh Sharma

  • Duplicate item checking failed in Form level-urgent

    Hi all
    i have creation page with advanced table
    i need to restrict the duplication at form level as well as save button
    in some cases the validation is failed
    if ("CodeValidation".equals(pageContext.getParameter(EVENT_PARAM)))
    itemcode = vo.getCurrentRow().getAttribute("ItemCode").toString();//advanced table multiple records come
    am.xxItemCodeValidation(itemcode);//checking the item validation at databse level
    am.xxdupitemcode(itemcode);
    method in am
    public void xxdupitemcode(String itemcode)
    System.out.println("The item code is.........."+itemcode);
    int count = 0;
    xxcrmNewItemVOImpl vo = getxxcrmNewItemVO1();
    vo.executeQuery();
    System.out.println("the row are" + vo.getAllRowsInRange().length);
    Row r[] = vo.getAllRowsInRange();
    int n = vo.getAllRowsInRange().length;
    for (int i = 0; i < n; i++)
    System.out.println("entered into this block......for loop" + count);
    if (itemcode.equals(r.getAttribute("ItemCode")))
    System.out.println("entered into this block......" + count);
    count = count + 1;
    System.out.println("the count is........."+count);
    if (count > 1)
    throw new OAException("Duplicate Item found plz change the item",
    OAException.ERROR);
    } else
    System.out.println("Exception block....... ");
    in save button i am calling
    if ("Save".equals(pageContext.getParameter(EVENT_PARAM)))
    am.xxdupitemcode(itemcode);
    am.invokeMethod("xxsavetr");
    in which case it is failing is
    in first row user enter
    ROW-ITEMCODE
    1-A
    2-A
    3-B
    4-B
    in second row and 4 th row exception is raised but user didnt change the itemcode and proceed for next steps
    IN SAVE BUTTON EXCEPTION IS RAISED
    but user will go to 4 th row and B should be change as C and click on save
    records are saving with duplication item of A
    but i need to restrict in save button also
    how its posible
    Regards
    Sreekanth

    Sreekanth,
    The correct way to check for duplicates is to check it both in the VO/EO cache as well as the database. It is possible the user entered duplicate value in the current session. In that case you should first check within the existing VO rows if the values are duplicated or not (in case all the database rows are already queried, you might not need to run an explicit query, otherwise another validation VO needs to be executed to check for duplicates).
    Regards
    Sumit

  • Duplicate Item in Details Block

    Dear Expert,
    I written some code for checking of the same item in detail block, when I am using keyboard it is runing ok, but when I nevigate the same from mouse to another item, it will not check the duplicate item, my problem is when I move the mouse from one filed to another my Item-Code will be validate every time when I leave the mouse from One Item to another.
    Please give me your expert adive.
    s mishra

    Hi Mark,
    Actually this my code but it doesn't work.....
    if :slcl.bulk_question_answer = 'N' then
    Set_Item_Instance_Property('SLCL.BULK_ERROR_DETAILS', CURRENT_RECORD, UPDATE_ALLOWED,PROPERTY_TRUE);
    elsif :slcl.bulk_question_answer = 'Y' then
    Set_Item_Instance_Property('SLCL.BULK_ERROR_DETAILS', CURRENT_RECORD, UPDATE_ALLOWED, PROPERTY_FALSE);
    :SLCL.BULK_ERROR_DETAILS := '';      
    end if;
    Please remember I put this code in the when-checkbox-changed trigger the default if YES.
    Any further advice or idea are greatly appreciated....
    Thanks.
    Regards,
    Jun

  • Identical item codes in two different warehouses

    We currently have several items that exist in two warehouses. We are using SAP Business One, 8.81 PL09, DTW 88.1.7. All of our items from warehouse A have pulled without any errors. We are using a ItemGroupCode of 100 (default) for both warehouses, and managing the items by warehouse. Attempting to use DTW to pull the identical items into B, we receive an error of Item code 'ABC1234' already exists error 65171. My guess is that we will need to use a separate ItemGroupCode for each warehouse. I'm sure that other people out there have had the same issue. Thank you.

    Hello Friend,
    You should check item in csv or txt file that is there any duplicate itemcode in for source file.
    Because itemgrpcod can be same for all materials.
    Thanks
    Manvendra Sinhg Niranjan

  • How to duplicate Item

    Hi,
    I try to duplicate item with this code
                            Dim vItem As SAPbobsCOM.Items
                            Dim RetVal As Long
                            vItem = oCompany.GetBusinessObject(BoObjectTypes.oItems)
                            'Retrieve a record by its key from the database
                            If vItem.GetByKey("Art_Base") = True Then
                                'Set value to mandatory fields:
                                vItem.ItemCode = "MyNewItem"
                                'Set Value to other fields
                                vItem.ItemName = "MyNewItem Name"
                                vItem.InventoryItem = BoYesNoEnum.tYES
                                vItem.SalesItem = BoYesNoEnum.tYES
                                vItem.PurchaseItem = BoYesNoEnum.tYES
                                'Adding the Item
                                RetVal = vItem.Add
                                'Checking the result
                                If RetVal <> 0 Then
                                    oCompany.GetLastError(sErrCode, sErrMsg)
                                    MsgBox(sErrCode & " " & sErrMsg)
                                    BubbleEvent = False
                                    Exit Sub
                                End If
                            Else
                                oCompany.GetLastError(sErrCode, sErrMsg)
                                MsgBox("Failed to Retrieve the record " & sErrCode & " " & sErrMsg)
                                BubbleEvent = False
                                Exit Sub
                            End If
    It does not work, I have a message  in OITW.ItemCode
    Why ?
    Thanks

    Dear Didier LEVAN,
    You may try to duplicate the item via XML file by use
    oldItem.SaveXML -> change Item code, etc, in xml file ->
    newitem = oCompany.GetBusinessObjectFromXML(xmlfile)
    Best Regards
    Jane Jing
    SAP Business One

  • Item Code Length

    Hi Experts,
    Is there any way to increase the length of Item code(From 20 to 35) in Item master data? If yes than please let me know, how? If this is not possible than please help me to create "Foreign Name" Field Mandatory and unique in Item master data.
    Thanks in advance.
    Ashutosh
    Edited by: Ashutosh T on Nov 23, 2009 12:55 PM

    There is no possibility to increase the item code. To make it unique and mandatory you should insert this code into the SBO_SP_TransactionNotification stored procedure after the
    --     ADD     YOUR     CODE     HERE
    line:
    If @object_type = '4' and @transaction_type in ( 'A','U')
    BEGIN
    declare @fn nvarchar(100)
    set @fn=(Select isnull(I.FrgnName,'') From OITM I
        Where I.ItemCode=@list_of_cols_val_tab_del)
    If @fn=''
    begin
    select @error =11
    select @error_message = 'You should enter Foreign Name!'
    end
    else
    If exists (Select I.FrgnName From OITM I
        Where I.FrgnName=@fn and I.ItemCode!=@list_of_cols_val_tab_del)
    begin
    select @error =12
    select @error_message = 'Duplicate Foreign Name!!'
    end
    END

  • PowerShell script to find and remove duplicate items from document library

    Hi Friends,
    Please check this below script, It is finding the duplicate items and removing it. This script is not working to find the duplicate items from document
    library and remove. Can you please let me know where it is wrong.
    Add-PSSnapin microsoft.sharepoint.powershell 
    $web = Get-SPWeb -Identity "http://zapltvsspdev02:4333/bu/EXCO" 
    $list = $web.Lists["AECI Documents"] 
    $AllDuplicates = $list.Items.GetDataTable() | Group-Object INumber | where {$_.count -gt 1} 
    $count = 1 
    $max = $AllDuplicates.Count 
    foreach($duplicate in $AllDuplicates) 
    $duplicate.group | Select-Object -Skip 1 | % {$list.GetItemById($_.ID).Delete()} 
    Write-Progress -PercentComplete ($count / $max * 100) -Activity "$count duplicates removed" -Status "In Progress" 
    $count++ 
    Remove-PsSnapin Microsoft.SharePoint.PowerShell
    Note:
    In the above code, duplicates are found using the "INumber" column. 
    valmiki

    check this
    http://stackoverflow.com/questions/21337158/delete-duplicate-items-in-sharepoint-list

  • JSF - Duplicate items in menuBar

    This is the original post:
    Re: JSF - Duplicate items in menuBar
    I was wondering if anyone ever figured out why the menu item beans being loaded onto the menuBar twice?
    I have the same problem. And I also have another problem where the submenu items disappearing when I navigate to certain pages, which I could not figure out why?, even though I have the menu2 facet in every page.
    Thanks in advance.

    Hi,
    did you have a look at SRDemo, which also uses managed beans to build the menu bar ? I think that using the code provided in this sample is a good way to start
    If this doesn't help then you will need to provide more information about your implementation so people can point you to the area that causes the issue
    Frank

  • How to delete duplicate items in SQ01 output

    Hi,
       I created a query to extracted fixed asset from table ANLZ join ANLA, ANLZ for legacy fixed asset upload.  But in the output list , every fixed asset line item is output by triple line items. How can I do to delete the duplicate items when output. Thanks.

    Hi,
    could you explain please what you did to remove duplicate / redundant lines?
    I am facing the very same issue in an SQVI report I made recently: the line item results are 5x more then necessary (when document has 5 item lines), etc.
    Thx in advance

  • How I can know which row is parent item code or child item in matrix?

    Hi,
    In marketing document, when insert a item into contents page, if it is a BOM then all child item will be inserted into matrix automatically. My question is when i view the rows in matrix how i can know which row is normal master item and which row is a child item row? From the UI, i can only see the child item code looks readonly but how i can know it in my add-on code? I tried to get the edittext box object from item No. cell, but i can't find any difference.
    Thanks!
    Lan

    Sorry, i found an issue when i try to retrieve the BOM Type column value. I am in adding mode, when i insert a BOM with components, the bom type will appears as "Component of a Sales BOM". But in the event, when I try to get the value from this cell (it is combobox), it gives another value which is not same with the one it appears in the matrix. Is anyone know how to solve my problem?
    Thanks!
    Lan

Maybe you are looking for

  • New to flash and fireworks

    I've worked with frontpage and dreamweaver on simple websites. Now I want to publish pictures to my site. My problem is tht I want to install a picture a a hair style. I want to display the front and bsvk of the style. Which do I use(Flash of Firewor

  • Isight photobooth and skype

    Hi, ever since I got the new version of skype, photobooth won't recognize the built in isight camera. It simply shows a 'no camera' icon in the middle of the screen (photobooth app). However I have found that whenever I quit skype and then restard ph

  • Sony BRAVIA Sound bar home theatre system

    I just bought one of those Sony BRAVIA sound bar home theatre systems & I am trying to hook up my old model vcr/dvd combo so I can get surround sound on the dvd player. My husband & I have almost tried everything & it still won't work. It doesn't hav

  • Adobe Acrobat Download Issues

    I have Adobe Acrobat version 10.1.13 on a faulty computer and wish to download this version onto a new computer.  I run Windows 7 and 32 bit. I have serial numbers and ID but can get link to downlaod

  • Kernel26 2.6.26.3-1: Probing EDD [SOLVED, like]

    Hi, After the upgrade to kernel26 2.6.26.3-1 the boot process stops at the kernel message "Probing EDD...". The situation gets scary as I discover that livecds like MiniMe and Knoppix refuse to boot too. Thanks to another box (not yet upgraded) found