otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire

Go Back   Oracle OTM / G-Log GC3 Community Support > OTM / G-Log - Functional Topics > Order Processing
Reload this Page

How Order Release is linked with Buy Shipment and Sell Shipment?


Order Processing Shipment planning and order processing - including data requirements, line items, ship units, order bases and order releases.

Tags:

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old March 27th, 2008, 15:44
Junior Member
 
Join Date: Jun 2007
Posts: 21
Thanks: 0
Thanked 5 Times in 5 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
oliver is on a distinguished road
Re: How Order Release is linked with Buy Shipment and Sell Shipment?

the vsor has both sorts of shipments asfar as i know, so sell and buy. B and S are saved in the same table, differentiated by the field "perspective" in the shipment table
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old April 8th, 2008, 11:46
Junior Member
 
Join Date: Oct 2007
Location: Bracknell,UK
Posts: 8
Thanks: 0
Thanked 2 Times in 2 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
DDhiren is on a distinguished road
Re: How Order Release is linked with Buy Shipment and Sell Shipment?

Here is the query (Replace RELEASE1 in the below query with your Order Release ID).

SELECT S.SHIPMENT_GID FROM SHIPMENT S, SHIPMENT_STOP_D SD, S_SHIP_UNIT_LINE SL WHERE S.SHIPMENT_GID = SD.SHIPMENT_GID AND SD.S_SHIP_UNIT_GID = SL.S_SHIP_UNIT_GID AND SL.ORDER_RELEASE_GID ='RELEASE1' AND SD.STOP_NUM = 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old April 8th, 2008, 20:25
Junior Member
 
Join Date: Feb 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
gashoks is on a distinguished road
Re: How Order Release is linked with Buy Shipment and Sell Shipment?

Hi Friends,

I have done it today. I have come up with query to link the buy and sell side shipment.

Thanks to Hrishikesh and Oliver.

With the solution, my requirement was also includeing the audit data has to be included like Order Creation Date and Shipment Creation Date. Have anybody have idea on the same.

I am able to see the Estimated Delivery Date and Pick up date.

Regards

Ashok G
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old April 10th, 2008, 02:27
Junior Member
 
Join Date: Jul 2006
Posts: 19
Thanks: 7
Thanked 0 Times in 0 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
acuartero is on a distinguished road
Lightbulb Re: How Order Release is linked with Buy Shipment and Sell Shipment?

View_Shipment_order release is somewhat broken (at least in 5.0) in that it does not determine which orders are on which stops (at the ship unit level). Because of this you will have problems matching buys to their corresponding sells when you have more than a 1:1 relationship between the two. This SQL will join buys with sells correctly by stop (this is for 5.0 but should work in 5.5). I use this as a starting point for many reports. It also includes location info which you can take out if it's not needed. This will only show shipments that have both related buys and sells if one is missing then this query will not display it (I use a different query that shows buys missing sells).

-AC

