Quantcast
Viewing all articles
Browse latest Browse all 8451

Re: Custom price field validation

Hi Matteo,

 

Yes, you can achieve your requirement for custom field Z_PRICE as below

  • Let us say you have added a field Z_PRICE inside structure BBPS_CTR_HEADER
  • Now, you need to define the currency reference from same structure BBPS_CTR_HEADER
  • Hope, your context node is created using structure BBPS_CTR_HEADER, then system automatically converts the currency decimals based on reference key of same structure BBPS_CTR_HEADER

 

If on_enter event is not triggered, create an event handler DUMMY and attach to the field Z_CURRENCY. So that on an enter event, framework renders the view by updating decimal places based on key

 

Hope this helps you.

 

Regards,

Rama


Viewing all articles
Browse latest Browse all 8451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>