iT邦幫忙

2021 iThome 鐵人賽

DAY 11
0
自我挑戰組

NetSuite Foundation & Customization系列 第 11

Basic Customization

Basic Customation

昨天概略地提到了幾種客製化的選項, 今天主要介紹兩種

  1. Custom Record
  2. Custom List

Custom List

Customation -> Lists, Records, & Fields -> List -> New
https://ithelp.ithome.com.tw/upload/images/20210925/20141364AD8Jds5qAD.png

會導向建立新的 list 介面

https://ithelp.ithome.com.tw/upload/images/20210925/20141364madkSN66XK.png

填入以下資訊

  • Name: 測驗結果
  • Id: _test_result
  • Description: 測驗結果選項

https://ithelp.ithome.com.tw/upload/images/20210925/20141364Pb754XJQf8.png

在 Value 新增測驗結果選項

  1. 通過
  2. 未通過
  3. 缺席

https://ithelp.ithome.com.tw/upload/images/20210925/20141364Vs8t711SHd.png

完成後按下 Save, 在所有 Custom Lists 頁面可以看到我們剛剛建立的 測驗結果list

https://ithelp.ithome.com.tw/upload/images/20210925/20141364SLXxmgyPQO.png

Custom Record

接下來我們要建立一個 教育訓練的主檔

Customation -> Lists, Records, & Fields -> Record Types -> New

https://ithelp.ithome.com.tw/upload/images/20210925/20141364gdrLDCn7BJ.png

可以看到 Custom Record Type 的介面
https://ithelp.ithome.com.tw/upload/images/20210925/20141364tsVlPLnlyn.png

填入以下選項

  • Name: 教育訓練
  • id: _emp_training

其他重要選項可以看下面的介紹:

  • Owner: 擁有者, 只有擁有者或是 Administrator 可以變更這個主檔的設定
  • Include Name field: 是否在主檔上顯示Name這個欄位, 如果不顯示, 系統會自動帶入流水編號
  • Show Creation Date field: 是否顯示建立時間, 分為在主檔顯示或是在 list 顯示
  • Show Last Modified: 同上
  • Access Type: 裡面分為三種
    • Require Custom Record Entries Permission: 只要有Custom Record Entries才可以建立/編輯這個主檔
    • Use Permission List: 根據下方的 Permissions subtab 內的設定決定哪些角色可以建立/編輯這個主檔.
    • No Permission Required: 讓這個主檔變為公開可供所有人編輯.
  • Allow UI Access: 如果沒有勾選, 表示這個主檔只能夠透過 SuiteScript 建立/編輯.
  • Allow Attachments: 可以增加附件
  • Show Notes: 顯示系統資訊

接下輸入 Subtabs: 參加學員
https://ithelp.ithome.com.tw/upload/images/20210925/20141364ZlbAp8uiYx.png

完成後按下 Save. 可以在 Record Types 頁面中找到我們剛剛建立的 教育訓練主檔
https://ithelp.ithome.com.tw/upload/images/20210925/20141364tyvgiJ7tzL.png

選擇 教育訓練 回到 Custom Record 設定頁面
https://ithelp.ithome.com.tw/upload/images/20210925/201413648UVlEeCu7a.png

我們可以看到多了 Fields 的 subtab.
https://ithelp.ithome.com.tw/upload/images/20210925/20141364Bse3aQRTxB.png

這邊就是如何新增 Custom Field 的部分, 我們會在明天介紹


上一篇
Basic NetSuite Customization Glossary
下一篇
Basic Customization
系列文
NetSuite Foundation & Customization16
圖片
  直播研討會
圖片
{{ item.channelVendor }} {{ item.webinarstarted }} |
{{ formatDate(item.duration) }}
直播中

尚未有邦友留言

立即登入留言