/**Begin D:\PDM_UPGRADE\PDM1\FA_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_FA_LEASE_TERM_RECORDS')
CREATE TABLE T_FA_LEASE_TERM_RECORDS (
FID BIGINT DEFAULT 0 NOT NULL,
FLEASECONTRACTID BIGINT DEFAULT 0 NOT NULL,
FLEASETERMINATIONDATE DATETIME,
FCHANGEMODEID BIGINT DEFAULT 0 NOT NULL,
FRENEWALENDDATE DATETIME,
FAMORTIZATIONDATE DATETIME,
FAMORTIZATIONPERIODID BIGINT DEFAULT 0 NOT NULL,
FTERMOPERUSERID BIGINT DEFAULT 0 NOT NULL,
FTERMOPERDATE DATETIME,
FUNDOTERMINATION CHAR(1) DEFAULT '0' NOT NULL,
FUNDOTERMOPERUSERID BIGINT DEFAULT 0 NOT NULL,
FUNDOTERMOPERDATE DATETIME
);

/**End D:\PDM_UPGRADE\PDM1\FA_table.sql **/
