Skip to main content
Solved

Distribution Order Coordinator Field In Shipment Data

  • February 23, 2021
  • 11 replies
  • 129 views

Forum|alt.badge.img+7

Good Afternoon

I am trying to pull in the DO Coordinator Field into my Shipment Data Set, i was able to pull in the DO State but the Coordinator Field is fighting me. any help would be greatly appreciated. Below is screen shots and my current attempt to get the Coordinator Field

&AO.Distribution_Order_API.Get_ DIST_ORDER_COORDINATOR (DIST_ORDER_COORDINATOR)

 

 

Best answer by EntNadeeL

Hi Everyone,

You both are doing the correct thing except I noticed a space between &AO.Distribution_Order_API.Get_ and Dist_Order_Coordinator(ORDER_NO). I got the same error and when I removed it, it worked fine.

After the space it seems like SQL is looking for the FROM key word.

Distribution_Order_API.Get_Dist_Order_Coordinator(ORDER_NO)

These stuff happen :)

Thanks,

Kind Regards,

 

This topic has been closed for replies.

11 replies

william.klotz
Superhero (Customer)
Forum|alt.badge.img+21
  • Superhero (Customer)
  • February 23, 2021

Hi @Rpauley ,

 

Looks like the Get_Dist_Order_Coordinator takes one parameter which is the order number.  Have you tried something like below?

 

&AO.Distribution_Order_API.Get_ Dist_Order_Coordinator(ORDER_NO)

 

Regards,

William Klotz


Forum|alt.badge.img+7
  • Author
  • Sidekick
  • February 23, 2021

When i try it like that i get the below error message

 


william.klotz
Superhero (Customer)
Forum|alt.badge.img+21
  • Superhero (Customer)
  • February 24, 2021

Hi @Rpauley ,

 

Here’s a screenshot from my PL/SQL Developer screen.   Looks like maybe your query has a comma at the end of your select.  What does your query look like?

 

Regards,

William Klotz


Forum|alt.badge.img+7
  • Author
  • Sidekick
  • February 24, 2021

Sir,

 i do not have a Developer screen like yours, i am working strictly out of the Data Source Designer, i am failry new to all of this and have learned alot and received alot of help on this site. i do not see any comma’s 


william.klotz
Superhero (Customer)
Forum|alt.badge.img+21
  • Superhero (Customer)
  • February 24, 2021

Hi @Rpauley ,

 

Can you provide a screenshot of your data source designer screen so I can see all the setup or export it and attach it to a message on the forum?

 

Regards,

William Klotz


Forum|alt.badge.img+7
  • Author
  • Sidekick
  • February 24, 2021

Here is Screen Shot and Attachment

 

 


william.klotz
Superhero (Customer)
Forum|alt.badge.img+21
  • Superhero (Customer)
  • February 24, 2021

Hi @Rpauley ,

 

I’m unable to test because we do not use Distribution Orders but I think it should work.  I’ve also attached the exported lobby datasource and attached it.

 

 

Regards,

William Klotz


Forum|alt.badge.img+7
  • Author
  • Sidekick
  • February 24, 2021

@william.klotz 

Still getting the same error as above, told ya this one was fighting me LOL

 

&AO.Distribution_Order_API.Get_ Dist_Order_Coordinator(ORDER_NO)


william.klotz
Superhero (Customer)
Forum|alt.badge.img+21
  • Superhero (Customer)
  • February 24, 2021

Hi @Rpauley ,

 

Wow,  I’m not sure what’s wrong.  Unfortunately we do not use distribution orders or else I’d test it in my system.  Let’s see if someone who has distribution orders up and running can give it a try.

 

Regards,

William Klotz


EntNadeeL
Hero (Partner)
Forum|alt.badge.img+10
  • Hero (Partner)
  • Answer
  • February 24, 2021

Hi Everyone,

You both are doing the correct thing except I noticed a space between &AO.Distribution_Order_API.Get_ and Dist_Order_Coordinator(ORDER_NO). I got the same error and when I removed it, it worked fine.

After the space it seems like SQL is looking for the FROM key word.

Distribution_Order_API.Get_Dist_Order_Coordinator(ORDER_NO)

These stuff happen :)

Thanks,

Kind Regards,

 


Forum|alt.badge.img+7
  • Author
  • Sidekick
  • February 24, 2021

@EntNadeeL and @william.klotz 

Didnt even notice the space, it works now thank you both for your help