Inquiry about the Data Conversion Service ToJDEDecimal. I've pretty much switched to using the expression during the query to the database rather than this service but I was curious what the Dictionary parameter here is supposed to be. Its required and during our meeting today, we were all curious about it.
I'm attempting to change RPAG (Amount-Gross, Numeric) to contain decimal points rather than display as an integer.
Re: ToJDEDecimal Parameters
Posted: March 17th, 2022, 4:49 pm
by SteveCap
Dictionary gets mapped to the FRDTAI column from the F9210 table for the majority of precisions. For currency it is mapped to CVCRCD in the F0013 table
Re: ToJDEDecimal Parameters
Posted: March 29th, 2022, 12:44 pm
by shalomsims
Is this what you mean? Or would we need to create another Inquire service for CurrencyCode and Dictionary?
Re: ToJDEDecimal Parameters
Posted: March 29th, 2022, 3:14 pm
by SteveCap
The service is going to run a query like:
SELECT FRCLAS, FRCDEC FROM F9210 WHERE FRDTA = {Dictionary}
If it finds a record and the FRCLAS column = 'currency' it will then run a query like:
SELECT CVCDEC FROM F0013 WHERE CVCRCD = {CurrecnyCode}
Re: ToJDEDecimal Parameters
Posted: April 7th, 2022, 4:51 pm
by mollydunn
I'm still a little confused on how to fill out the service itself specifically the Dictionary and Currency code values. Is it necessary to create another inquire service?
Re: ToJDEDecimal Parameters
Posted: July 26th, 2023, 12:46 pm
by JustinVanRegenmorter
Here is some documentation on how to setup and use this service.