Solved

Distribution Order Coordinator Field In Shipment Data

  • 24 February 2021
  • 11 replies
  • 100 views

Userlevel 3
Badge +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)

 

 

icon

Best answer by EntNadeeL 24 February 2021, 04:39

View original

This topic has been closed for comments

11 replies

Userlevel 7
Badge +21

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

Userlevel 3
Badge +7

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

 

Userlevel 7
Badge +21

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

Userlevel 3
Badge +7

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 

Userlevel 7
Badge +21

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

Userlevel 3
Badge +7

Here is Screen Shot and Attachment

 

 

Userlevel 7
Badge +21

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

Userlevel 3
Badge +7

@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)

Userlevel 7
Badge +21

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

Userlevel 5
Badge +9

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,

 

Userlevel 3
Badge +7

@EntNadeeL and @william.klotz 

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