on 04-01-2009 1:31 PM
Hi,
I am using MDM java API to insert record into MDM repository. I want to insert fields of type real and measurement.
What types i can use in webdynpro to insert values into these fields.
Kindly suggest.
Hi prashanthi,
please use the below code to get the unit ID.
UnitId unitId = new UnitId(1);//u need to check by putting values like 1,2,3,4,5 etc.
and see what value got inerted by using these digits.
hope this will help.
Regards
Narendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Inserting real type field is solved with using float.
For below constructor how will i get the Unit ID.
MeasurementValue(double value, UnitId unitId)
Thanks,
Prasanthi.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The MeasurementValue constructor takes a double, for real type fields you will use a FloatValue object which takes a float in the constructor. You can also make context attributes of type MeasurementValue and FloatValue if that makes sense for your application.
-Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.