Skip to content

Conversation

@anveshmupparaju
Copy link
Contributor

CustomCurrencyUtils

Purpose

CustomCurrencyUtils.js provides utility functions for handling custom currency operations within your application. It facilitates formatting, parsing, and conversion of currency values, supporting both standard and custom currency types. These utilities help ensure consistency and accuracy when displaying or processing monetary values, especially in scenarios involving multiple currencies are enabled.

Usefulness

  • Centralizes currency-related logic, reducing code duplication.
  • Simplifies integration of custom currencies by abstracting formatting and conversion details.
  • Enhances maintainability by providing a single location for currency utilities.
  • Improves user experience by ensuring currency values are presented clearly and consistently.

Usage

  1. Get Currency value in reference currency:
    var ref_currency = new CustomCurrencyUtils().getReferenceValue('<sys_id>', '<your_field>');

@am-shakeel am-shakeel self-assigned this Oct 1, 2025
Copy link
Contributor

@am-shakeel am-shakeel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can see the already committed PR - #1643

Thanks for your submission. It appears that this pull request contains more files than described in the title. Please review and update the pull request to either remove the extra/unintended files or to update the description to be more comprehensive. Ensure your contributions are meaningful and adhere to the project’s standards.
You can create a new branch on your forked repository to avoid accidental inclusions of new commits in the future.
Closing this for now. Once you make additional changes, feel free to re-open this Pull Request or create a new one.

@am-shakeel am-shakeel closed this Oct 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants