/set_empno.js Secret
Created
December 12, 2022 23:15
従業員番号をページ・アイテムに設定する。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* 引数empnoに渡された従業員番号をページ・アイテムP1_EMPNOに設定する。 | |
*/ | |
const SET_EMPNO = { | |
name: "setempno", | |
action: function(event, element, args) { | |
apex.item("P1_EMPNO").setValue(args.empno); | |
} | |
}; | |
// apex.actions.addへ渡す。 | |
const PAGE_ACTIONS_EMPCARD = [ SET_EMPNO ]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment