×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

I need Update data to in UDF attribute

I need Update data to in UDF attribute

I need Update data to in UDF attribute

(OP)
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
  

RE: I need Update data to in UDF attribute

Can I ask why you have created an Alias Item UDf when there is already an Alias Item table?

RE: I need Update data to in UDF attribute

(OP)
Thnaks for quick replay.

I need to generate UPC number for corresponding alias item. So I planned to create a UDF/UDT field and Update it. If U have any alternate solution to Update UPC Number for corresponding alias item.

Vairavan

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close