-- ABS-85346 / ABS-100661
alter table ERP_I_INVOICEPAYMENTS
  drop constraint PAYMENTTYPE_VALID2;
alter table ERP_I_INVOICEPAYMENTS
  add constraint PAYMENTTYPE_VALID2
  check (PAYMENTTYPE IN (0,1,2,3,4,5,6,7,9,11,12,13));