Class SupplierPartHelper

java.lang.Object
com.ptc.windchill.suma.part.SupplierPartHelper

public class SupplierPartHelper extends Object
Provides static helper methods as well as access to SupplierPartService methods.

Supported API: true

Extendable: false
  • Field Details

  • Method Details

    • isOEMPart

      public static boolean isOEMPart(WTPart part) throws WTException
      Tests if a WTPart is an OEM part. A WTPart is an OEM Part if it is either a single source or multi source OEM part. See SumaConfigHelper for detail.

      Supported API: true
      Parameters:
      part -
      Returns:
      boolean
      Throws:
      WTException
    • isSingleSourceOEMPart

      public static boolean isSingleSourceOEMPart(WTPart part) throws WTException
      Tests if a WTPart is a single source OEM part. It is not considered a problem for a single source OEM part to have only one manufacturer source. See SumaConfigHelper for configuration detail.

      Supported API: true
      Parameters:
      part -
      Returns:
      boolean
      Throws:
      WTException
    • isMultiSourceOEMPart

      public final boolean isMultiSourceOEMPart(WTPart part) throws WTException
      Tests if a WTPart is a multi source OEM part. It is considered a problem for a multi source OEM part to have only one manufacturer source. See SumaConfigHelper for configuration detail.

      Supported API: true
      Parameters:
      part -
      Returns:
      boolean
      Throws:
      WTException