ProjTable.editSubProj Method
Updates a field in sub projects that belong to the current project record.
Syntax
public boolean editSubProj(
FieldId _fieldId,
anytype _newValue,
anytype _formerValue,
[ArrayIdx _arrayIdx])
Run On
Called
Parameters
- _fieldId
Type: FieldId Extended Data Type
The ID for the field in the ProjTable table to update.
- _newValue
Type: anytype
The new value to update the fieldId with in the sub projects.
- _formerValue
Type: anytype
The original fieldId value of the parent project.
- _arrayIdx
Type: ArrayIdx Extended Data Type
The index of the element to update if the _fieldId is an array field; optional.
Return Value
Type: boolean
false if the user cancelled out of the dialog; true otherwise.
Remarks
This method opens a dialog box for the user to either update the field in all the sub projects or only in sub projects that have the same original value as the original value in current parent project.