The Sales Order Purchase Control tables by item and product line. The customer has strict purchase controls in place by customer. So, based on entries to various UDF's in the customer masterfile, a temp table of allowed items is created and then written directly back to the tables in SQL and bypasses VI. It's a really simple table that is a ""go/no go"" type scenario. If the customer number and item are in the table, they can purchase that item. If not, the purchase control popup during sales order entry stops the order on that item.