Transfer order receive codeunit

I want to run a function when transfer order receive Boolean OK is clicked.
whenever the user click ok of receive Boolean ,then the function will check the condition if the condition it meets for that user by running the function defined,if is ok then receive will work else it will show an error message.

Please help me where i have to write and call the function on transfer order codeunit

b42qwbkxbzxt.jpg
here is my function calling


IF NOT CheckLocationUser(user,"Transfer-to Code") THEN
ERROR('You are not allowed to Recieve beyond Your Location');

Comments

  • da_nealda_neal Posts: 55Member
    edited 2019-09-12
    5705 TransferOrder-Post Receipt (OnRun)
Sign In or Register to comment.