Hello all
I’m unsuccessfully attempting to grab a few UD fields from the Part table and put them onto the Sales Order kinetic screen under Line Details.
I believe the problem lies within my trigger.
My current set up is an Event After Update_KeyFields_ViewName (I’ve tried several different ones) that triggers an event-next of BO_Part_GetByID
This event is just the rest call on the part table, and uses OrderDtl.PartNum as the method parameter.
This works with an existing sales order, but any time I click the plus button to create a new order, I receive an error becacuse the partNum parameter doesn’t exist.
What is the correct way to go about this so I have data for existing sales order, and it updates when a new one is created?
I changed my trigger to what you suggested, it worked when I created a new sales order line but did not run when I opened a sales order with an existing line.
That worked! I tried that before but must’ve had a syntax issue.
Now I should be able to set up an event on the data table, and another on my previous trigger so it covers new and existing sales order lines.