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 > Planning
Reload this Page

Agents-refnumber From Order Release To Shipment


Planning Planning orders in OTM / G-Log - including bulk planning, itineraries, planning parameters, load configuration and optimization.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old January 21st, 2008, 05:10
Member
 
Join Date: May 2007
Posts: 94
Thanks: 21
Thanked 4 Times in 4 Posts
Groans: 2
Groaned at 0 Times in 0 Posts
Rep Power: 2
krishna.kk is on a distinguished road
Agents-refnumber From Order Release To Shipment

Hi,

I have a scenario where the refrence number from the order release need to flow to the shipment that is created .

I have created an Agent as Below .

Agent Type = Order Release

Agernt Event is Build Buy shipment

Action : Copy Refnum from Order release

Associated Object : -Order Release to shipment .

But when i create a shipment the refnumber from order release is not flowing to shipment.

I have created the same refnumber qualifier for both order release and Shipment .

Rgds
Kihsore
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old January 21st, 2008, 13:33
Member
 
Join Date: Sep 2007
Posts: 39
Thanks: 3
Thanked 5 Times in 5 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
cwarner is on a distinguished road
Re: Agents-refnumber From Order Release To Shipment

In our environment, we have a similar action, but we have it setup from the shipment side. The agent is a shipment type, and on the event Shipment - Created by internal or user, we copy refnums to shipment. Our association is Shipment to Order Release, and it works under those conditions for us.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to cwarner For This Useful Post:
krishna.kk (January 22nd, 2008)
  #3 (permalink)  
Old January 21st, 2008, 15:47
Junior Member
 
Join Date: Aug 2007
Posts: 5
Thanks: 3
Thanked 1 Time in 1 Post
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
jlgottlieb is on a distinguished road
Re: Agents-refnumber From Order Release To Shipment

Kihsore,

We also copy refnums from the order release to the shipment, but we do this from a shipment agent, rather than an order release agent.

The agent event is: SHIPMENT - CREATED.

Athe action is: COPY REFNUMS TO SHIPMENT.
The associated object is SHIPMENT TO ORDER RELEASE

So when we copy the BULLETIN_NBR from the order release to the shipment, it looks like this in the agent:

COPY REFNUMS TO SHIPMENT: SHIPMENT TO OREDER RELEASE, BULLETIN_NBR, BULLETIN_NBR.

Note: That if you have more than 1 order release on the shipment it attempts to copy the refnum for each order release. If it is a duplicate, you will see an exception in the log, but it WILL NOT stop the agent from running. Also if you have multiple of the requested refnum, or different values for the refnum from different order releases, you will get mutiple refunums on the shipment.

We now have so many refnums that we copy from location and order release, that I am now working on calling a stored procedure to do the copy rather than using the agent action to do so. I am doing this for 2 reasons: 1) to avoid all the duplicate key exceptions in the logs. 2) we have some refnums where instead of adding multiples of the same refnums, the user wants 1 refnum with the values concatenated and delimeted by commas on the shipment. Also because our agent is quite large and there is a 99 line limit, so by doing all the copies in the stored procedure, I can make the agent smaller and allow for other logic.

I hope this helps.

Janice
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to jlgottlieb For This Useful Post:
krishna.kk (January 22nd, 2008)
  #4 (permalink)  
Old January 21st, 2008, 22:55
Member
 
Join Date: Dec 2007
Posts: 46
Thanks: 3
Thanked 7 Times in 7 Posts
Groans: 1
Groaned at 1 Time in 1 Post
Rep Power: 0
james_foran is on a distinguished road
Re: Agents-refnumber From Order Release To Shipment

Just to give you some backgroud into the cause of the error.

The event is triggered before the Buy Shipment is created completely. You can either create the agent on the buy side (SHIPMENT - CREATED), or you can use try triggering the agent on a status changed event, and use the PLANNING status type.

You may run into issues here if you are using ORDER MOVEMENTS though.

In response to Janice, we also use a lot of agents to copy refnums and the likes. We use Direct SQL updates to do this also, but a simple stored procedure would be even easier.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following User Says Thank You to james_foran For This Useful Post:
krishna.kk (January 22nd, 2008)
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
Order Release and Shipment ID on same Search Resutls page grahampage Branding, Screen Sets, XSL/CSS and Translations 5 February 1st, 2008 13:42
Order Release Statuses rj5316 Order Processing 2 December 11th, 2007 06:34
Order Release - Simple Order rj5316 Order Processing 1 November 29th, 2007 13:27
[SOLVED] Exception during Order Release ianlo Order Processing 5 February 16th, 2007 00:49
Updating Order Release events when Shipment events are entered vn_karthik Execution 4 January 17th, 2007 20:49



All times are GMT. The time now is 01:14.
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