PO receipt header script triggers when it shouldn't.

v2022.2 Standard, Column pre-validate on InvoiceNo, as the only script active on the table.

Basically the script checks if the user is allowed to enter an InvoiceNo, and does a SetError (when a specific Role permission is active).

The column pre-validate part works just fine... but the same script is also running during table Pre-Write, blocking the invoice save.

I added the following filter, which is a quick fix, but I thought to report it here in case there is something else going on...

sInvoiceNo = ""
retVal = oBusObj.GetValue("InvoiceNo$", sInvoiceNo)
if sInvoiceNo = "" then
	exit sub
end if