Change part numbers

Hi,

Currently we have a set of items which are rented or bought from 3rd parties however these are entered under our own part numbers.
The field “owner” is used for making the distinction at this moment between own and rerent however that is insufficient as we would like to make the distinction in our ERP as well.
As a solution we would like to rename the part number.
Could you please advice about the best way forward.

Thank you!

Hi, milanvanhoof.

To simply rename the parts you may use a code like below.
Since you’ve noted that “owner” field is insufficient for your requirement; let us know if you need any additional assistance with renaming.

Product part = Product.GetProduct(ProductID);
part.PartNumber = “Part Number”;
part.Save();

Thanks for posting.