Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error in assigning unique ID to Physical Item with multiple copy

Status
Not open for further replies.

smallredville

Programmer
Aug 18, 2008
115
SG
Hi All,

Recently, I tried to use lapi 9.7.0 to assign user specified uniqueID to physical item with multiple copy.

I failed and get the followings:

Status Code: 101103
Api Error: Unique ID already in use
Error Message: Unique ID already in use
Status Message: Error Creating node

My code snapshot is like :

...
LLValue request = (new LLValue()).setAssocNotSet();
request.add("poNumCopies",2);
request.add("pouniqueID","test1");
request.add("pouniqueID","test2");
...

But when the copy is 1, it works fine :
...
LLValue request = (new LLValue()).setAssocNotSet();
request.add("poNumCopies",1);
request.add("pouniqueID","test1");
...



I hope someone who knows about this, can share with me through this forum on how to assign uniqueID to physical item with multiple copy.


Many thanks in advance =)
smallredville

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top