Home / ... / Deluge スクリプト / サンプルアプリケーション / 人事管理アプリケーション

人事管理アプリケーション


  application "Employee Management"
{
    date format = "dd-MMM-yyyy"
    time zone = "Asia/Tokyo"
    section "Home"
    {
        form  Employee
        {
            
            Employee
            (
                displayname  =  "従業員"
                type  =  text
            )

            Email
            (
                displayname  =  "メールアドレス"
                type  =  email
            )

            Phone
            (
                displayname  =  "電話番号"
                type  =  number
                width  =  20
            )

            Date_of_Birth
            (
                displayname  =  "誕生日"
                type  =  date
            )

            Department_Name
            (
                displayname  =  "部署"
                type  =  picklist
                values  =  Department.Department_Name
            )

            Postal_Address
            (
                displayname  =  "住所"
                type  =  textarea
            )

        }

        list  "Employee View"
        {
            show  all  rows  from  Employee
            (
                Employee as "従業員"
                Email as "メールアドレス"
                Phone as "電話番号"
                Date_of_Birth as "誕生日"
                Postal_Address as "住所"
                Department_Name as "部署"
                Department_Name.Department_Details as "部署の詳細"
            )
            filters
            (
                Date_of_Birth
                Department_Name
            )
        }

        form  Department
        {
            
            Department_Name
            (
                displayname  =  "部署名"
                type  =  text
            )

            Department_Details
            (
                displayname  =  "部署の詳細"
                type  =  textarea
            )

        }

        list  "Department View"
        {
            show  all  rows  from  Department
            (
                Department_Name as "部署名"
                Department_Details as "部署の詳細"
            )
        }

        list  "複合ビュー"
        {
            show  all  rows  from  Employee
            (
                Employee as "従業員"
                Phone as "電話番号"
                Email as "メールアドレス"
                Date_of_Birth as "誕生日"
                Postal_Address as "住所"
                Department_Name as "部署"
                Department_Name.Department_Details as "部署の詳細"
            )
            filters
            (
                Date_of_Birth
                Department_Name
            )
        }

    }

}


    Post a comment

    Your Name or E-mail ID (mandatory)

     

    Note: Your comment will be published after approval of the owner.




     RSS of this page