Dear Community,
While developing on a ByDesign tenant, I am trying to retrieve all Customers using the standard query Customer.QueryByIdentificaion.
By following these steps, I was able to make it possible to use a a customer-specific field to as a query parameter for the standard query:
https://blogs.sap.com/2016/06/01/how-to-add-custom-field-to-standard-query-as-parameter-2/
The KUT field is of the type "Text".
If I add the following query parameter to my query, all Customer objects are being retrieved.
query_customer_params.Add(query_customer.C4CInternalID_EA8AE8AUBVHCSXVYS0FJ1R3ON, "I", "EQ","")
I want to retrieve all customer objects on which this field is Initial.
Unfortunately
query_customer_params.Add(query_customer.C4CInternalID_EA8AE8AUBVHCSXVYS0FJ1R3ON, "I", "GT","1")
produces a screen dump.
Can someone help me?
Hello Dominik,
Did you add the Extension Field via "References to Customer-Specific Fields" to the solution?
HTH,
. Horst
Hello Horst,
thank you for your quick reply. Yes I did.
It is accessible on the node
Customer.CurrentCommon
Best wishes
Dominik