Im trying to add a field in the OrderHed dataview to the Header panel in Customer Shipment entry. This field is supposed to pull in when the ShipHead.OrderHed has been entered. Im having trouble finding the right event to link a custom event too.
My two thoughts were to link after the already existing ShipHead.OrderNum event or the AfterGetByID event, but havent had any luck pulling in the field when using a Rest-Erp widget.
Any advice is appreciated.
Alright, I grew a brain and I think I figured it out.
I used a rest-erp component that fires after the “CallGetHeadOrderInfo” event.
The “CallGetHeadOrderInfo” event occurs after you enter in a valid Order in the ShipHead.OrderNum field.
I setup the rest-erp component as follows
Under Rest Services
Service Name: Erp.BO.SalesOrderSvc
Service Operation: GetByID