How to get customer language using SuiteQL

How to get customer language using SuiteQL. Am using below but getting the error.

 

{
“q”: “SELECT c.language as lan FROM customer as c”
}

 

{
“type”: “https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1”,
“title”: “Bad Request”,
“status”: 400,
“o:errorDetails”: [
{
“detail”: “Invalid search query. Detailed unprocessed description follows. Search error occurred: Field ‘language’ for record ‘Customer’ was not found. Reason: NOT_EXPOSED – Target record for relationship field failed to be provided.\n\nCaused by: \n’RELATIONSHIP_STATE: Flanguage failed to be provided\n Reason: NOT_EXPOSED\nMessage: Target record is not available\n\nCaused by: \n’RECORD: Language failed to be provided\n Reason: NOT_EXPOSED\nMessage: Not available for Channel ‘SEARCH”’\n.”,
“o:errorQueryParam”: “q”,
“o:errorCode”: “INVALID_PARAMETER”
}
]
}

Rookie Asked on October 15, 2020 in SuiteCloud.
Add Comment
0 Answer(s)

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor