0 Replies Latest reply on Sep 20, 2013 5:27 AM by Govindan

    Fetch Calculated Project UDF Field through Java API

    Govindan

      Hi,

       

      I have a project UDF field which is formula type.

      I am trying to fetch the value of this field through Java API but it the value is always null.

      Is it possible to fetch the value of calculated UDF Field?

       

       

      Example:

       

      Project UDF Field:

       

      UDF Name: "UDF_SAMPLE_ONE",

      DataType: Number ,

      Type: Formula

      Formula: PlannedDuration+1

       

      Code:

       

      BOIterator<UDFValue> values; = proj.loadAllUDFValues(new String[]{"IsUDFTypeCalculated","Double","UDFTypeDataType","FinishDate","StartDate","UDFTypeTitle"}, "UDFTypeTitle in ('UDF_SAMPLE_ONE')", null);

      boolean status = values.hasNext(); //always false

       

       

       

      Thanks

      Govindan P