Current Position:Home > Error Add Item using DI API 2007  B

Error Add Item using DI API 2007  B

Update:10-11Source: network consolidation
Advertisement
Sirs,
     I gettin a error on add a item using a follow code:
                   If m_Item.GetByKey('100') = True Then
                        m_Item.ItemType = ItemTypeEnum.itItems
                        m_Item.ItemsGroupCode = 1
                        m_Item.ItemClass = ItemClassEnum.itcMaterial 
'This line ocorred a error 'oToBP.ItemClass = {"Property 'ItemClass' of 'Item' is invalid"}
                        lErrorCode = m_Item.Update()
                    Else
                        lErrorCode = 1
                    End If
Please,
I'm waiting a urgent response .
Great.
Fábio Nascimento

The Best Answer

Advertisement
Fabio,
In 2007 A the ItemsgroupCode start at 100 and not 1.
Perhaps this is your problem.
Christophe
  • Error Add Item using DI API 2007  B Update:10-11

    Sirs,      I gettin a error on add a item using a follow code:                    If m_Item.GetByKey('100') = True Then                         m_Item.ItemType = ItemTypeEnum.itItems                         m_Item.ItemsGroupCode = 1                  

  • How could I ADD ITEM by using API Update:11-30

    Hi, I have Portal 9.0.3 installed. I want to call wwsbr_api from a javascript code (HTML portlet) to add a text item to a region, but I have some problem using this API: 1; I don't know how could I get the p_caid, the p_folder_id and the region_id I

  • Add attachments using workflow api throwing error Update:10-11

    Hi, I am getting the following error when i am trying to add attachments using worklist API.      Missing class: invokeBPEL.MetaData      Dependent class: com.evermind.io.ClassLoaderObjectInputStream      Loader: oc4j:10.1.3      Code-Source: /D:/pro

  • Error message when trying to add item in change BOM goup Update:10-11

    Hi I went to transaction cs05,and trying to add item to specific material with BOM group,an error message popped up and saying assign the item to an alternative,what does it mean? How to solve?Hi, A finished material can have multiple alternative BOM

  • Error -2147467259, can't add item to OPC Server Update:11-30

    I am using a DataSocket connection to read/write through an OPC Server (GE SRTP) to PLC software (PME).  Everything works fine on my 2 different development PC's in my office, both in .vi form, and executable.  I have distributed my executable on our

  • Error while add item to cart Update:11-30

    hi, i get the below error while i add items to cart CAUGHT AT: CONTAINER:atg.commerce.CommerceException; SOURCE:CONTAINER:atg.service.pipeline.RunProcessException: An exception was thrown from the context of the l ink named [updateOrderObject].; SOUR

  • Failed to add item: Generic file I/O error Update:11-30

    One of our iPhone users once in a while gets this response in e-mail from our mobility server since we updated it to Mobility 2.0.1. From: Mobility Administrator Date: 18 Jun 2014 22:56:26 GMT+2 To: "Username" <[email protected]> Subject:

  • JMF Registry Error - could not add item Update:11-30

    Hi , I have JMF installed in my windows 7 , everything is work fine , my code work fine with JMF , but when I tried to change anything in JMFRegistery , pop up showing give me the error , could not add item - I tried to make windows enviroments ( JMF

  • Error while creating contact through API in Install Base Update:10-11

    Hello I am trying to create contacts when creating a install base through API... I tried below code as per metalink note# 215456.1 and giving the below error. I checked setup andI have 'Ship To' exists in Instnace Party Account Relationsship setup in

  • Pricing error in Item Update:10-11

    Hi all, I have got a problem regarding the posting of billing doc. to Accounting. I have created a Sales Order with five items, then deliver the items with delivery doc. and finally created Billing doc. Now, when iam going to post that Billing doc. t