We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Use of complex UNION select query in Value set with validation type = table

Question
12
Views
0
Comments
edited Nov 5, 2020 6:28PM in Order Management

Summary

Objective : To group in one value set all the statuses setup in SCM Cloud (DOO_STATUSES, HOLD_CODE and CANCEL_REASON_CODE)

Content

Hello team, 

I need to create a custom value set with validation type = table.
The table would be the UNION of 3 tables like below.
The objective is to get all the statuses of SCM cloud in one attribute managed by this custom value set.

Here is the SQL query which work with BIPublisher, and that I want to use in the value set.

Thank you for your advices

select ALLSTATUSES.Code, ALLSTATUSES.Description
from(
select 
ds.status_code as Code, 

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!