Skip to Content
0

[Activate] Query for node 'Root': Use of data type '' is not supported in queries

Mar 20, 2017 at 12:45 PM

96

avatar image

Hi Experts,

I have a custom bo as below:

businessobject SalesCallsTagging {
[Label("Phone Number")]element PhoneNumber:LANGUAGEINDEPENDENT_EXTENDED_Text;
[Label ("SKU")]element SKU:ProductID;
[Label("Comments")]element Comments:LANGUAGEINDEPENDENT_EXTENDED_Text;

}

For this BO created a query and used in OWL to display fields. Its working fine.

Now, a new business requirement to add a new field with datatype ID . So I updated BO as below :

businessobject SalesCallsTagging {
[Label("Unique Id")][AlternativeKey]element UniqueId:ID;
[Label("Phone Number")]element PhoneNumber:LANGUAGEINDEPENDENT_EXTENDED_Text;
[Label ("SKU")]element SKU:ProductID;
[Label("Comments")]element Comments:LANGUAGEINDEPENDENT_EXTENDED_Text;

}

Activated successfully, but it gives a warning message as Warning1[Activate] Query 'SalesCallsTaggingOverview' for node 'Root': Use of data type '' is not supported in queries

I ignored the warning message and added the newly added field in my Query , but executing query doesn't reflect the new field values.

What is wrong here and how can I proceed by adding new field and in query.

Thanks in advance.

Regards,

Resmi

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Horst Schaude
Mar 21, 2017 at 01:36 PM
0

Hello Resmi,

I did exact the steps you described and got no warnings.

Maybe there is a new version of the SDK?

Bye,
. Horst

Show 2 Share
10 |10000 characters needed characters left characters exceeded

Hi Horst,

I also got the same error. I have a BO as below.


businessobject Seller {

[Label("ID")][AlternativeKey] element InternalID:ID; [Label("External ID")] element ExternalID:LANGUAGEINDEPENDENT_SHORT_Name; [Label("Description")] element description:LANGUAGEINDEPENDENT_EXTENDED_Text; [Label("Country")] element country:CountryCode; [Label("Obsolete")] element obsolete_indicator:Indicator; }

When I activate the business object, there is no issue.

However, when I create a custom query, and have all the fields in both Selection, Basic Find and Result options, I get the error

Warning1[Activate] Query 'CustomQuery' for node 'Root': Use of data type '' is not supported in queries

I am using PDI version 1702.

Thanks,

Edmund

0

Hello Edmund,

The mark in the "Basic Find" column was neccessary to reproduce the message.

@Resmi: You can ingore this message.
I will provide a fix with the next release which will be 1708.

Thanks,
. Horst

0