I guess this is the best Blog-let i can start with… after all nothing will work without a correct Objid.
1. For a particular type_id get the obj_num from the table adp_tbl_oid.
2. Increment obj_num by 1 and update the table adp_tbl_oid
3. Get the site_id value from adp_db_header and multiply by 268435456 ( 2 power(28) )
This is the formiula for getting the next Objid
newObjid = (adp_db_header.site_id * 268435456)+Mod((adp_tbl_oid.obj_num+1), 268435456 )




Hi,
Some PD´s in Amdocs, said that when site_id is equal to 0, we can generate a objid using all 32 bits of the number. So, we could have a larger range of objid values (0 to ((2 ^ 33)-1).
In my test, this don´t work.
Have you ever heard something about this? Can you help me?