select distinct ore.ORDER_RELEASE_GID order_release,
shbuy.SHIPMENT_GID Buy_Shipment,
shsel.SHIPMENT_GID Sell_Shipment,
shbuy.TRANSPORT_MODE_GID Buy_T_Mode,
shsel.TRANSPORT_MODE_GID Sell_T_Mode,
shbuy.SERVPROV_GID Buy__Carrier,
shsel.SERVPROV_GID Sell__Carrier,
sst1.STOP_NUM Buy_stop_num,
sst2.STOP_NUM Sell_stop_num,
orig.LOCATION_NAME Origin,
orig.CITY Orig_City,
orig.PROVINCE_CODE Orig_State,
orig.POSTAL_CODE Orig_Zip,
dest.LOCATION_NAME Consignee,
dest.CITY Dest_City,
dest.PROVINCE_CODE Dest_State,
dest.POSTAL_CODE Dest_Zip
from ship_unit su, s_ship_unit ssu1, s_ship_unit ssu2, shipment_stop_d ssd1,
shipment_stop ss1, shipment_stop_d ssd2, shipment_stop sst1,
shipment_stop sst2, shipment shbuy, shipment shsel,
order_release ore, location orig, location dest
where su.SHIP_UNIT_GID = ssu1.SHIP_UNIT_GID
and su.SHIP_UNIT_GID = ssu2.SHIP_UNIT_GID
and ssu1.S_SHIP_UNIT_GID = ssd1.S_SHIP_UNIT_GID
and ssu2.S_SHIP_UNIT_GID = ssd2.S_SHIP_UNIT_GID
and ssd1.SHIPMENT_GID = shbuy.SHIPMENT_GID
and ssd2.SHIPMENT_GID = shsel.SHIPMENT_GID
and su.ORDER_RELEASE_GID = ore.ORDER_RELEASE_GID
and shbuy.SHIPMENT_GID = sst1.SHIPMENT_GID
and shsel.SHIPMENT_GID = sst2.SHIPMENT_GID
and ssd1.STOP_NUM = sst1.STOP_NUM
and ssd2.STOP_NUM = sst2.STOP_NUM
and ssd1.STOP_NUM > 1
and ssd2.STOP_NUM > 1
and shbuy.PERSPECTIVE = 'B'
and shsel.PERSPECTIVE = 'S'
-- Common Area
and ss1.LOCATION_GID = orig.LOCATION_GID
and sst1.LOCATION_GID = dest.LOCATION_GID
and shbuy.SHIPMENT_GID = ss1.SHIPMENT_GID
and ss1.STOP_NUM = 1
order by buy_shipment, order_release;
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old June 20th, 2008, 03:36
Member
 
Join Date: Mar 2007
Posts: 46
Thanks: 0
Thanked 14 Times in 12 Posts
Groans: 0
Groaned at 1 Time in 1 Post
Rep Power: 0
ravintag is on a distinguished road
Send a message via MSN to ravintag Send a message via Yahoo to ravintag Send a message via Skype™ to ravintag
Re: How Order Release is linked with Buy Shipment and Sell Shipment?

You may use this query to find the same:
SELECT SHIPMENT_GID, PERSPECTIVE FROM SHIPMENT WHERE SHIPMENT_GID IN (SELECT SHIPMENT_GID FROM SHIPMENT_STOP_D WHERE S_SHIP_UNIT_GID IN(SELECT S_SHIP_UNIT_GID FROM S_SHIP_UNIT_LINE WHERE ORDER_RELEASE_GID LIKE 'XYZ.ABCD'))

I hope this query had been of help to you.
__________________
Regards,


Raveendranath Thalapalli
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #16 (permalink)  
Old June 20th, 2008, 11:44
Member
 
Join Date: May 2007
Posts: 37
Thanks: 3
Thanked 3 Times in 3 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
Srivathsana is on a distinguished road
Re: How Order Release is linked with Buy Shipment and Sell Shipment?

Hi,

Assuming you are talking about external statuses,You can get this done by joining the below tables :

SHIPMENT_STATUS - CONTAINS THE SHIPMENT STATUS (SELL AND BUY)
VIEW_SHIPMENT_ORDER_RELEASE - CONTAINS BUY AND SELL SHIPMENT ID'S
ORDER RELEASE - CONTAINS THE ORDER RELEASE DETAILS AND ORDER BASE ID'S
OB_ORDER_BASE - CONTAINS OB INSERT DATE
SHIPMENT - CONTAINS SHIPMENT INSERT DATE

Please repost should you require more help on this
__________________
Warm Regards,
Srivathsana

Last edited by Srivathsana : June 20th, 2008 at 12:08.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Managing more than one sell side shipment per order release garofalof Settlement 2 March 13th, 2008 21:41
Order Release and Shipment ID on same Search Resutls page grahampage Branding, Screen Sets, XSL/CSS and Translations 5 February 1st, 2008 14:42
Agents-refnumber From Order Release To Shipment krishna.kk Planning 3 January 21st, 2008 23:55
AUTOMATCH with SELL SHIPMENT Stefano Settlement 5 July 24th, 2007 21:21
Updating Order Release events when Shipment events are entered vn_karthik Execution 4 January 17th, 2007 21:49



All times are GMT. The time now is 04:57.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37