Partner OSRA ID generation using sequences 

Implemented generation of Partner OSRA ID through db sequences using the sequenced gem.
not sure about your schema, but Partner belongs to status?