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

        • EACRMContractBodyShapersCheckIn
        • EACRMDevReqPadLeftRelativeWeight
        • .
      • 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
      • .

EACRMDevReqPadLeftRelativeWeight

This document was generated using Claude.ai

Overview

Formats the relative weight field in CRM development requests by padding it with leading zeros to a specified length. Ensures consistent numeric formatting for prioritization, sorting, or display purposes in development request management.

When This Action Runs

Manual execution for standardizing relative weight values in development requests, typically used during data cleanup, import processes, or when consistent formatting is required for reporting and prioritization.

How It Works

  1. Determines padding length - Uses specified parameter value or defaults to 4 characters
  2. Checks field existence - Verifies that the relative weight field contains a value
  3. Converts to integer - Parses the existing relative weight value as an integer
  4. Applies left padding - Adds leading zeros to reach the specified total length
  5. Updates field - Replaces the original relative weight with the padded version

Parameters

Parameter 1: Length to Pad (Optional) - Total character length for the padded relative weight (default: 4)

Usage Examples

With default padding (4 characters):

  • Original: "5" → Result: "0005"
  • Original: "12" → Result: "0012"
  • Original: "100" → Result: "0100"

With custom padding (6 characters):

  • Original: "5" → Result: "000005"
  • Original: "123" → Result: "000123"

Database Tables Affected

  • CRMDevelopmentRequest - Updates the relative weight field with padded formatting

Module: crm

Full Class Name: com.namasoft.modules.crm.domain.entities.EACRMDevReqPadLeftRelativeWeight

Edit On github
Last Updated:: 3/18/26, 11:30 PM
Prev
EACRMContractBodyShapersCheckIn
Next
.