How to Process a Validate BOM Flags in iDempiere

Introduction

Validate BOM Flags is a standard iDempiere process that verifies whether the Is BOM flag on each product correctly reflects the presence of a valid Bill of Materials (BOM), automatically correcting mismatches.

It is used to clean up inconsistent manufacturing master data that can arise from manual changes, data imports, or deletion of BOM records, ensuring products are correctly identified for manufacturing.

Business Rules

  • A product with one or more valid BOM component lines is automatically flagged as Is BOM = Yes.
  • A product without any BOM component lines is automatically flagged as Is BOM = No.
  • A BOM header without component lines is treated as an invalid BOM.
  • The process updates only the Is BOM flag; it does not create, modify, or delete BOM records.
  • If a Product Category is specified, only products within that category are validated.
  • If no Product Category is selected, all products belonging to the current client are validated.

Prerequisites

  • The Manufacturing module must be configured.
  • Products and BOMs must already be created.
  • The user must have appropriate permissions to execute manufacturing processes.
  • BOM maintenance activities should be completed before running this process.

Configuration Steps

Step 1: Set Process Parameters

    This step scopes the validation to a specific Product Category, or leaves it unscoped to validate all products for the client.

    Open Validate BOM Flags. Optionally select a Product Category to limit the scope, and optionally check Run as Job to execute in the background.

    FieldSample ValueDescription
    Product CategoryBiscuits & CookiesOptional. Validates only products belonging to the selected Product Category; if left blank, all products are validated.
    Run as JobNoExecutes the process as a background job instead of running immediately.

    Step 2: Execute the Process

      This step runs the validation scan against the selected scope of products.

      Click Start (OK). The system scans products within the selected scope, comparing each product’s Is BOM flag against its actual BOM component lines.

      Products with valid BOM lines are flagged as Is BOM = Yes, and products without valid BOM lines are flagged as Is BOM = No. No BOM records are created, modified, or deleted by this step.

      Step 3: Review the Process Log

        This step confirms which products were updated by the validation run.

        After execution, open the Process Log to review the list of products whose Is BOM flag was changed, along with the reason for each change.

        ProductLog Entry
        Gaming PCGaming PC has been flagged as BOM as it has BOM lines.
        BicycleBicycle has been flagged as NonBOM as it has no lines.

        The Is BOM flag on each affected product now accurately reflects whether it has a valid Bill of Materials.

        Example: Before and After Validation

        ProductIs BOM (Before)BOM LinesIs BOM (After)
        BicycleYesNoNo
        Gaming PCNoYesYes
        Office ChairNoNoNo
        Dining TableYesYesYes

        Common Issues and Resolutions

        IssueCauseResolution
        Product remains Non-BOMThe BOM has no active component linesVerify that the BOM contains at least one active BOM component line.
        Product unexpectedly changed to Non-BOMBOM component lines were removed or the BOM is incompleteCheck whether all BOM component lines were removed or the BOM is incomplete.
        No products updatedSelected Product Category contains no BOM productsConfirm that the selected Product Category contains BOM products, or run the process without a Product Category filter.
        Manufacturing product not recognizedProduct lacks a valid BOM with component linesEnsure the product has a valid BOM with component lines and rerun the process

        Next Steps

        After validating BOM flags, the typical follow-up sequence includes creating or maintaining Bills of Materials, creating Production Orders, running Material Requirements Planning (MRP), performing Manufacturing Cost Rollup, and executing manufacturing transactions.

        Related windows include Product, Bill of Materials, Production Order, and MRP configuration under Manufacturing Management.