1

There are times where an engineering team will need to track the version of a purchased part. Currently, the Engineering product category details does not allow 'None' to be selected on the Production type.


This should be a simple change:

Form: EngChgProductCategoryDetails

Method: hideInvalidProductionTypes


  private void hideInvalidProductionTypes()

  {

    SysDictEnum   dictEnum;

    PmfProductType pmfProductType;

    int       enumCount;


    dictEnum = new SysDictEnum(enumNum(PmfProductType));

    pmfProductType = dictEnum.firstValue();


    while (enumCount < dictEnum.values())

    {

      if (pmfProductType != PmfProductType::BOM &&

        pmfProductType != PmfProductType::Formula &&

pmfProductType != PmfProductType::None &&

        pmfProductType != PmfProductType::MainItem)

      {

        ProductDefaultsGroup_PmfProductType.delete(enum2Str(pmfProductType));

      }


      pmfProductType = dictEnum.nextValue(pmfProductType);

      enumCount++;

    }

  }

STATUS DETAILS
New