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

    • Search
    • Guides

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

      • Core

        • DeleteRelatedEntityAction
        • EAAllowUseAsFromDocOfAField
        • EAAltCodeValidator
        • EAAttachReportResultToRecord
        • EAAutoCollectSignAndSentEInvoice
        • EAAutoEscalateApprovalToFallBackEmployee
        • EAAutoEscalateApprovalToSupervisor
        • EAAutoSendEInvoice
        • EAAutomaticGenerateEntityFromEntityAction
        • EAAutomaticGenerateEntityFromEntityActionWithApproval
        • EACacheEvicter
        • EACalcCurrencyRate
        • EACalcCurrencyRateInDetails
        • EACheckAndUpdateLinkAtOnlinePaymentTransactionSysEntry
        • EACheckDailyBackupOnGoogleDrive
        • EAClearGoogleDriveTrash
        • EACloseFiscalPeriodsInRange
        • EACodeValidator
        • EACopyEmptyAccountsFromBag
        • EADeleteFromAnotherServer
        • EADeleteFromQuery
        • EADeleteOldFiles
        • EADetailsRemover
        • EAEmptifyTomcatTemp
        • EAErrorIfQueryNotMatched
        • EAExecuteUpdateQuery
        • EAExecuteUpdateQueryOnDifferentDatasource
        • EAExportAttachments
        • EAFieldsValuesCalculator
        • EAForceApplyInstallmentEffects
        • EAGenerateDraftEntityFromEntityAction
        • EAGenerateDraftEntityFromEntityActionNoFlush
        • EAGenerateEntityFromEntityAction
        • EAGenerateEntityFromEntityActionNoFlush
        • EAGenerateEntityFromEntityActionNoFlushWithApproval
        • EAGenerateEntityFromEntityActionWithApproval
        • EAGenerateKNetPaymentURLs
        • EAGenerateMyFatoorahPaymentURLs
        • EAGroovyAction
        • EAGuessEntityFromNames
        • EAIgnoringNotFoundTargetFieldsValuesCalculator
        • EAJsonRecordExporter
        • EALoyalityEarnReward
        • EAMakeCreationDateAlwaysAfter
        • EAMakeCreationDateAlwaysBefore
        • EAMakeCreationDateAlwaysBetween
        • EAMakeCreationDateInValueDate
        • EANamaCloudBackupPrepare
        • EAOpenFiscalPeriodsInRange
        • EAPostGoPayOfflinePayment
        • EAPreventChangingFields
        • EAPreventFromDocOfUsageAgain
        • EAPreventUpdateDetailedRemarkLines
        • EAPreventUseAsFromDocOfAField
        • EAPrintFormToPrinter
        • EAPrintReportToPrinter
        • EARecommitFromQuery
        • EARefreshCriticalErrors
        • EARefreshGoogleDriveOrMailToken
        • EARegenAccEffects
        • EARegenAccFromQuery
        • EAReviseUnReviseFromQuery
        • EARevokeApproval
        • EARunEntityFlow
        • EARunEntityFlowFromQuery
        • EARunManualNotification
        • EARunManualNotificationFromQuery
        • EARunTaskSchedule
        • EASQLToCSVEmail
        • EASQLToCSVFile
        • EASaveDraftsFromQuery
        • EASaveRecordsFromQuery
        • EASaveToAnotherServer
        • EASaveToAnotherServerUsingJSON
        • EAScaleImage
        • EAScaleMasterFileImage
        • EASendHttpRequestByTempo
        • EASetCreationDateToEndOfDay
        • EASetCreationDateToStartOfDay
        • EASetFieldByTemplate
        • EASortFields
        • EAWathqAddressFetcher
        • EAWathqBasicInfoFetcher
        • EAWathqCommercialInfoFetcher
        • EAWordTemplate
        • SQLDraftImporter
        • SQLDraftImporterFromDifferentDataSource
        • SQLImporter
        • SQLImporterFromDifferentDataSource
        • Field Maps in Nama ERP - Complete Guide (AI-Generated by Claude.ai)
        • .
      • 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
      • .
    • Release Notes

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

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

EAGenerateEntityFromEntityAction

This document was generated using Claude.ai Please review the human-written page at Field Values Calculator

Overview

Creates new entities from existing entities with full database commitment. Core action for most document generation workflows providing field mapping, conditional processing, and automatic persistence.

When This Action Runs

Manual execution or automated through entity flows requiring full document generation with immediate commitment.

How It Works

  1. Analyzes source entity for data extraction
  2. Maps fields from source to target based on configuration
  3. Searches for existing target entities using finder SQL
  4. Creates or updates target entity with mapped values
  5. Commits to database with full validation and business rules
  6. Triggers workflows and related processes

Key Parameters

  • Parameter 1: Target Type (Required) - Entity type to create (e.g., SalesInvoice, CreditNote)
  • Parameter 2: Finder SQL (Required) - Query to find existing entity for updates
  • Parameter 3: Field Map (Optional) - Field mapping configuration (targetField=sourceValue)
  • Parameter 4: Update Only (Optional) - Only update existing entities, don't create new
  • Parameter 5: Inverse Copy (Optional) - Copy fields back from generated to source entity
  • Parameter 6: Run Per Each Line (Optional) - Execute for each collection item
  • Parameter 7: Insert Only (Optional) - Only create new entities, don't update existing
  • Parameter 8: Apply When Query (Optional) - Conditional logic for generation
  • Parameter 9: Group Details By (Optional) - Group detail lines by criteria
  • Parameter 10: Run Only If (Optional) - Execute only if expression returns > 0

Database Tables Affected

  • Target Entity Table - Creates/updates records with full commitment
  • Source Entity Table - May update via inverse copy configuration
  • Detail Collections - Generates detail lines based on source collections
  • Related Tables - Updates cross-references and relationships

Important Warnings

⚠️ Immediate Commitment

  • Generated entities are immediately committed and cannot be easily rolled back
  • All validation rules must be satisfied before generation
  • May trigger immediate downstream processes and workflows

⚠️ Performance Impact

  • Complex field mappings and SQL queries impact system performance
  • Large datasets require careful optimization
  • Monitor database resource usage during operations

⚠️ Dependencies

  • Generated entities may trigger multiple downstream processes
  • Field mappings must maintain data consistency
  • Requires proper testing and validation

Related Actions

  • EAGenerateDraftEntityFromEntityAction
  • EAGenerateEntityFromEntityActionNoFlush
  • EAAutomaticGenerateEntityFromEntityAction
  • EAGenerateEntityFromEntityActionWithApproval
  • EAGenerateEntityFromEntityActionNoFlushWithApproval
  • EAAutomaticGenerateEntityFromEntityActionWithApproval

Module: core

Full Class Name: com.namasoft.infor.domainbase.util.actions.EAGenerateEntityFromEntityAction

Edit On github
Last Updated:: 7/27/25, 8:34 PM
Prev
EAGenerateDraftEntityFromEntityActionNoFlush
Next
EAGenerateEntityFromEntityActionNoFlush