Primavera Webservice ExportService exclude UDF fields
Hello,
I am using Primavera Webservices 16.2. When using the ExportService and setting UDFType, UDFCode and UDFValue to setInclude(false), in the returned export Project data I do not see the global UDFs (which is correct) but I do see empty UDF nodes from other objects like Activities and WBSs.
How do prevent exporting of Activity and WBS UDF fields/values?
I am using the code below:
com.primavera.ws.p6.export.UDFType udfType= new com.primavera.ws.p6.export.UDFType();
udfType.setInclude(false);
businessObjectOptions.setUDFType(udfType);
com.primavera.ws.p6.export.UDFType udfCode= new com.primavera.ws.p6.export.UDFCode();