Hi,
Please let me know how to update a data in user defined field.
I can Insert the new item to setting the key . below sample code is
retVal = oCIItem.nSetKey("1001-Hon-H252")
If CBool(oCIItem.nSetValue("ItemCode$", "10001-Hon-H252")) Then
retVal = oCIItem.nSetValue("ItemCodeDesc$", "itemNumber34")
retVal = oCIItem.nSetValue("ItemType$", "1")
retVal = oCIItem.nGetValue("ExtendedDescriptionKey$", itemNumber)
retVal = oCIItem.nSetValue("UseInSO$", "Y")
retVal = oCIItem.nSetValue("UseInPO$", "Y")
retVal = oCIItem.nSetValue("UseInAR$", "Y")
retVal = oCIItem.nSetValue("ProductLine$", "C&A")
retVal = oCIItem.nSetValue("UDF_ALIASITEM$", "1")
retVal = oCIItem.nWrite()
End If
I need to add a corresponding item to be update in User defind field(UDf).How to set the key & value.
Thanks,
Vairavan
Please let me know how to update a data in user defined field.
I can Insert the new item to setting the key . below sample code is
retVal = oCIItem.nSetKey("1001-Hon-H252")
If CBool(oCIItem.nSetValue("ItemCode$", "10001-Hon-H252")) Then
retVal = oCIItem.nSetValue("ItemCodeDesc$", "itemNumber34")
retVal = oCIItem.nSetValue("ItemType$", "1")
retVal = oCIItem.nGetValue("ExtendedDescriptionKey$", itemNumber)
retVal = oCIItem.nSetValue("UseInSO$", "Y")
retVal = oCIItem.nSetValue("UseInPO$", "Y")
retVal = oCIItem.nSetValue("UseInAR$", "Y")
retVal = oCIItem.nSetValue("ProductLine$", "C&A")
retVal = oCIItem.nSetValue("UDF_ALIASITEM$", "1")
retVal = oCIItem.nWrite()
End If
I need to add a corresponding item to be update in User defind field(UDf).How to set the key & value.
Thanks,
Vairavan