Update of SelectedByEmpID in Material Queue

Hi,

I am trying to write a funtion that recreates the functionality of a user selecting a material queue entry.

I thought it would straightforward, either MaterialQueue.GetByID or GetRows, and then update the field, set RowMod to ‘U’ and then called MaterialQueue.Update.

When I did this, the function fails due to a number of fields being empty (e.g. RequestedByEmpId’).

I looked at the trace file and also the network call of the Rest call from the browser and in each case the field is updated, however, the RowMod is not set to ‘U’. Miraculously the field is updated.

This is also the same on the Classic screens.

Has anyone got a workaround for this?

Thanks,

Andrew.

Just in case anyone else hit the same issue. I used UpdateExt and it worked OK