Share via


ProjTable::editSubProjects Method

Updates a field in subprojects that are children of the current project record.

Syntax

server public static void editSubProjects(
    ProjId _parentProject, 
    FieldId _fieldId, 
    anytype _newValue, 
    ProjTableEditSubProj _editAll, 
   [anytype _formerValue, 
    ArrayIdx _arrayIdx])

Run On

Server

Parameters

  • _newValue
    Type: anytype
    The new value to update the field ID in the subprojects.
  • _editAll
    Type: ProjTableEditSubProj Enumeration
    A Boolean value that indicates whether all subprojects or only projects that have the same value as the original value of the current parent project will be updated.
  • _formerValue
    Type: anytype
    The original fieldId value for the parent project; optional.

Remarks

This method either updates the field in all the subprojects or only in subprojects that have the same original value as the original value in current parent project.

See Also

Reference

ProjTable Table