@@ -919,32 +919,61 @@ export const OracleFusionHcmBlock: BlockConfig = {
919919 id : 'overridingPeriodId' ,
920920 title : 'Overriding Period Id' ,
921921 type : 'short-input' ,
922- condition : { field : 'operation' , value : [ 'create_assigned_payroll' , 'update_assigned_payroll' ] } ,
922+ condition : {
923+ field : 'operation' ,
924+ value : [ 'create_assigned_payroll' , 'update_assigned_payroll' ] ,
925+ } ,
923926 required : { field : 'operation' , value : [ ] } ,
924927 description : 'Overriding period ID, as a positive decimal string' ,
925928 } ,
926929 {
927930 id : 'timeCardRequired' ,
928931 title : 'Time Card Required' ,
929932 type : 'short-input' ,
930- condition : { field : 'operation' , value : [ 'create_assigned_payroll' , 'update_assigned_payroll' ] } ,
933+ condition : {
934+ field : 'operation' ,
935+ value : [ 'create_assigned_payroll' , 'update_assigned_payroll' ] ,
936+ } ,
931937 required : { field : 'operation' , value : [ ] } ,
932938 description : 'Oracle time-card requirement code, such as Y or N' ,
933939 } ,
934940 {
935941 id : 'rangeMode' ,
936942 title : 'Range Mode' ,
937943 type : 'dropdown' ,
938- options : [ { id : 'CORRECTION' , label : 'CORRECTION' } , { id : 'UPDATE' , label : 'UPDATE' } ] ,
939- condition : { field : 'operation' , value : [ 'update_assigned_payroll' , 'update_element_entry_value' ] } ,
940- required : { field : 'operation' , value : [ 'update_assigned_payroll' , 'update_element_entry_value' ] } ,
944+ options : [
945+ { id : 'CORRECTION' , label : 'CORRECTION' } ,
946+ { id : 'UPDATE' , label : 'UPDATE' } ,
947+ ] ,
948+ condition : {
949+ field : 'operation' ,
950+ value : [ 'update_assigned_payroll' , 'update_element_entry_value' ] ,
951+ } ,
952+ required : {
953+ field : 'operation' ,
954+ value : [ 'update_assigned_payroll' , 'update_element_entry_value' ] ,
955+ } ,
941956 description : 'CORRECTION changes the historical row; UPDATE starts an effective-dated change' ,
942957 } ,
943958 {
944959 id : 'legislativeDataGroupId' ,
945960 title : 'Legislative Data Group Id' ,
946961 type : 'short-input' ,
947- condition : { field : 'operation' , value : [ 'list_payroll_definitions' , 'list_payroll_element_definitions' , 'list_salary_bases' , 'create_assigned_payroll' , 'list_payroll_time_periods' , 'list_person_process_results' , 'list_payroll_input_values' , 'list_element_entries' , 'create_element_entry' , 'create_salary' ] } ,
962+ condition : {
963+ field : 'operation' ,
964+ value : [
965+ 'list_payroll_definitions' ,
966+ 'list_payroll_element_definitions' ,
967+ 'list_salary_bases' ,
968+ 'create_assigned_payroll' ,
969+ 'list_payroll_time_periods' ,
970+ 'list_person_process_results' ,
971+ 'list_payroll_input_values' ,
972+ 'list_element_entries' ,
973+ 'create_element_entry' ,
974+ 'create_salary' ,
975+ ] ,
976+ } ,
948977 required : { field : 'operation' , value : [ ] } ,
949978 description : 'Legislative data group ID, as a positive decimal string' ,
950979 } ,
@@ -960,8 +989,14 @@ export const OracleFusionHcmBlock: BlockConfig = {
960989 any : [ 'oauthCredential' , 'personId' , 'legislativeDataGroupId' , 'effectiveDate' ] ,
961990 } ,
962991 mode : 'basic' ,
963- condition : { field : 'operation' , value : [ 'list_payroll_input_values' , 'list_element_entries' , 'create_element_entry' ] } ,
964- required : { field : 'operation' , value : [ 'list_payroll_input_values' , 'create_element_entry' ] } ,
992+ condition : {
993+ field : 'operation' ,
994+ value : [ 'list_payroll_input_values' , 'list_element_entries' , 'create_element_entry' ] ,
995+ } ,
996+ required : {
997+ field : 'operation' ,
998+ value : [ 'list_payroll_input_values' , 'create_element_entry' ] ,
999+ } ,
9651000 placeholder : 'Select element type id' ,
9661001 description : 'Element type ID, as a positive decimal string' ,
9671002 } ,
@@ -971,15 +1006,29 @@ export const OracleFusionHcmBlock: BlockConfig = {
9711006 type : 'short-input' ,
9721007 canonicalParamId : 'elementTypeId' ,
9731008 mode : 'advanced' ,
974- condition : { field : 'operation' , value : [ 'list_payroll_input_values' , 'list_element_entries' , 'create_element_entry' ] } ,
975- required : { field : 'operation' , value : [ 'list_payroll_input_values' , 'create_element_entry' ] } ,
1009+ condition : {
1010+ field : 'operation' ,
1011+ value : [ 'list_payroll_input_values' , 'list_element_entries' , 'create_element_entry' ] ,
1012+ } ,
1013+ required : {
1014+ field : 'operation' ,
1015+ value : [ 'list_payroll_input_values' , 'create_element_entry' ] ,
1016+ } ,
9761017 placeholder : 'Enter element type id' ,
9771018 } ,
9781019 {
9791020 id : 'assignmentNumber' ,
9801021 title : 'Assignment Number' ,
9811022 type : 'short-input' ,
982- condition : { field : 'operation' , value : [ 'list_element_entries' , 'create_time_entry' , 'update_time_entry' , 'delete_time_entry' ] } ,
1023+ condition : {
1024+ field : 'operation' ,
1025+ value : [
1026+ 'list_element_entries' ,
1027+ 'create_time_entry' ,
1028+ 'update_time_entry' ,
1029+ 'delete_time_entry' ,
1030+ ] ,
1031+ } ,
9831032 required : { field : 'operation' , value : [ ] } ,
9841033 description : 'HR assignment number' ,
9851034 } ,
@@ -995,8 +1044,14 @@ export const OracleFusionHcmBlock: BlockConfig = {
9951044 any : [ 'oauthCredential' , 'personNumber' , 'effectiveDate' ] ,
9961045 } ,
9971046 mode : 'basic' ,
998- condition : { field : 'operation' , value : [ 'get_element_entry' , 'list_element_entry_values' , 'update_element_entry_value' ] } ,
999- required : { field : 'operation' , value : [ 'get_element_entry' , 'list_element_entry_values' , 'update_element_entry_value' ] } ,
1047+ condition : {
1048+ field : 'operation' ,
1049+ value : [ 'get_element_entry' , 'list_element_entry_values' , 'update_element_entry_value' ] ,
1050+ } ,
1051+ required : {
1052+ field : 'operation' ,
1053+ value : [ 'get_element_entry' , 'list_element_entry_values' , 'update_element_entry_value' ] ,
1054+ } ,
10001055 placeholder : 'Select element entry id' ,
10011056 description : 'Element entry ID, as a positive decimal string' ,
10021057 } ,
@@ -1006,8 +1061,14 @@ export const OracleFusionHcmBlock: BlockConfig = {
10061061 type : 'short-input' ,
10071062 canonicalParamId : 'elementEntryId' ,
10081063 mode : 'advanced' ,
1009- condition : { field : 'operation' , value : [ 'get_element_entry' , 'list_element_entry_values' , 'update_element_entry_value' ] } ,
1010- required : { field : 'operation' , value : [ 'get_element_entry' , 'list_element_entry_values' , 'update_element_entry_value' ] } ,
1064+ condition : {
1065+ field : 'operation' ,
1066+ value : [ 'get_element_entry' , 'list_element_entry_values' , 'update_element_entry_value' ] ,
1067+ } ,
1068+ required : {
1069+ field : 'operation' ,
1070+ value : [ 'get_element_entry' , 'list_element_entry_values' , 'update_element_entry_value' ] ,
1071+ } ,
10111072 placeholder : 'Enter element entry id' ,
10121073 } ,
10131074 {
@@ -1066,8 +1127,14 @@ export const OracleFusionHcmBlock: BlockConfig = {
10661127 id : 'objectActionId' ,
10671128 title : 'Object Action Id' ,
10681129 type : 'short-input' ,
1069- condition : { field : 'operation' , value : [ 'get_person_process_result' , 'list_payroll_run_results' , 'list_payroll_balances' ] } ,
1070- required : { field : 'operation' , value : [ 'get_person_process_result' , 'list_payroll_run_results' , 'list_payroll_balances' ] } ,
1130+ condition : {
1131+ field : 'operation' ,
1132+ value : [ 'get_person_process_result' , 'list_payroll_run_results' , 'list_payroll_balances' ] ,
1133+ } ,
1134+ required : {
1135+ field : 'operation' ,
1136+ value : [ 'get_person_process_result' , 'list_payroll_run_results' , 'list_payroll_balances' ] ,
1137+ } ,
10711138 description : 'Object action ID, as a positive decimal string' ,
10721139 } ,
10731140 {
0 commit comments