Skip to main content
Solved

Capture when SOOrder Status is changed to shipping

  • November 8, 2024
  • 4 replies
  • 78 views

Forum|alt.badge.img
  • Jr Varsity III
  • 10 replies

Hi,

I’m trying to capture whenever SOOrder status is changed to shipping so that I can do some of my own customization code when this event happens. Originally I had it when createshipment action was triggered. However, I realized it would send even if there was missing items in inventory and it would send even if the shipment wasn’t created. What graph would I look for capturing this event happening. My current code in SOOrderEntry isn’t capturing this change.
 

 

Best answer by aiwan

Sorry @jmc37, I didnt read your question properly!

 

You could do this each time a shipment is created, so you dont have to worry about the value being wrong if the shipment created was wrong, if a new shipment is created, this would then overwrite the value.

 

You could use a RowUpdated handler which would capture every change to the record if the FieldUpdated handler isn’t working out.

 

Also, you shouldnt need to get the value, sOOrder.Status == SOOrderStatus.Shipping should be enough

View original
Did this topic help you find an answer to your question?

4 replies

Laura02
Captain II
Forum|alt.badge.img+19
  • Captain II
  • 3132 replies
  • November 8, 2024

Hello,

I think the same question was recently asked, though you are asking to “capture” the date changed and the prior posts ask to have the date included in a report, and “retrieved”.

 

Please let us know whether these posts help to answer your question.

Laura


Forum|alt.badge.img
  • Author
  • Jr Varsity III
  • 10 replies
  • November 9, 2024

Hi Laura02,

That event handler doesn’t trigger when the status changes to “shipping” after “create shipment” process completes.


Forum|alt.badge.img+8
  • Captain II
  • 366 replies
  • November 12, 2024

Hi @jmc37 

 

You could override the ‘Create Shipment’ action and create a custom field ‘Shipment Created’, you would then set the value of the field to equal the date/time of when it was created.

 

Aleks


Forum|alt.badge.img+8
  • Captain II
  • 366 replies
  • Answer
  • November 12, 2024

Sorry @jmc37, I didnt read your question properly!

 

You could do this each time a shipment is created, so you dont have to worry about the value being wrong if the shipment created was wrong, if a new shipment is created, this would then overwrite the value.

 

You could use a RowUpdated handler which would capture every change to the record if the FieldUpdated handler isn’t working out.

 

Also, you shouldnt need to get the value, sOOrder.Status == SOOrderStatus.Shipping should be enough


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings