Re Route a Shipment

johndanter

johndanter

Legendary Poster
Hi folks,

I've been asked to design a screen over F4211 that allows the user to mass update CARS MOT and FRTH.

When they change any one of those fields I have to 'reroute the shipment' High level request, a bit too high as I'm trying now to figure out, ok what does that mean?

I know there is a BSFN N4900080 Route Shipment that seems to do most of what I want (when called via R47011) but is that it? I just call N4900080?

Someone has mentioned the SO will get a new SHPN when you reroute....?
So calling N4900080 may not be enough?

I modified F4211.SDCARS using SQL and then called this BSFN N4900080. It's reverted back to the original CARS. So updating F4211 is not enough

Has anyone done this before or does anyone know the BSFN steps involved?
My R47011 log is actually rather nested and complicated as it all seems to be inside F4211EndDoc

Thanks

John
 
Last edited:
Unless you find a shipped BSFN that does the exact order edit and shipping process you are looking for, my initial reaction is to use the SOE MBFs to edit the sales order line, and then, assuming you are using the transportation module, call the appropriate BSFNs for the transportation module. I don't believe I have done exactly what you are talking about but I have done quite a bit of order edits for all sorts of custom processes/apps using the SOE MBFs and we use the transportation module - working with the shipped transportation functions will be much more challenging than editing the sales order.
 
Thanks

You maybe onto something as it all happens in here F4211FSEndDoc
So if I call F4211FSBeginDoc and F4211FSEditLine first I may invoke this stuff
 
Thanks

You maybe onto something as it all happens in here F4211FSEndDoc
So if I call F4211FSBeginDoc and F4211FSEditLine first I may invoke this stuff

worth a shot.

If you have per order consolidation on, you can probly edit the shiptment via the P4915, log the bsfns, and duplicate (this will update f4211)
 
Wow, after 2 days debugging and testing various BSFNs I've nailed it.

You can just call N4900390 Update Shipment Routing. Updates F4215 F4941 and then F4211. (as per P4915 > P4980)
So it works backwards to F4211 rather than coming from F4211 out :)

Thanks for your help guys. SOE MSTR BSFNS do go on to call this too yes but the SHPN needs to be at a certain status and also it can wipe the SHPN and create a new one. Based on rules in F49002 or P4915 protected SSTS
 
Last edited:
Back
Top