Hi Rory,
Rory Sawtelle (1/2/2012)
Isthere an example, or a forum thread or something in the documentation that Ihave missed that covers this?
As you are guessing SF Business Object do support handling your own PK generation. Basically to bypass default behavior simply set the BO properties PrimaryKeyIsAutoIncremented = False and PrimaryKeyIsUpdatable = True, if you are using a base BO class (which everybody should) then you can set this in the base class otherwise you can do it in the instance in your forms or via code.
Also it is a good idea to look at all the properties of the BO, their descriptions and the help file to grasp all the control the developers have over how the BO should work for each application.
Ger, thanks for the sample, I used to use that technique a while back when working with Visual FoxPro, now what I do is simply get the MAX(FieldName) + 1 for simpler process where not too many users will be working at the same time.