This question is locked. New answers and comments are not allowed.
I need to create a sequential number for an identifier, but that sequential number is based on a group code(GGG-100,GGG-101,GGG-102,etc...). I was going to do this just before the entity was committed to the database on the insert method by finding the highest number based on the group code and adding one. However, the insert method for the service is as follows.
Is there some way to override the insert method to perform the lookup and create the number just before committing it to the database?
Public
Sub
InsertChangeOrders(
ByVal
_changeOrder
As
ChangeOrder)
'This is a callback method. The actual Insert is performed internally.
End
Sub