Skip to main content
Question

IFSCURRENCY vs CURRENCY


durette
Superhero (Customer)
Forum|alt.badge.img+19
  • Superhero (Customer)
  • 525 replies

If I’m building an entity file on the customization layer, I see the DATATYPE supports both IFSCURRENCY and CURRENCY. What’s the difference between these? Which is preferred?

To my surprise, most of the standard pricing and costing fields are NUMBER, so when is it recommended to use one of these currency formats when creating a new field?

3 replies

hamalk
Superhero (Employee)
Forum|alt.badge.img+13
  • Superhero (Employee)
  • 221 replies
  • June 20, 2024

hi @durette 

 

refer to following link in Technical doc: 

https://docs.ifs.com/techdocs/24r1/060_development/022_user_interface/030_aurena_dev/130_aurena_component_reference/110_projection_controls/entity/#fetch

 

Format

Formatting for field:

attribute RoleName Text {  
   format = uppercase;  
}  

The following formatting options are available:

  • decimal
  • ifscurrency
  • lowercase
  • percentage
  • uppercase

Number of decimal and use of grouping (thousands separator) are currently hardcoded as below:

IFSCURRENCY: 2 decimals without grouping (Default settings in IEE)

DECIMAL: 2 decimals with grouping (Default for most regional setting on windows.)


durette
Superhero (Customer)
Forum|alt.badge.img+19
  • Author
  • Superhero (Customer)
  • 525 replies
  • June 20, 2024
hamalk wrote:

hi @durette 

 

refer to following link in Technical doc: 

https://docs.ifs.com/techdocs/24r1/060_development/022_user_interface/030_aurena_dev/130_aurena_component_reference/110_projection_controls/entity/#fetch

 

Format

Formatting for field:

attribute RoleName Text {  
   format = uppercase;  
}  

The following formatting options are available:

  • decimal
  • ifscurrency
  • lowercase
  • percentage
  • uppercase

Number of decimal and use of grouping (thousands separator) are currently hardcoded as below:

IFSCURRENCY: 2 decimals without grouping (Default settings in IEE)

DECIMAL: 2 decimals with grouping (Default for most regional setting on windows.)

In the baseline checkout 23.2.5, I see 273 instances of IFSCURRENCY and 88 instances of CURRENCY, so IFS R&D is using an undocumented format.

PS C:\redacted\23.2.5\checkout> Get-ChildItem -recurse -file -path '*.entity' | Select-String -SimpleMatch '<FORMAT>IFSCURRENCY</FORMAT>' | Measure-Object

Count             : 273
Average           :
Sum               :
Maximum           :
Minimum           :
StandardDeviation :
Property          :

PS C:\redacted\23.2.5\checkout> Get-ChildItem -recurse -file -path '*.entity' | Select-String -SimpleMatch '<FORMAT>CURRENCY</FORMAT>' | Measure-Object

Count             : 88
Average           :
Sum               :
Maximum           :
Minimum           :
StandardDeviation :
Property          :

PS C:\redacted\23.2.5\checkout>

 


hamalk
Superhero (Employee)
Forum|alt.badge.img+13
  • Superhero (Employee)
  • 221 replies
  • June 25, 2024

 hi @durette 

 

the documentation link is about the formatting options available for the NUMBER attributes in projection level as shown below : 

 

And in ENTITY files you have the following set of formatting options available for NUMBER type attributes

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings