def sms_inbox():

    if not auth.s3_logged_in():
        session.error = T("Requires Login!")
        redirect(URL(c="default", f="user", args="login"))

    tablename = "msg_sms"
    table = s3db[tablename]
    s3.filter = (table.inbound == True)
    table.inbound.readable = False

    # CRUD Strings
    s3.crud_strings[tablename] = Storage(
        title_display = T("SMS Details"),
        title_list = T("SMS InBox"),
        label_list_button = T("View SMS InBox"),
        label_delete_button = T("Delete SMS"),
        msg_record_deleted = T("SMS deleted"),
        msg_list_empty = T("No SMS currently in InBox")
    )

    s3db.configure(tablename,
                   # Permissions-based
                   #deletable = False,
                   editable = False,
                   insertable = False,
                   list_fields = ["id",
                                  "date",
                                  "from_address",
                                  "body",
                                  ],
                   )

    return s3_rest_controller(module, "sms")

# -----------------------------------------------------------------------------
Create a new array in file (common part).
dataset/ETHPy150Open sahana/eden/controllers/msg.py/sms_inbox--crossover with--dataset/ETHPy150Open PyTables/PyTables/tables/carray.py/CArray._g_create_common