Skip to main content
Question

Error while retrieving joining SQL views

  • October 31, 2024
  • 5 replies
  • 42 views

Forum|alt.badge.img+9
  • Sidekick (Customer)
  • 141 replies

Hello,

 

how can I join two tables together if they dont have common column and they dont have the same number of columns? 

5 replies

Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • 141 replies
  • October 31, 2024

I want join view ECO_REQUEST in any of the appropriate view in entity ManufStructAlternate. 


Forum|alt.badge.img+6
  • Hero (Employee)
  • 35 replies
  • October 31, 2024

You don’t need to have the same number of columns to join two tables, but you need some sort of relationship between the two. Can you elaborate more on what you are trying to achieve here ? 


Forum|alt.badge.img+9
  • Author
  • Sidekick (Customer)
  • 141 replies
  • October 31, 2024

I want do display column from view ECO_REQUEST in any of the appropriate views in entity ManufStructAlternate, but  ECO_REQUEST dont share same column in any of the appropriate views in this entity. 


MWitczak
Hero (Customer)
Forum|alt.badge.img+10
  • Hero (Customer)
  • 60 replies
  • October 31, 2024

More information is needed - as @Trewon indicated, can you tell the forum how the data in ECO_REQUEST is related to ManufStructAlternate?  That is, how is a record from ECO_REQUEST going to be “matched up” to a correlating ManufStructAlternate record?


WyrDavidB
Hero (Partner)
Forum|alt.badge.img+8
  • Hero (Partner)
  • 74 replies
  • October 31, 2024

@Ed22 - more info needed for sure - BUT - you may be able to use an API call to ECO_REQUEST_API.GET_XXX(a,b,c)


to grab the field you need from the eco_request view where XXX is the name of the field and a, b and c are field names required to populate the get (this is assuming there is an eco_request_api).

 

Otherwise, you’ll probably need to find an additional view which allows you to make the link from ECO_REQUEST to the manufStructAlternate

 

If you can provide more detail of where the data you are trying to link is shown in the IFS client that will help the community to give you better advice.

 

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings