otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire

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

Copying Refnums from Order Release to Order Movements


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

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old May 18th, 2009, 06:07
Member
 
Join Date: Mar 2007
Posts: 33
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 0
bluesdude is on a distinguished road
Copying Refnums from Order Release to Order Movements

Hi,

Does anyone has any experience copying refnums from an Order Release to its Order Movements? The OTM version that I'm using currently is 5.5 CU5.

I've tried creating a Data Type Association to associate an order release to an order movement in order to copy refnums via an agent action, but I've not been successful.

I know that it is possible to copy refnums via Direct SQL Updates, but I'm trying to avoid that if possible.

Many thanks,
Simon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old May 18th, 2009, 10:01
Senior Member
 
Join Date: Sep 2007
Location: india
Posts: 182
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 7
Thanked 13 Times in 13 Posts
Rep Power: 3
nipunlakhotia is on a distinguished road
Send a message via Yahoo to nipunlakhotia
Re: Copying Refnums from Order Release to Order Movements

Hi,

It should work.
Can you please share the SQL you used while creating new "Data Type Association"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old May 18th, 2009, 13:34
Member
 
Join Date: Mar 2007
Posts: 33
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 0
bluesdude is on a distinguished road
Re: Copying Refnums from Order Release to Order Movements

Quote:
Originally Posted by nipunlakhotia View Post
Hi,

It should work.
Can you please share the SQL you used while creating new "Data Type Association"
Here's the SQL:

SELECT ORDER_RELEASE_GID FROM ORDER_MOVEMENT WHERE ORDER_MOVEMENT_GID=? ORDER BY ORDER_RELEASE_GID

I am able to use this Data Association to change the Indicator for the related Order Release, therefore I can confirm that the above SQL is correct.

Thanks,
Simon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old May 19th, 2009, 09:30
Senior Member
 
Join Date: Sep 2007
Location: india
Posts: 182
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 7
Thanked 13 Times in 13 Posts
Rep Power: 3
nipunlakhotia is on a distinguished road
Send a message via Yahoo to nipunlakhotia
Re: Copying Refnums from Order Release to Order Movements

Hi Simon,
I have also tested the same in my instance and facing the similar issue. Indicator is changing but refnums are not getting copied.

Please check with oracle support regarding custom data type associations definition validations.
Please update the forum accordingly.

Regards,
Nipun
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old May 19th, 2009, 13:56
Member
 
Join Date: Mar 2007
Posts: 33
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 0
bluesdude is on a distinguished road
Re: Copying Refnums from Order Release to Order Movements

Quote:
Originally Posted by nipunlakhotia View Post
Hi Simon,
I have also tested the same in my instance and facing the similar issue. Indicator is changing but refnums are not getting copied.

Please check with oracle support regarding custom data type associations definition validations.
Please update the forum accordingly.

Regards,
Nipun
Thanks Nipun.
Will log this issue in Metalink.

Cheers,
Simon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old June 1st, 2009, 12:56
Junior Member
 
Join Date: Jul 2007
Posts: 1
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
shereen is on a distinguished road
Re: Copying Refnums from Order Release to Order Movements

HI ,

Could you pass in some Order movement Id and see if it returns more than 1 occurance of the same Order release gid?
SELECT ORDER_RELEASE_GID FROM ORDER_MOVEMENT WHERE ORDER_MOVEMENT_GID='XXX.00211' ORDER BY ORDER_RELEASE_GID

If it does return the same OR GID more than once, could you try to add in DISTINCT in the select clause:
i.e.
SELECT DISTINCT ORDER_RELEASE_GID FROM ORDER_MOVEMENT WHERE ORDER_MOVEMENT_GID=? ORDER BY ORDER_RELEASE_GID

I reckon if there is more than 1 result of the same order release id, OTM would have problem assigning or knowing which OR GID to use.
worth to give a try.


Cheers,
Shereen
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old June 1st, 2009, 14:36
Member
 
Join Date: Jun 2007
Posts: 32
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 0
Thanked 7 Times in 7 Posts
Rep Power: 0
oliver is on a distinguished road
Send a message via AIM to oliver Send a message via Skype™ to oliver
Re: Copying Refnums from Order Release to Order Movements

Hi,

you might try to replace the "?" in your query by "$GID"; sometimes it helps (i am still not sure what the real difference is)

Rgds
Oliver
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old June 2nd, 2009, 00:00
Member
 
Join Date: Mar 2007
Posts: 33
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 0
bluesdude is on a distinguished road
Re: Copying Refnums from Order Release to Order Movements

Hi Shereen and Oliver,
Many thanks for your inputs. I will try as per your suggestions and let you know. At the moment, my hands are full on other stuff.

Thanks again,
Simon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old June 4th, 2009, 01:26
Member
 
Join Date: Mar 2007
Posts: 33
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 5
Thanked 1 Time in 1 Post
Rep Power: 0
bluesdude is on a distinguished road
Re: Copying Refnums from Order Release to Order Movements

Hi Shereen / Oliver,

Thanks for your posts. I've tried using both your data type association queries, but no joy. Both queries are able to link back to the Order Release (because the indicator on the OR changed from the Order Movement agent), but the refnum copying action is not working.

I will raise this issue in Metalink.

Cheers,
Simon.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old September 30th, 2009, 03:07
Junior Member
 
Join Date: Dec 2007
Location: SG
Posts: 14
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 0
Siewlng is on a distinguished road
Re: Copying Refnums from Order Release to Order Movements

i have read through Metalink, this is a bug raised...
https://metalink.oracle.com/metalink/plsql/showdoc?db=Bug&id=6083947

I have identified another bug in OTM that is similar
i.e. copy OB SU refnum to OR refnum Bug 8967514

As a workaround, Oracle Support suggested this:
This is due to a bug causing only the xid of custom data query type association to save instead of the gid when the agent is created. Hence on execution, the agent does not proceed.
As a workaround, you can create your custom data type association in the public domain – I have tested and it works!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to Siewlng For This Useful Post:
josephliang (September 30th, 2009)
Reply


Thread Tools
Display Modes

Posting Rules

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
Archiving Of Data Other Than Shipment / Order Release / Order Base / Items ianlo Database Administration 10 March 4th, 2010 08:36
How to View allocated costs on Order Base or Order Release Lines? vsevs Settlement 1 June 8th, 2009 08:36
Order Movements merge on to shipments with different leg ids DarkCloud67 Planning 0 April 22nd, 2009 22:08
Order Movements & Console Into One Equipment ianlo Planning 0 May 14th, 2008 08:38
How to Create Order Movements? cool_brat Order Processing 3 May 4th, 2008 11:05



All times are GMT. The time now is 08:21.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

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 38 39 40