/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\FMM_table.sql **/

IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_FMM_BOMWORKSTATION') 
 CREATE TABLE T_FMM_BOMWORKSTATION (
	FENTRYID BIGINT DEFAULT 0 NOT NULL,
	FDETAILID BIGINT DEFAULT 0 NOT NULL,
	FSEQ INT DEFAULT 0 NOT NULL,
	FWORKCENTER BIGINT DEFAULT 0 NOT NULL,
	FWORKSTATION BIGINT DEFAULT 0 NOT NULL,
	FWORKENTRYQTY DECIMAL(23,10) DEFAULT 0 NOT NULL
);

/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\FMM_table.sql **/