--ABS-113710 /ABS-131897
ALTER TABLE INVOICEHEADEREXTRAINFO ADD (LOCKANDAUTOSETTLEONRA VARCHAR2(1) DEFAULT 'N' NOT NULL);

COMMENT ON COLUMN INVOICEHEADEREXTRAINFO.LOCKANDAUTOSETTLEONRA
  IS 'Only used for module AUSCUSTOM';

ALTER TABLE INVOICEHEADEREXTRAINFO
  ADD CONSTRAINT CHK_INVHEI_LOCKANDAUTOSETTLERA
  CHECK (LOCKANDAUTOSETTLEONRA IN ('Y', 'N'));
