Change 'Save As' to use part number sequence instead of adding Copy Of in the part number field?
With Aras V11, SP15: For the Part Item type, we have a pattern setup that we want all parts to follow this pattern: PRT-##### and we want it restricted to this length (9). This works. However, when someone does a 'Save AS' or in an Express ECO chooses to renumber a part. we get this error "The given value of type String from the data source cannot be converted to type nvarchar of the specified target column." This is because we've set the item_number length to equal 9 and Aras is trying to create a new part with the number field set "Copy of PRT-#####". We can get past the error by setting the item_number length to 20 but we don't want to do this as people can then create parts that don't match our pattern. Where can we change it so Aras doesn't add the "Copy of" in front of the original part's number: We'd also ideally like it to just grab the next number in our part number sequence. I've been hunting through aras methods but can't find where the "Copy of" is being added. Anyone know? Thanks.Solved7.7KViews0likes4CommentsIncrease the Major_Rev / Revision sequence.
Hello! I am trying to create a new revision by using the "PE_CreateNewRevision" method and it is throwing this error at me: <faultstring>Failed to version the item: revision sequence exceeded.</faultstring> Does anyone know where this List/Sequence is located so I can increase its limit? It looks like it currently maxes out at 'AZ' Thanks.7.2KViews0likes6CommentsUpdate Sequence property to existing records
After adding a new sequence property to an existing item type, how can i update the value for existing records in database? It tried to update using server method [embed:dc8ab71f-3b98-42d9-b0f6-e21e02a0f8e2:a046bcb8-1830-4737-a890-1531a047694f:type=csharp&text=string%20nextSequence%3D%20inn.getNextSequence%28%22newSequence%22%29%3B%0AItem%20editSelectionSet%20%3D%20inn.newItem%28%22myItemtype%22%2C%20%22edit%22%29%3B%0AeditSelectionSet.setID%28thisSelectionSet.getID%28%29%29%3B%20%2F%2Flooping%20all%20records%20here%20to%20get%20current%20row%20id%0AeditSelectionSet.setProperty%28%22my_sequence%22%2C%20nextSequence%29%3B%0AeditSelectionSet%20%3D%20editSelectionSet.apply%28%29%3B]0Views0likes3Comments