Nama ERP DocsNama ERP Docs
Home
Namasoft.com
Data Model
GitHub
Home
Namasoft.com
Data Model
GitHub
  • Home

    • Search
    • Guides

      • List Views
      • Entity Flows
      • الفواتير والضرائب والخصومات
      • Supply Chain
      • Manufacturing
      • e-commerce integration (Magento)
      • .
    • Examples
    • Reprocessing Transactions
    • Frequently Asked Questions
    • AI Generated Entity Flows Documentation

      • Core
      • Accounting Module
      • AI Module
      • Contracting Module
      • CRM Module
      • EGTax Reader Module
      • Freight Management System Module
      • Hospital Management System Module
      • HR Module
      • e-commerce Integration Module
      • Manufacturing Module
      • POS Module
      • Real Estate Module
      • Service Center Module
      • Supply Chain Module

        • EAApplyReservationOfDocsByQuery
        • EAAutoCreateSCDocSecondSerial
        • EAAutoCreateSCDocSerial
        • EAAutoGenSCDocFromDocWithFieldsMap
        • EAAutoGroupCloneItemFromPO
        • EAAutoSerialNumberCalculator
        • EACancelReservationOfDocsByQuery
        • EACollectAlItem
        • EACollectByItemDimension
        • EACollectLot
        • EACollectStockDocsIfEmpty
        • EACopyItemAssortmentToSCLine
        • EACopyRackCodeFromStockTaking
        • EACopyRevisionFromFromDoc
        • EACopyTaxesFromFromDoc
        • EACopyUnitCostFromInvoiceToIssueDoc
        • EAEGBRASSFixCreationDates
        • EAFillSCDetailsByBarCodeSpecs
        • EAGenAndItemSizesAndColorsAndRevisions
        • EAGenSCDocFromDocWithFieldsMap
        • EAGenSCDocFromDocWithFieldsMapWithoutFlush
        • EAGuessSourceLineByItemIdAndFreeItem
        • EAGuessSourceLineIdByItem
        • EAImportItemsFromLongTextField
        • EALotCalculator
        • EAMultiCustomerSalesOfferCreator
        • EANotifyIfSSLCertificateAboutToExpire
        • EAPreventChangingSCDocumentCriticalFields
        • EAPreventQtyLessThan
        • EAPreventQtyMoreThan
        • EAPreventRepeatedItems
        • EAPreventRepeatedValuesAtDetail
        • EAReApplyQtyTrackingEffects
        • EARecalcFreeLinesUnitPriceIfZero
        • EARecalcPurchasePrices
        • EARecalcSalesDocDiscounts
        • EARecalcSalesDocUnitPrices
        • EARecalcSalesDocUnitPricesAndDiscounts
        • EARecalculateAdditionalCost
        • EARegenAssemblyDocumentDetailsFromBOM
        • EARegenInvTransReq
        • EARegenInvTransReqFromQuery
        • EAReplaceItemBoxInSystem
        • EAReplaceItemColorInSystem
        • EAReplaceItemSizeInSystem
        • EASCDocFromDocCreator
        • EASCDocFromDocDeleter
        • EASCPreventChangingFromDocFields
        • EASalesRecalculateFreeAndRelatedItems
        • EASendCustomerToDatanuum
        • EASendInvItemToDatanuum
        • EASendInvoiceToDatanuum
        • EASendReturnedInvoiceToDatanuum
        • EASetDefaultWarehouseForServiceItems
        • EASpreadAssemblyComponents
        • EASubolSetMasterRowIdOfFreeItems
        • EASupplyChainMergeDocLines
        • EASupplyChainMergeStockTakingElectronicDocLines
        • EAUnZipSerialsInLines
        • EAUniCreteGenAssemblyBOM
        • EAUniCreteGenItems
        • EAUniCreteGenSalesInvoiceFromStockIssue
        • EAUniCreteSetQtyOfSlaveRowsAsMaster
        • EAUnicreteGenItemsAllAllowMustApply
        • EAUpdateDeliveryStatusFromSalesDocToFromDoc
        • EAUpdateLotIdDates
        • SetQuantityToOneAction
        • SetSecondUOMToDefaultIfEmpty
        • UniqueBOXInsideStockReceipt
        • ValidateSorceLinesOfFromDocAction
        • .
      • .
    • Release Notes

      • 2016
      • 2017
      • 2018
      • 2019
      • 2020
      • 2021
      • 2022
      • 2025
      • .
    • Video Tutorials

      • Supply Chain Videos
      • Report Wizard Videos
      • Human Resources Videos
      • .

EAUnicreteGenItemsAllAllowMustApply

This document was generated using Claude.ai

Overview

Enhanced version of the item generation process with stricter allow rule enforcement. Generates inventory items based on item class hierarchies but applies more restrictive validation where all allow rules must be satisfied at each hierarchical level, ensuring that every item class in the combination must be explicitly allowed.

When This Action Runs

Manual execution on item sections or item classes when strict item generation is needed with comprehensive allow rule validation, typically used when business rules require that every item class level must be explicitly permitted rather than just having any applicable allow rule.

How It Works

  1. Inherits base functionality - Uses all features from EAUniCreteGenItems for tree building and item creation
  2. Enhances allow rule validation - Overrides the allowRangeApplicable method with stricter logic:
    • Groups allow rules by item class level (section, class1, class2, etc.)
    • For each item class in the combination, checks if it appears in the allowed set for its level
    • Requires that ALL item classes must be explicitly allowed at their respective levels
    • Rejects combinations where any class level is not explicitly permitted
  3. Applies level-by-level validation - Ensures comprehensive rule coverage across all hierarchy levels
  4. Maintains parent processing - All other item generation logic remains identical to parent class

Parameters

Parameter 1: Test Only (Optional) - true to skip item creation, empty to create items

Parameter 2: Log Into Field (Optional) - Field name to log generation details and tree structure

Parameter 3: Mark Items for Deletion (Optional) - true to mark unused items in description5 field

Parameter 4: Delete Unneeded Items (Optional) - true to actually delete items not in generated set

Database Tables Affected

  • InvItem - Creates new items or updates existing item classifications
  • Item Classes (1-10) - Reads class hierarchies and relationships (read-only)
  • ItemSection - Reads section configurations and settings (read-only)
  • ItemClassRange - Reads allow/disallow relationship rules with stricter validation (read-only)
  • UOMGroup - Reads unit of measure group configurations (read-only)

Module: supplychain

Full Class Name: com.namasoft.modules.supplychain.domain.utils.plugnplay.EAUnicreteGenItemsAllAllowMustApply

Parent Class: EAUniCreteGenItems

Input Type: Item Classes or Item Sections

Related Actions:

  • EAUniCreteGenItems - Base item generation functionality
  • EAUniCreteGenAssemblyBOM - Related BOM generation
  • Item classification management actions
Edit On github
Last Updated:: 3/18/26, 11:30 PM
Prev
EAUniCreteSetQtyOfSlaveRowsAsMaster
Next
EAUpdateDeliveryStatusFromSalesDocToFromDoc