I am getting “Cannot delete referenced by at least one Material Transaction” msg when trying to delete a job

Sometimes we will have sample jobs and we will issue material to the job but then the samples on the job (make to stock) I know we can’t delete it once there is material issued to it but how do i close it without giving us a WIP to variance cost? I was changing the make to stock to zero then closing it. but now we have transactions on our INV WIP reconcilation that say Phantom Purge WIP to Vaiance.

The costs HAVE to go somewhere. Where do you want them to go?

Did you return materials to inventory first?

i will look into this more. I might have figured out why this is happening. Thank you both