You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1027,25 +1033,28 @@ export default class AppContext {
1027
1033
* The delete or update in root table is row specific and happens in calling
1028
1034
* routine via user confirmation.
1029
1035
* Note: this report is done regardless of visibility of rows/columns to user.
1030
-
*
1031
-
* INPUT
1032
-
* @start_name {String} name of root table to begin looking for cascading effect of foreign key changes. 1st user-selected row is used for all primary key and target class filtering.
1033
1036
*
1034
1037
* Builds a list of dependents that have root-related records
1035
-
* dependent_rows: {
1036
-
[dependent_name]: {
1037
-
slots: {} // just like start_name, these are values of all slots that other tables depend on.
1038
-
[parent]: {
1039
-
slots: {[slot_name]: value, ... },
1040
-
incomplete: true | false,
1041
-
changed_slots: {[slot_name]: value, ... },
1042
-
count: [# records in dependent matching this combo],
1043
-
rows: [row # of affected row, ...]
1044
-
}
1045
-
}
1046
-
1038
+
* dependent_rows: {
1039
+
* [dependent_name]: {
1040
+
* slots: {} // just like start_name, these are values of all slots that other tables depend on.
1041
+
* [parent]: {
1042
+
* slots: {[slot_name]: value, ... },
1043
+
* incomplete: true | false,
1044
+
* changed_slots: {[slot_name]: value, ... },
1045
+
* count: [# records in dependent matching this combo],
1046
+
* rows: [row # of affected row, ...]
1047
+
* }
1048
+
* }
1049
+
*
1050
+
* For a given DH table, 1st user-selected row is used to get values for all non-foreign key and target slots.
1051
+
*
1052
+
* @param {String} start_name name of root table to begin looking for cascading effect of foreign key changes.
1053
+
* @param {String} class_name name of class (DataHarmonizer instance) to start from.
1054
+
* @param {Boolean} skipable: yes = don't do deep dive if no keys have changed for class name.
1055
+
* @param {Object} changes dictionary pertaining to a particular dh row's slots.
// Prompt user to select appropriate parent table row(s) first.
883
+
// FRINGE ISSUE: When user selects row/cell on subordinate table, then mouse-clicks on disabled tab, and then add-row, they get popup pertaining to disabled tab table.
0 commit comments