--  ABS-5792
------------------------- CUSTOMER --------------------------
 
ALTER TABLE CUSTOMER ADD (CHARGEAMORTIZEDUNIQUEITEMS NUMBER DEFAULT 1 NOT NULL CONSTRAINT CHARGEAMOUNIQUEITEMS_VALID1_1  CHECK (CHARGEAMORTIZEDUNIQUEITEMS IN (0,1)));

COMMENT ON COLUMN CUSTOMER.CHARGEAMORTIZEDUNIQUEITEMS
  IS 'This field will in fact only be filled when module RESIDUALVALUEHISTORY is active.
Possible values:
0 = Not allowed / Not applicable
1 = Allowed';

----------------SQITEMINCIRCULATION -----------------------
ALTER TABLE SQITEMINCIRCULATION ADD (QTYFULLYAMORTIZED NUMBER NULL,
									 VARIATIONQTYFULLYAMORTIZED NUMBER NULL);