--ABS-99546
COMMENT ON COLUMN ERP_I_DIALOGFLEXFIELDS.DIALOGCODE
  IS 'Possible values: Customer, Product, ProductListPerCustomer';
ALTER TABLE ERP_I_DIALOGFLEXFIELDS
  DROP CONSTRAINT ERP_I_DLGFLEXF_DIALOG_VALID;
ALTER TABLE ERP_I_DIALOGFLEXFIELDS
  ADD CONSTRAINT ERP_I_DLGFLEXF_DIALOG_VALID
  CHECK (DIALOGCODE IN ('Customer','Product','ProductListPerCustomer'));