IsLotAssemblyDescendant (IMaterial)

Returns a value indicating whether the defined material lot is the descendant of a root material lot within an assembly.

PropertyValueDescription
Descendant Lot IDGUIDSpecifies the ID of the assembly material lot whose relationship with the root material lot defined in the Lot ID field you want to check.
Lot IDGUIDSpecifies the ID of the root material lot whose relationship with the assembly material lot defined in the Descendant Lot ID field you want to check.
Max DepthInt32Specifies the maximum number of relationship levels to check between the defined assembly and root material lots.

OutputsValueDescription
 BooleanReturns True if the assembly material lot and root material lot are related, within the defined maximum depth; returns False if there is no relationship between the specified material lots within the defined maximum depth.