(dsDatabase, dsRecordId)
Returns the object type of the record
Returns the object type of the record
Returns the object type of the record
def dsGetRecordType(dsDatabase, dsRecordId):
    '''
    Returns the object type of the record
    '''
    typeid = -1
    try:
        typeid = int(dsMapTypeByRecordId[int(dsRecordId)])
        return typeid
    except:
        return -1
def dsGetRecordType ( dsDatabase , dsRecordId ) : typeid = - 1 try : typeid = int ( dsMapTypeByRecordId [ int ( dsRecordId ) ] ) return typeid except : return - 1