Skip to content

Commit

Permalink
make "keep account team" and "use bulk API" mutually exclusive
Browse files Browse the repository at this point in the history
"keep account team" feature is not supported in Bulk API. So, make "keep account team" checkbox and "use bulk API" checkbox mutually exclusive.
  • Loading branch information
ashitsalesforce committed Feb 7, 2024
1 parent 2bc480c commit 4f4e460
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,7 @@ public void widgetSelected(SelectionEvent e) {
super.widgetSelected(e);
boolean enabled = buttonKeepAccountTeam.getSelection();
// make sure the appropriate check boxes are enabled or disabled
buttonUseBulkApi.setSelection(!enabled);
setBulkSettings(!enabled);
}
});
Expand All @@ -551,8 +552,10 @@ public void widgetSelected(SelectionEvent e) {
textBatch.setText(String.valueOf(newDefaultBatchSize));
// make sure the appropriate check boxes are enabled or disabled
setBulkSettings(enabled);
buttonKeepAccountTeam.setSelection(!enabled);
}
});
buttonKeepAccountTeam.setSelection(!buttonUseBulkApi.getSelection());

// Bulk API serial concurrency mode setting
Label labelBulkApiSerialMode = new Label(restComp, SWT.RIGHT | SWT.WRAP);
Expand Down

0 comments on commit 4f4e460

Please sign in to comment.