Conditional formatting a UDF in Sales Oder

We are having some of our vendors put stipulation on our sales saying certain customers can't purchase brands products. We have put memos in customer accounts so when someone takes an order the memo pops up first saying what they can't or can purchase from us. This is a crazy question but is there a way to do  a conditional formatting on a UDF in Sales Order that pops up saying that they can't purchase that item when they type into a sales order? If customer memo doesn't say approved for a Brand and that UDF Brand is on a sales order. Or do you know of a better way to tackle it? I know MAS has a way to do this but it doesn't work for our web orders.

Parents Reply Children
  • 0 in reply to Darkjedi

    This would be a reasonably complex script, to do the lookup.  UDS is a powerful tool, when you know how to write scripts.

    When the item code is being set on a new line (SO / invoice detail, column pre-validate), the script could check if the item is allowed for the customer, and block it if not permitted.  From experience, SetError does block effectively in imports.