Change Field value when checkbox is checked

I have 2 actions I am trying to accomplish and not sure how to do it.

First is with Customer Shipment Entry.

  • When the pack is started the Date/Time field PackStarted_c is populated with the current Date and Time.
  • When the pack is closed the Date/Time field PackCompleted_c is populated with the current Date and Time. If the pack is reopened and closed, then the field is updated.
  • When the Shipped box is checked that the value in ShipHead.ShipPerson is set to the current user and if unchecked than null. The person packing the order may not be the person shipping and thus not the default value.
    Second is with Ship Stage Confirm.
  • When action Ship confirm is completed that all packs on the master pack has this field in ShipHead.ShipPerson updated to the current user.
  • This would be reversed unship confirm is done.

It looks like this would have to be custom code in the BPM and if so I just need to know that. I have been reviewing the BPM objects and not sure I can do it from there.

This is new for me.

@GTI07094 This is doable in code or widgets. You want to check for a change in ShipStatus. If you start with a condition of ShipStatus has changed from any to another then put an info message to show the ShipStatus value and process a shipment you will find the status values you need.

I make a log of all of the status changes and have some in ShipHead Intrans DD and some in CustShip.UpdateMaster. It was a decade ago when I set them up in E9, so I am not sure if all of it could not be done in a few DDs now.

I use freighted and unfreighted from Freighted to Closed rather than the shipped checkbox as Epicor does a bunch of stuff when that is checked.

My log looks like this.
image

1 Like

That I think is a better way to look at it. Let me try that and I will let you know how it goes over the weekend.